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 26 2021, 12:01 AM
Reviewer
vmaffione
Differential Revision
D31550: iflib: emulate counters in netmap mode
Parents
rG26a28a789aa7: Allow the pseudo-errnos to be returned as well in boot loader
Branches
Unknown
Tags
Unknown