svn commit: r362938 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Sun Jul 5 05:14:34 UTC 2020
Author: np
Date: Sun Jul 5 05:14:33 2020
New Revision: 362938
URL: https://svnweb.freebsd.org/changeset/base/362938
Log:
cxgbe(4): Fix a bug (introduced in r362905) where some tx traffic wasn't
being reported to BPF.
Modified:
head/sys/dev/cxgbe/t4_sge.c
Modified: head/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- head/sys/dev/cxgbe/t4_sge.c Sun Jul 5 00:19:08 2020 (r362937)
+++ head/sys/dev/cxgbe/t4_sge.c Sun Jul 5 05:14:33 2020 (r362938)
@@ -3013,6 +3013,7 @@ eth_tx(struct mp_ring *r, u_int cidx, u_int pidx, bool
if (avail < n)
break; /* out of descriptors */
}
+ ETHER_BPF_MTAP(ifp, m0);
if (sc->flags & IS_VF)
n = write_txpkt_vm_wr(sc, txq, m0);
else
More information about the svn-src-head
mailing list