59056833cc
The bonding PMD decides to activate\deactivate its slaves according to the slaves link statuses. Thus, it registers to the LSC events of the slaves ports and activates\deactivates them from its LSC callbacks called asynchronously by the host thread when the slave link status is changed. In addition, the bonding PMD uses the callback for slave activation when it tries to start it, this operation is probably called by the master thread. Consequently, a slave may be activated in the same time by two different threads and may cause a lot of optional errors, for example, slave mempool recreation with the same name causes an error. Synchronize the critical section in the LSC callback using a special new spinlock. Fixes: |
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
rte_eth_bond_8023ad_private.h | ||
rte_eth_bond_8023ad.c | ||
rte_eth_bond_8023ad.h | ||
rte_eth_bond_alb.c | ||
rte_eth_bond_alb.h | ||
rte_eth_bond_api.c | ||
rte_eth_bond_args.c | ||
rte_eth_bond_flow.c | ||
rte_eth_bond_pmd.c | ||
rte_eth_bond_private.h | ||
rte_eth_bond.h | ||
rte_pmd_bond_version.map |