HomeFreeBSD

cxgbe(4): Avoid ext_arg2 in rxb_free.

Description

cxgbe(4): Avoid ext_arg2 in rxb_free.

ext_arg2 is the only item in the third cacheline in an mbuf and could be
cold by the time rxb_free runs. Put the information needed by rxb_free
in the same line as the refcount, which is very likely to be hot given
that rxb_free runs when the refcount is decremented and reaches 0.

MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on
Parents
rS357478: ports.7: Update examples with install-missing-packages
Branches
Unknown
Tags
Unknown