From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/ethdev Bug 1464] VLAN filtering bug
Date: Tue, 18 Jun 2024 19:56:23 +0000 [thread overview]
Message-ID: <bug-1464-3@http.bugs.dpdk.org/> (raw)
[-- Attachment #1: Type: text/plain, Size: 2041 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1464
Bug ID: 1464
Summary: VLAN filtering bug
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: dmarx@iol.unh.edu
Target Milestone: ---
Hi all,
I've written a test suite for VLAN features on DPDK drivers including
filtering, stripping, and insertion, but I've run into some issues
with Intel and Broadcom NICs. Both are forwarding packets when there are vlan
filter rules in place which should block packet forwarding.
To recreate the environment I'm running the tests on:
drivers: bnxt_en, i40e
Broadcom NIC info:
~$ ethtool -i ens2f0np0
driver: bnxt_en
version: 5.15.0-112-generic
firmware-version: 229.0.141.0/pkg 229.1.123.0
expansion-rom-version:
bus-info: 0000:61:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
./dpdk-testpmd <EAL params> -- -i --portmask=0x3
testpmd> set fwd mac
testpmd> set promisc 0 off
testpmd> vlan set filter on 0
testpmd> rx_vlan add 1 0
testpmd> start
then, I build the following packet and send it to port 0 on testpmd:
packet = Ether()/Dot1Q(vlan=2)/Raw(load='xxxxx')
The Mellanox CX-5s show the expected behavior, where a packet with a VLAN tag
not in the filter list is dropped. However, with the Intel XL710
and Broadcom 57414 NICs, the packet is forwarded regardless of whether its VLAN
tag is in the filter list or not.
Link to the suite:
https://patches.dpdk.org/project/dpdk/patch/20240618162939.23339-2-dmarx@iol.unh.edu/
Series cover letter:
https://patches.dpdk.org/project/dpdk/cover/20240614150238.26374-1-dmarx@iol.unh.edu/
Any insight is appreciated.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 4124 bytes --]
reply other threads:[~2024-06-18 19:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-1464-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).