[dpdk-users] rte_flow error after upgrading

Arvind Narayanan webguru2688 at gmail.com
Tue Oct 2 06:27:53 CEST 2018


It is because of a recent patch http://patchwork.dpdk.org/patch/36068/

If you don't care about VLAN action, just remove that action all together
and check the correctness of your code.
If all of them are going to q0 (and assuming isolation mode is not
enabled), then it is most likely because packets don't match any of the
rte_flow rules you created.

A

On Mon, Oct 1, 2018 at 11:20 PM Cliff Burdick <shaklee3 at gmail.com> wrote:

> Hi, I upgraded to DPDK 18.05 from 17.11 and a previously-working rte_flow
> code now fails. I'm using the mlx5 driver, and when I do something similar
> to the rte_flow example code, the following error shows:
>
> "VLAN cannot be empty"
>
> I looked at the code in .drivers/net/mlx5/mlx5_flow.c, and it looks like it
> now complains when the mask isn't set on a VLAN flow layer. I tried setting
> the mask to 0xffff, and the error no longer shows, but packets are not
> classified properly either, and they all go to queue 0. Has anyone been
> able to get a working rte_flow queue classifier working with 18.05+?
>


More information about the users mailing list