Skip to contentSkip to conversation

net/i40e do not match packet with non-zero 802.1p priority when flow rule for VLAN ID only is used

Bug 1340 [email protected] 1 participant 1 message Jan 3, 2024

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 1340
Summary: net/i40e do not match packet with non-zero 802.1p
priority when flow rule for VLAN ID only is used
Product: DPDK
Version: 23.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

net/i40e do not match packet with non-zero 802.1p priority when flow rule for VLAN ID only is used

For example, add flow rule to drop packets with VLAN ID 13 and use mask to match VLAN ID only.

If so, packets with any priority and VLAN 13 should be dropped.

However, if I send packet with priority, for example, 6, the packet is successfully delivered.

Should be easy to reproduce with testpmd.

Looking and net/i40e could I've failed to find where VLAN CFI mask is passed to HW. It is just analyzed, but it looks like not really used.

Found using automated test:
https://ts-factory.io/bublik/v2/log/433687?mode=treeAndlog&experimental=true&focusId=440732&lineNumber=1_82

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