numam-dpdk/drivers/net/bonding
Jerry Lilijun 7a25826fc1 net/bonding: fix activated slave in 8023ad mode
In the function bond_mode_8023ad_enable(), the var i is used as slave
port id to the function bond_mode_8023ad_activate_slave().

This variable is only a index for array internals->active_slaves.
So its need to be fixed and change i to internals->active_slaves[i].

Fixes: 46fb436836 ("bond: add mode 4")
Cc: stable@dpdk.org

Signed-off-by: Jerry Lilijun <jerry.lilijun@huawei.com>
Tested-by: Kyle Larose <klarose@sandvine.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
2018-01-16 18:47:49 +01:00
..
Makefile drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_eth_bond_8023ad_private.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_eth_bond_8023ad.c net/bonding: fix activated slave in 8023ad mode 2018-01-16 18:47:49 +01:00
rte_eth_bond_8023ad.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_eth_bond_alb.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_eth_bond_alb.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_eth_bond_api.c net/bonding: fix bonding in 8023ad mode 2018-01-16 18:47:49 +01:00
rte_eth_bond_args.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_eth_bond_pmd.c net/bonding: do not drop LACPDUs on slaves Tx failure 2018-01-16 18:47:49 +01:00
rte_eth_bond_private.h net/bonding: fix bonding in 8023ad mode 2018-01-16 18:47:49 +01:00
rte_eth_bond.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_pmd_bond_version.map net/bonding: remove old ABI 2017-10-06 18:21:53 +02:00