HomeFreeBSD

Do not go one layer down to check ifqueue length. First, not all drivers

Description

Do not go one layer down to check ifqueue length. First, not all drivers
use ifqueue at all. Second, there is no point in this lockless check.
Either positive or negative result of the check could be incorrect after
a tick.

Sponsored by: Nginx, Inc.

Details

Provenance
glebiusAuthored on
Parents
rS277071: Provide struct mbufq, a STAILQ of mbufs, with counter for packets
Branches
Unknown
Tags
Unknown

Event Timeline