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 0D85946B67 for ; Sun, 13 Jul 2025 18:38:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C9744021E; Sun, 13 Jul 2025 18:38:10 +0200 (CEST) Received: from authsmtp.register.it (authsmtp11.register.it [81.88.48.50]) by mails.dpdk.org (Postfix) with ESMTP id 1B671400D6 for ; Fri, 11 Jul 2025 13:28:35 +0200 (CEST) Received: from DESKTOPPE5KR91 ([95.231.224.119]) by cmsmtp with ESMTPSA id aBveuyouj1wvXaBveucC0R; Fri, 11 Jul 2025 13:28:34 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outsys.org; s=key_65m6du3g3t; t=1752233314; bh=TbxQwVEjuHk/XiO0gAPxYLGT0Z0qsqow8eTr52rpUAU=; h=From:To:Subject:Date; b=fKwWHODR4YI5qVoz9wSLyfhgFhWcF1YR/F/d+2UTSp2KmGkwAzTHMaJ+d+cqkSH6i E8p6rp7vyeutx6wgTd1AkUSk+enLi34ngKjrmOalWcM7itsvSauHFPXJ4XeK2BhSgH 6ds7PosDARie4pliuBUsSFJ+Tn48lQJhu4Oq/c7EkYRz0OGYvZNUkN4UjzQ0m+Ik5D LRhTUBNJDjwdJgHaK5b+ABkGuKy8A1iR/LXTqQI0UExi2AgcUZ7XXP8YnLMpvgoFIg YAuX8DSGkQK+R9TrNgXtDhoXie0/gXrOn1FyBTXzS8WFD1GzxL1GLD40nMaUoCKTW/ d6RbedKcQt/Ag== X-Rid: smtp@outsys.eu@95.231.224.119 From: "Ernesto Ruffini" To: Subject: E810 VLAN offload wrong behavior Date: Fri, 11 Jul 2025 13:28:34 +0200 Message-ID: <000001dbf256$f00e2650$d02a72f0$@outsys.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01DBF267.B39855E0" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdvyVXNL0zLebIX5R8SO6UmbbuOOog== Content-Language: en-us X-CMAE-Envelope: MS4xfD/2dQBEe5QM1u7+9GRxqif8FEVOMUtzhHCxIJrjpekjgtmxQzQvXWRVLpnvbbTzNiRzX+ZL4Nr0rE/NLRwFVg2YB//X1mLjZwCHSXxx2pQFEJbE5NH0 /Y5ea5TkZ0aS0mhHLZlfm+B2k2WSk1FBOqFVsyzGB7LJRsWBD4eVmXXfxHZlYzxNIz6xUMTmW61d+A== X-Mailman-Approved-At: Sun, 13 Jul 2025 18:38:09 +0200 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org This is a multipart message in MIME format. ------=_NextPart_000_0001_01DBF267.B39855E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, We found a strange behavior of the E810 VLAN offload. We are running DPDK 24.11.2 with ice driver 1.15.4, firmware 4.60 and COMMS DDP 1.3.46 The NIC receives an IPv4/UDP packet inside VLAN 300. If we run dpdk-testpmd with a single queue, everything seems fine: dpdk-testpmd -a 0000:4b:00.0 -c ffffff -n 8 -- -i set verbose 5 port stop 0 port config 0 rx_offload vlan_strip on port start 0 start And the packet is correctly displayed: src=08:02:03:04:05:06 - dst=00:1A:CA:01:00:96 - pool=mb_pool_0 - type=0x0800 - length=142 - nb_segs=1 - VLAN tci=0x12c - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Destination UDP port=5398 - Receive queue=0x0 ol_flags: RTE_MBUF_F_RX_VLAN RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_VLAN_STRIPPED RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD But if we use a different number of queues: dpdk-testpmd -a 0000:4b:00.0 -c ffffff -n 8 -- -i --rxq=4 --txq=4 The VLAN is in fact removed, but there is no evidence of that: src=08:02:03:04:05:06 - dst=00:1A:CA:01:00:96 - pool=mb_pool_0 - type=0x0800 - length=142 - nb_segs=1 - RSS hash=0xfae3080 - RSS queue=0x0 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Destination UDP port=5398 - Receive queue=0x0 ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD There was a bug in some previous versions of DPDK about E810 and VLAN offload, but it was fixed. Are we doing something wrong or is there a problem with the driver? Thank you Ernesto ------=_NextPart_000_0001_01DBF267.B39855E0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

We found a strange = behavior of the E810 VLAN offload.

We are running DPDK = 24.11.2 with ice driver 1.15.4, firmware 4.60 and COMMS DDP = 1.3.46

 

The NIC receives an = IPv4/UDP packet inside VLAN 300.

If we run = dpdk-testpmd with a single queue, everything seems = fine:

 

dpdk-testpmd -a 0000:4b:00.0 -c ffffff -n 8 -- = -i

 

set verbose = 5

port stop = 0

port config 0 = rx_offload vlan_strip on

port start = 0

start

 

And the packet is = correctly displayed:

  src=3D08:02:03:04:05:06 - = dst=3D00:1A:CA:01:00:96 - pool=3Dmb_pool_0 - type=3D0x0800 - = length=3D142 - nb_segs=3D1 - VLAN tci=3D0x12c - hw ptype: L2_ETHER = L3_IPV4_EXT_UNKNOWN L4_UDP  - sw ptype: L2_ETHER L3_IPV4 = L4_UDP  - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Destination UDP = port=3D5398 - Receive queue=3D0x0

  ol_flags: = RTE_MBUF_F_RX_VLAN RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_VLAN_STRIP= PED RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD

 

But if we use a = different number of queues:

 

dpdk-testpmd -a 0000:4b:00.0 -c ffffff -n 8 -- -i --rxq=3D4 = --txq=3D4

 

The VLAN is in fact = removed, but there is no evidence of that:

 

  src=3D08:02:03:04:05:06 - dst=3D00:1A:CA:01:00:96 - = pool=3Dmb_pool_0 - type=3D0x0800 - length=3D142 - nb_segs=3D1 - RSS = hash=3D0xfae3080 - RSS queue=3D0x0 - hw ptype: L2_ETHER = L3_IPV4_EXT_UNKNOWN L4_UDP  - sw ptype: L2_ETHER L3_IPV4 = L4_UDP  - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Destination UDP = port=3D5398 - Receive queue=3D0x0

  ol_flags: RTE_MBUF_F_RX_RSS_HASH = RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD = RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD

 

There was a bug in = some previous versions of DPDK about E810 and VLAN offload, but it was = fixed.

Are we doing something wrong or is there a = problem with the driver?

 

Thank = you

       &nbs= p;       Ernesto

 

------=_NextPart_000_0001_01DBF267.B39855E0--