diff options
Diffstat (limited to 'sys/mips/cavium/octe/ethernet-tx.c')
-rw-r--r-- | sys/mips/cavium/octe/ethernet-tx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/cavium/octe/ethernet-tx.c b/sys/mips/cavium/octe/ethernet-tx.c index 887d771..7ef77b5 100644 --- a/sys/mips/cavium/octe/ethernet-tx.c +++ b/sys/mips/cavium/octe/ethernet-tx.c @@ -247,6 +247,9 @@ int cvm_oct_xmit(struct mbuf *m, struct ifnet *ifp) /* Pass it to any BPF listeners. */ ETHER_BPF_MTAP(ifp, m); + + ifp->if_opackets++; + ifp->if_obytes += m->m_pkthdr.len; } /* Free mbufs not in use by the hardware */ |