HomeFreeBSD

netmap: bridge: fix transmission in busy-wait mode

Description

netmap: bridge: fix transmission in busy-wait mode

In busy-wait mode (BUSYWAIT defined), NIOCTXSYNC should be
performed after packets have been moved to the TX ring
(rather than before).
Before the change, moved packets may stall for an indefinite
time in the TX ring.

MFC after: 1 week

Details

Provenance
vmaffioneAuthored on Mar 30 2021, 6:24 AM
Parents
rG27bf5dd3d403: netmap: pkt-gen: allow -Z and -z to be used together
Branches
Unknown
Tags
Unknown