DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 535] mlx5: vlan/qinq packets are not matched by eth/ipv4 RTE_FLOW
@ 2020-09-09  8:46 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-09-09  8:46 UTC (permalink / raw)
  To: dev


            Bug ID: 535
           Summary: mlx5: vlan/qinq packets are not matched by eth/ipv4
           Product: DPDK
           Version: 19.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: maxime.leroy@6wind.com
  Target Milestone: ---

With dpdk 19.11.0, the following rte_flow created in test pmd:
 > 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.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-09  8:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09  8:46 [dpdk-dev] [Bug 535] mlx5: vlan/qinq packets are not matched by eth/ipv4 RTE_FLOW bugzilla

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git