[dpdk-dev] [PATCH] test/bonding: fix failures after hiding ethdev internal structures
Ferruh Yigit
ferruh.yigit at intel.com
Fri Oct 22 18:04:23 CEST 2021
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.yang at intel.com>
>> Signed-off-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
>
> Tested 'link_bonding_autotest', it succeed after this patch (failing before)
>
> Tested-by: Ferruh Yigit <ferruh.yigit at intel.com>
>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list