]> git.droids-corp.org - dpdk.git/commit
net/bonding: fix RSS inconsistency between ports
authorHuisong Li <lihuisong@huawei.com>
Wed, 8 Jun 2022 11:45:47 +0000 (19:45 +0800)
committerAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Thu, 9 Jun 2022 08:47:03 +0000 (10:47 +0200)
commit9e0fb72c75cd03c40fc7cedc39d3a342f447b6ee
tree815f7e958a570c0b18c765180ecc0926865e0d8b
parentf3a670783f23a61b4cfea1df17d1ba58b86bb76c
net/bonding: fix RSS inconsistency between ports

Currently, RSS configuration of slave is set only when RSS is enabled for
bonded port. If RSS is enabled for the slaves port before adding to the
bonded port with disabling RSS, it will run into that the RSS enabled state
of bonded and slaves port is inconsistent after starting bonded port.
So the RSS configuration of slave should also be set when RSS is disabled
for bonded port.

Fixes: 734ce47f71e0 ("bonding: support RSS dynamic configuration")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
drivers/net/bonding/rte_eth_bond_pmd.c