Bug 1340 - net/i40e do not match packet with non-zero 802.1p priority when flow rule for VLAN ID only is used
Summary: net/i40e do not match packet with non-zero 802.1p priority when flow rule for...
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: ethdev (show other bugs)
Version: 23.11
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2024-01-03 10:06 CET by Andrew Rybchenko
Modified: 2024-01-03 10:06 CET (History)
0 users



Attachments

Description Andrew Rybchenko 2024-01-03 10:06:38 CET
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

Note You need to log in before you can comment on or make changes to this bug.