HomeFreeBSD

iflib: emulate counters in netmap mode

Description

iflib: emulate counters in netmap mode

When iflib devices are in netmap mode the driver
counters are no longer updated making it look from
userspace tools that traffic has stopped.

Reported by: Franco Fichtner <franco@opnsense.org>
Reviewed by: vmaffione, iflib (erj, gallatin)
Obtained from: OPNsense
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D31550

(cherry picked from commit 66fa12d8fb61485780f32f0226e79d3389567496)

Details

Provenance
stephan.dewt_yahoo.co.ukAuthored on Aug 18 2021, 7:17 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Aug 25 2021, 11:51 PM
Reviewer
vmaffione
Differential Revision
D31550: iflib: emulate counters in netmap mode
Parents
rGa2d0f28a8e69: rpc(3): Correct a few common typos in source code comments
Branches
Unknown
Tags
Unknown