]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit - sys/net/if_lagg.c
MFC r260070
authorscottl <scottl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 2 Jan 2014 01:51:54 +0000 (01:51 +0000)
committerscottl <scottl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 2 Jan 2014 01:51:54 +0000 (01:51 +0000)
commitd6a44bee4ed00c52ac897cd29eb007e6156ff2a6
tree6cc4d93696808af4b7417fc9b52f6c6142c9813a
parentb62727f2522e8e7d74b7cf0c4f6a12b7056a57b4
 MFC r260070

 Multi-queue NIC drivers and multi-port lagg tend to use the same lower
 bits of the flowid as each other, resulting in a poor distribution of
 packets among queues in certain cases.  Work around this by adding a
 set of sysctls for controlling a bit-shift on the flowid when doing
 multi-port aggrigation in lagg and lacp.  By default, lagg/lacp will
 now use bits 16 and higher instead of 0 and higher.

Obtained from: Netflix

git-svn-id: svn://svn.freebsd.org/base/stable/10@260179 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net/ieee8023ad_lacp.c
sys/net/if_lagg.c
sys/net/if_lagg.h