[ovs-dev] [PATCH v2] netdev: fix partial offloading test cases failure

Ilya Maximets i.maximets at ovn.org
Fri Feb 28 15:36:12 UTC 2020


On 2/26/20 5:46 AM, Yanqin Wei wrote:
> Some partial offloading test cases are failing inconsistently. The root
> cause is that dummy netdev is assigned with "linux_tc" offloading API.
> dpif-netdev - partial hw offload - dummy
> dpif-netdev - partial hw offload - dummy-pmd
> dpif-netdev - partial hw offload with packet modifications - dummy
> dpif-netdev - partial hw offload with packet modifications - dummy-pmd
> 
> This patch fixes this issue by changing 'options:ifindex=1' to some big
> value. It is a workaround to make "linux_tc" init flow api failure. All
> above cases can pass consistently after applying this patch.
> 
> Suggested-by: Ilya Maximets <i.maximets at ovn.org>
> Reviewed-by: Gavin Hu <Gavin.Hu at arm.com>
> Reviewed-by: Lijian Zhang <Lijian.Zhang at arm.com>
> Signed-off-by: Yanqin Wei <Yanqin.Wei at arm.com>
> ---
>  tests/dpif-netdev.at | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks!  Applied to master and backported.

Best regards, Ilya Maximets.


More information about the dev mailing list