hyperv/hn: Log packet message alignment.

MFC after:	1 week
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D7689
This commit is contained in:
Sepherosa Ziehau 2016-08-30 05:35:19 +00:00
parent ecb735a3ac
commit fa021050df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305053

View File

@ -833,9 +833,10 @@ hv_rf_init_device(struct hn_softc *sc)
goto done;
}
if (bootverbose) {
if_printf(sc->hn_ifp, "RNDIS ver %u.%u, pktsz %u, pktcnt %u\n",
comp->rm_ver_major, comp->rm_ver_minor,
comp->rm_pktmaxsz, comp->rm_pktmaxcnt);
if_printf(sc->hn_ifp, "RNDIS ver %u.%u, pktsz %u, pktcnt %u, "
"align %u\n", comp->rm_ver_major, comp->rm_ver_minor,
comp->rm_pktmaxsz, comp->rm_pktmaxcnt,
1U << comp->rm_align);
}
error = 0;