HomeFreeBSD

Track TCP connection's NUMA domain in the inpcb

Description

Track TCP connection's NUMA domain in the inpcb

Drivers can now pass up numa domain information via the
mbuf numa domain field. This information is then used
by TCP syncache_socket() to associate that information
with the inpcb. The domain information is then fed back
into transmitted mbufs in ip{6}_output(). This mechanism
is nearly identical to what is done to track RSS hash values
in the inp_flowid.

Follow on changes will use this information for lacp egress
port selection, binding TCP pacers to the appropriate NUMA
domain, etc.

Reviewed by: markj, kib, slavash, bz, scottl, jtl, tuexen
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D20028

Details

Committed
gallatinApr 25 2019, 3:37 PM
Reviewer
markj
Differential Revision
D20028: Track TCP connection's NUMA domain in the inpcb
Parents
rS346676: MFC r337594 (by mmacy):
Branches
Unknown
Tags
Unknown