HomeFreeBSD

net: iflib: let the drivers use isc_capenable

Description

net: iflib: let the drivers use isc_capenable

Since isc_capenable (private copy of ifp->if_capenable) is
now synchronized to if_capenable, use it in the drivers
when checking the IFCAP_* bits.
This results in better cache usage and avoids indirection
through the ifp pointer.

PR: 260068
Reviewed by: kbowling, gallatin
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D33156

Details

Provenance
vmaffioneAuthored on Dec 28 2021, 11:00 AM
Reviewer
kbowling
Differential Revision
D33156: iflib: fix vlan offload processing across multiple drivers.
Parents
rG4561c4f0ca59: net: iflib: sync isc_capenable to if_capenable
Branches
Unknown
Tags
Unknown