Skip to contentSkip to conversation

packet does not match a corresponding rte_flow rule due to vxlan vni spec validation

dpdk-dev [email protected] 1 participant 2 messages Jan 14, 2021 – Jan 20, 2021

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 617
Summary: [mlx5] packet does not match a corresponding rte_flow
rule due to vxlan vni spec validation
Product: DPDK
Version: 18.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

Testpmd:

"""
testpmd -n 4 -w 0000:00:05.0,l3_vxlan_en=1 -w 0000:00:06.0,l3_vxlan_en=1 -- -i --rxq=5 --txq=5 --flow-isolate-all
"""

Flow rule:

"""
flow create 1 ingress group 0 pattern eth type is 33024 / vlan vid spec 1601 vid prefix 8 / ipv6 src spec ::e2dd src mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 proto spec 17 proto prefix 0 tc spec 0 tc mask 0x0 / udp src is 9942 dst spec 4789 dst mask 0xffff / vxlan vni spec 8914560 vni mask 0x000000 / eth type is 33024 / end actions queue index 4 / flag / count / end
"""

The following scapy packet should match, but it doesn't:

"""
Ether(dst='00:16:3e:64:47:7d', src='00:16:3e:13:98:e7', type=33024)/Dot1Q(prio=0, id=0, vlan=1604, type=34525)/IPv6(version=6, tc=104, fl=0, plen=1279, nh=17, hlim=64, src='::f299', dst='2387:10ed:fa33:89f0:b0ac:7f2c:641d:ed5')/UDP(sport=9942, dport=4789, len=1279, chksum=15512)/VXLAN(flags=8, reserved0=None, NextProtocol=None, reserved1=0, gpflags=None, gpid=None, vni=4335927, reserved2=0)/Ether(dst='00:16:3e:64:47:7d', src='00:16:3e:13:98:e7', type=33024)/Dot1Q(prio=0, id=0, vlan=1601, type=2048)/IP(version=4, ihl=5, tos=0, len=1245, id=1, flags=0, frag=0, ttl=64, proto=0, chksum=30750, src='127.0.0.1', dst='127.0.0.1')/Raw(load=b'F'*1225)
"""

NIC: ConnectX-5
OFED: MLNX_OFED_LINUX-5.2-1.0.4.0
Firmware version: 16.29.1016

OS: RHEL 7.4
Kernel: 3.10.0-693.el7.x86_64
gcc: 4.8.5

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

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

Asaf Penso ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX
             Status|CONFIRMED                   |RESOLVED

--- Comment #2 from Asaf Penso ([email protected]) ---
Appears also in the previous 18.11 LTS versions and there were no issues from users.

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