<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - [dpdk-25.07-rc2] vf_pf_reset/test_vlan_rx_restore_vf_reset_all_ports: Unable to receive VLAN packets"
href="https://bugs.dpdk.org/show_bug.cgi?id=1735">1735</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[dpdk-25.07-rc2] vf_pf_reset/test_vlan_rx_restore_vf_reset_all_ports: Unable to receive VLAN packets
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>25.03
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>testpmd
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dev@dpdk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>daxuex.gao@intel.com
</td>
</tr>
<tr>
<th>Target Milestone</th>
<td>---
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<pre class="bz_comment_text">Environment
===========
DPDK version: 25.07.0-rc2: 20460dcffd08a468
OS: Ubuntu 24.04 LTS/6.8.0-60-generic
Compiler: gcc version 13.3.0
Hardware platform: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
NIC hardware: Intel Corporation Ethernet Controller E810-C for SFP [8086:1593]
NIC firmware:
driver: vfio-pci
kdriver: 6.8.0-60-generic
firmware-version: 4.70 0x8001f7b9 1.3755.0
pkg: ice os default 1.3.36.0
scapy: 2.4.4
Test Setup
Steps to reproduce
List the steps to reproduce the issue.
1.dut:
# echo 2 > /sys/bus/pci/devices/0000\:05\:00.0/sriov_numvfs
# echo 2 > /sys/bus/pci/devices/0000\:05\:00.1/sriov_numvfs#
./usertools/dpdk-devbind.py -b vfio-pci 05:01.0 05:01.1
# ip link set ens785f0np0 vf 0 mac 00:11:22:33:44:11
# ip link set ens785f0np0 vf 1 mac 00:11:22:33:44:12
# x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:05:01.0 -a
0000:05:01.1 --file-prefix=dpdk_1907210_20250702192518 -- -i
2.dut-testpmd:
testpmd> set fwd mac
testpmd> set verbose 1
testpmd> vlan set filter on 0
testpmd> rx_vlan add 1 0
IAVF_DRIVER: iavf_execute_vf_cmd(): Cmd 28 not supported
IAVF_DRIVER: iavf_disable_vlan_strip(): Failed to execute command of
OP_DISABLE_VLAN_STRIPPING
rte_eth_dev_vlan_filter(port_pi=0, vlan_id=1, on=1) failed diag=-5
testpmd> rx_vlan add 1 1
IAVF_DRIVER: iavf_execute_vf_cmd(): Cmd 28 not supported
IAVF_DRIVER: iavf_disable_vlan_strip(): Failed to execute command of
OP_DISABLE_VLAN_STRIPPING
rte_eth_dev_vlan_filter(port_pi=1, vlan_id=1, on=1) failed diag=-5
testpmd> show port stats all
testpmd> clear port stats all
testpmd> port stop all
testpmd> port reset all
testpmd> port start all
testpmd> start
testpmd> show port stats all
3.tester-scapy send vlan package:
<span class="quote">>>> sendp(
>>> Ether(dst='00:11:22:33:44:11')/Dot1Q(vlan=1)/IP()/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'),
>>> iface="ens161f0",count=10,inter=0.01,verbose=False)</span >
4.Show the output from the previous commands.
testpmd> show port stats all
######################## NIC statistics for port 0 ########################
RX-packets: 0 RX-missed: 0 RX-bytes: 0
RX-errors: 0
RX-nombuf: 0
TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since
last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
######################## NIC statistics for port 1 ########################
RX-packets: 0 RX-missed: 0 RX-bytes: 0
RX-errors: 0
RX-nombuf: 0
TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since
last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
Expected Result
========
testpmd> show port stats all ######################## NIC statistics for port
0 ########################
RX-packets: 10 RX-missed: 0 RX-bytes: 1020
RX-errors: 0
RX-nombuf: 0
TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since
last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
######################## NIC statistics for port 1 ########################
RX-packets: 0 RX-missed: 0 RX-bytes: 0
RX-errors: 0
RX-nombuf: 0
TX-packets: 10 TX-errors: 0 TX-bytes: 1020 Throughput
(since last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
Regression
Is this issue a regression: (Y/N)Y
commit 3bfad066f9b4764981c9ad90a750fa6f1afcf15a (HEAD)
Author: Amiya Ranjan Mohakud <<a href="mailto:amiyaranjan.mohakud@gmail.com">amiyaranjan.mohakud@gmail.com</a>>
Date: Mon Jun 23 23:41:36 2025 +0530
net/iavf: fix VLAN strip setting after enabling filter
For i40e kernel drivers which support either vlan(v1) or vlan(v2)
VIRTCHNL OP, it will set strip on when setting filter on.
But DPDK side will not change strip flag.
To be consistent with DPDL side, explicitly disable strip again.
Bugzilla ID: 1725
Fixes: e25c7ed114b2 ("net/iavf: fix VLAN offload strip flag")
Cc: <a href="mailto:stable@dpdk.org">stable@dpdk.org</a>
Signed-off-by: Amiya Ranjan Mohakud <<a href="mailto:amiyaranjan.mohakud@gmail.com">amiyaranjan.mohakud@gmail.com</a>>
Reviewed-by: Ciara Loftus <<a href="mailto:ciara.loftus@intel.com">ciara.loftus@intel.com</a>>
</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1735">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>