Skip to contentSkip to conversation

mlx5: vlan/qinq packets are not matched by eth/ipv4 RTE_FLOW

dpdk-dev [email protected] 1 participant 1 message Sep 9, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=535

            Bug ID: 535
           Summary: mlx5: vlan/qinq packets are not matched by eth/ipv4
                    RTE_FLOW
           Product: DPDK
           Version: 19.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

With dpdk 19.11.0, the following rte_flow created in test pmd:

Quoted 1 line

flow create 0 ingress pattern eth type spec 0 type mask 0 / ipv4 / end

actions mark id 2 / queue index 0 / end

was able to match ipv4 whatever if the packets has 0 or N vlan headers. With dpdk 19.11.4, it's not anymore possible.

Only packets without vlan header are matched. It means that packet having the type field in the ethernet header not equal to 0x800 are not matched. But in the RTE_FLOW, the mask of the type field of the Ethernet item is set to 0.

By the way, I can also reproduce the issue with the master branch.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.