diff options
author | Debabrata Banerjee | 2018-05-14 20:48:09 +0200 |
---|---|---|
committer | David S. Miller | 2018-05-16 18:15:11 +0200 |
commit | e79c1055749e3183a2beee04a24da378623329c5 (patch) | |
tree | ec2dd225e1fac1840d0690beb7382451276be9d9 /drivers/net/bonding/bond_options.c | |
parent | bonding: use common mac addr checks (diff) | |
download | kernel-qcow2-linux-e79c1055749e3183a2beee04a24da378623329c5.tar.gz kernel-qcow2-linux-e79c1055749e3183a2beee04a24da378623329c5.tar.xz kernel-qcow2-linux-e79c1055749e3183a2beee04a24da378623329c5.zip |
bonding: allow use of tx hashing in balance-alb
The rx load balancing provided by balance-alb is not mutually
exclusive with using hashing for tx selection, and should provide a decent
speed increase because this eliminates spinlocks and cache contention.
Signed-off-by: Debabrata Banerjee <dbanerje@akamai.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_options.c')
-rw-r--r-- | drivers/net/bonding/bond_options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_options.c b/drivers/net/bonding/bond_options.c index 58c705f24f96..8a945c9341d6 100644 --- a/drivers/net/bonding/bond_options.c +++ b/drivers/net/bonding/bond_options.c @@ -395,7 +395,7 @@ static const struct bond_option bond_opts[BOND_OPT_LAST] = { .id = BOND_OPT_TLB_DYNAMIC_LB, .name = "tlb_dynamic_lb", .desc = "Enable dynamic flow shuffling", - .unsuppmodes = BOND_MODE_ALL_EX(BIT(BOND_MODE_TLB)), + .unsuppmodes = BOND_MODE_ALL_EX(BIT(BOND_MODE_TLB) | BIT(BOND_MODE_ALB)), .values = bond_tlb_dynamic_lb_tbl, .flags = BOND_OPTFLAG_IFDOWN, .set = bond_option_tlb_dynamic_lb_set, |