On 10/22/2021 2:47 PM, Ferruh Yigit wrote:
On 10/22/2021 2:26 PM, Konstantin Ananyev wrote:
link bounding auto-test internally creates emulated ethdev.
Some tests change Rx/Tx functions of this emulated device on the fly:
by directly modifying rte_eth_dev fields and without doing stop/start
for these devices.
As now ethdev uses rte_eth_fp_ops[] for fast-path functions, these
direct changes doesn't make expected effect.
Fix the problem by guarding fast-path functions changes with
rte_eth_dev_stop()/rte_eth_dev_start().
Fixes: 7a0935239b9e ("ethdev: make fast-path functions to use new flat array")
Reported-by: Lewei Yang <leweix.y...@intel.com>
Signed-off-by: Konstantin Ananyev <konstantin.anan...@intel.com>
Tested 'link_bonding_autotest', it succeed after this patch (failing before)
Tested-by: Ferruh Yigit <ferruh.yi...@intel.com>
Hi Connor, Chas,
Unrelated with this patch, while I am testing bonding unit test, I recognized
that there are other bonding unit tests failing:
link_bonding_rssconf_autotest
link_bonding_mode4_autotest
They are testing with v21.08 too.
I am not sure if I am missing in my environment, but can you please check
them?
Thanks,
ferruh