Bug 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 Reporter: Andrew Rybchenko (andrew.rybchenko)
Component: ethdevAssignee: dev
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: 23.11   
Target Milestone: ---   
Hardware: All   
OS: All   

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