From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
by inbox.dpdk.org (Postfix) with ESMTP id 59CBE45496;
Tue, 18 Jun 2024 21:56:25 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 32799402CB;
Tue, 18 Jun 2024 21:56:25 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 8FD164027C
for ; Tue, 18 Jun 2024 21:56:23 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 7B65745497; Tue, 18 Jun 2024 21:56:23 +0200 (CEST)
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
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: ethdev
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmarx@iol.unh.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=17187405830.58dE.2486990
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--17187405830.58dE.2486990
Date: Tue, 18 Jun 2024 21:56:23 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1464
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,=20
I've written a test suite for VLAN features on DPDK drivers including
filtering, stripping, and insertion, but I've run into some issues=20
with Intel and Broadcom NICs. Both are forwarding packets when there are vl=
an
filter rules in place which should block packet forwarding.=20
To recreate the environment I'm running the tests on:=20
drivers: bnxt_en, i40e=20
Broadcom NIC info:=20
~$ ethtool -i ens2f0np0=20
driver: bnxt_en=20
version: 5.15.0-112-generic=20
firmware-version: 229.0.141.0/pkg 229.1.123.0=20
expansion-rom-version:=20=20
bus-info: 0000:61:00.0=20
supports-statistics: yes=20
supports-test: yes=20
supports-eeprom-access: yes=20
supports-register-dump: yes=20
supports-priv-flags: no=20
./dpdk-testpmd -- -i --portmask=3D0x3=20
testpmd> set fwd mac=20
testpmd> set promisc 0 off=20
testpmd> vlan set filter on 0=20
testpmd> rx_vlan add 1 0=20
testpmd> start=20
then, I build the following packet and send it to port 0 on testpmd:=20
packet =3D Ether()/Dot1Q(vlan=3D2)/Raw(load=3D'xxxxx')=20
The Mellanox CX-5s show the expected behavior, where a packet with a VLAN t=
ag
not in the filter list is dropped. However, with the Intel XL710=20
and Broadcom 57414 NICs, the packet is forwarded regardless of whether its =
VLAN
tag is in the filter list or not.=20
Link to the suite:
https://patches.dpdk.org/project/dpdk/patch/20240618162939.23339-2-dmarx@io=
l.unh.edu/=20
Series cover letter:
https://patches.dpdk.org/project/dpdk/cover/20240614150238.26374-1-dmarx@io=
l.unh.edu/=20
Any insight is appreciated.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17187405830.58dE.2486990
Date: Tue, 18 Jun 2024 21:56:23 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
Hi all,=20
I've written a test suite for VLAN features on DPDK drivers including
filtering, stripping, and insertion, but I've run into some issues=20
with Intel and Broadcom NICs. Both are forwarding packets when there are vl=
an
filter rules in place which should block packet forwarding.=20
To recreate the environment I'm running the tests on:=20
drivers: bnxt_en, i40e=20
Broadcom NIC info:=20
~$ ethtool -i ens2f0np0=20
driver: bnxt_en=20
version: 5.15.0-112-generic=20
firmware-version: 229.0.141.0/pkg 229.1.123.0=20
expansion-rom-version:=20=20
bus-info: 0000:61:00.0=20
supports-statistics: yes=20
supports-test: yes=20
supports-eeprom-access: yes=20
supports-register-dump: yes=20
supports-priv-flags: no=20
./dpdk-testpmd <EAL params> -- -i --portmask=3D0x3=20
testpmd> set fwd mac=20
testpmd> set promisc 0 off=20
testpmd> vlan set filter on 0=20
testpmd> rx_vlan add 1 0=20
testpmd> start=20
then, I build the following packet and send it to port 0 on testpmd:=20
packet =3D Ether()/Dot1Q(vlan=3D2)/Raw(load=3D'xxxxx')=20
The Mellanox CX-5s show the expected behavior, where a packet with a VLAN t=
ag
not in the filter list is dropped. However, with the Intel XL710=20
and Broadcom 57414 NICs, the packet is forwarded regardless of whether its =
VLAN
tag is in the filter list or not.=20
Link to the suite:
https://patches.dpdk.org/project/dpdk/patch/2024=
0618162939.23339-2-dmarx@iol.unh.edu/=20
Series cover letter:
https://patches.dpdk.org/project/dpdk/cover/2024=
0614150238.26374-1-dmarx@iol.unh.edu/=20
Any insight is appreciated.