<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi Richardson,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks for the feedback, will remove it.</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Richardson, Bruce <bruce.richardson@intel.com><br>
<b>Sent:</b> Wednesday, July 30, 2025 11:03 PM<br>
<b>To:</b> Xueming Li <xuemingl@nvidia.com><br>
<b>Cc:</b> Burakov, Anatoly <anatoly.burakov@intel.com>; dpdk stable <stable@dpdk.org><br>
<b>Subject:</b> RE: patch 'net/ice: fix inconsistency in Rx queue VLAN tag placement' has been queued to stable release 23.11.5</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">I would hold off on this patch for backport, even though it's a fix. I worry that some users may be depending on the old behaviour, especially if they have a single-queue setup.<br>
<br>
/Bruce<br>
<br>
> -----Original Message-----<br>
> From: Xueming Li <xuemingl@nvidia.com><br>
> Sent: Wednesday, July 30, 2025 3:56 PM<br>
> To: Richardson, Bruce <bruce.richardson@intel.com><br>
> Cc: Xueming Li <xuemingl@nvidia.com>; Burakov, Anatoly<br>
> <anatoly.burakov@intel.com>; dpdk stable <stable@dpdk.org><br>
> Subject: patch 'net/ice: fix inconsistency in Rx queue VLAN tag placement' has<br>
> been queued to stable release 23.11.5<br>
> <br>
> Hi,<br>
> <br>
> FYI, your patch has been queued to stable release 23.11.5<br>
> <br>
> Note it hasn't been pushed to <a href="http://dpdk.org/browse/dpdk-stable">http://dpdk.org/browse/dpdk-stable</a> yet.<br>
> It will be pushed if I get no objections before 08/10/25. So please<br>
> shout if anyone has objections.<br>
> <br>
> Also note that after the patch there's a diff of the upstream commit vs the<br>
> patch applied to the branch. This will indicate if there was any rebasing<br>
> needed to apply to the stable branch. If there were code changes for rebasing<br>
> (ie: not only metadata diffs), please double check that the rebase was<br>
> correctly done.<br>
> <br>
> Queued patches are on a temporary branch at:<br>
> <a href="https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging">https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging</a><br>
> <br>
> This queued commit can be viewed at:<br>
> <a href="https://git.dpdk.org/dpdk-stable/commit/?h=23.11-">https://git.dpdk.org/dpdk-stable/commit/?h=23.11-</a><br>
> staging&id=43fdac7411d9a6d408b2ce61a5c191886c6ff638<br>
> <br>
> Thanks.<br>
> <br>
> Xueming Li <xuemingl@nvidia.com><br>
> <br>
> ---<br>
> From 43fdac7411d9a6d408b2ce61a5c191886c6ff638 Mon Sep 17 00:00:00 2001<br>
> From: Bruce Richardson <bruce.richardson@intel.com><br>
> Date: Fri, 27 Jun 2025 14:52:01 +0100<br>
> Subject: [PATCH] net/ice: fix inconsistency in Rx queue VLAN tag placement<br>
> Cc: Xueming Li <xuemingl@nvidia.com><br>
> <br>
> [ upstream commit 4cd8c72f661c005900ddc39cf0cecfca16184f2a ]<br>
> <br>
> When VLAN or QinQ stripping is enabled in the ice driver, an<br>
> inconsistency was observed between the placement of the VLAN tag in the<br>
> descriptors of the final Rx queue (irrespective of the number of queues)<br>
> vs descriptors of all other queues. This inconsistency was due to the<br>
> fact that the driver - when updating l2tsel (L2 tag selection) field -<br>
> used the queue id, rather than the register index for the queue. Queue 0<br>
> is normally HW queue 1, etc., meaning the final queue never had its<br>
> field updated.<br>
> <br>
> Fixes: de5da9d16430 ("net/ice: support double VLAN")<br>
> Cc: stable@dpdk.org<br>
> <br>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com><br>
> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com><br>
> ---<br>
>  drivers/net/ice/ice_ethdev.c | 4 ++--<br>
>  1 file changed, 2 insertions(+), 2 deletions(-)<br>
> <br>
> diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c<br>
> index be826d3108..3d08e12cba 100644<br>
> --- a/drivers/net/ice/ice_ethdev.c<br>
> +++ b/drivers/net/ice/ice_ethdev.c<br>
> @@ -4744,11 +4744,11 @@ static void ice_vsi_update_l2tsel(struct ice_vsi *vsi,<br>
> enum ice_l2tsel l2tsel)<br>
>                l2tsel_bit = BIT(ICE_L2TSEL_BIT_OFFSET);<br>
> <br>
>        for (i = 0; i < dev_data->nb_rx_queues; i++) {<br>
> +             const struct ice_rx_queue *rxq = dev_data->rx_queues[i];<br>
>                u32 qrx_context_offset;<br>
>                u32 regval;<br>
> <br>
> -             qrx_context_offset =<br>
> -                     QRX_CONTEXT(ICE_L2TSEL_QRX_CONTEXT_REG_IDX,<br>
> i);<br>
> +             qrx_context_offset =<br>
> QRX_CONTEXT(ICE_L2TSEL_QRX_CONTEXT_REG_IDX, rxq->reg_idx);<br>
> <br>
>                regval = rd32(hw, qrx_context_offset);<br>
>                regval &= ~BIT(ICE_L2TSEL_BIT_OFFSET);<br>
> --<br>
> 2.34.1<br>
> <br>
> ---<br>
>   Diff of the applied patch vs upstream commit (please double-check if non-<br>
> empty:<br>
> ---<br>
> --- - 2025-07-30 22:50:04.230786948 +0800<br>
> +++ 0018-net-ice-fix-inconsistency-in-Rx-queue-VLAN-tag-place.patch   2025-<br>
> 07-30 22:50:03.048759617 +0800<br>
> @@ -1 +1 @@<br>
> -From 4cd8c72f661c005900ddc39cf0cecfca16184f2a Mon Sep 17 00:00:00 2001<br>
> +From 43fdac7411d9a6d408b2ce61a5c191886c6ff638 Mon Sep 17 00:00:00<br>
> 2001<br>
> @@ -4,0 +5,3 @@<br>
> +Cc: Xueming Li <xuemingl@nvidia.com><br>
> +<br>
> +[ upstream commit 4cd8c72f661c005900ddc39cf0cecfca16184f2a ]<br>
> @@ -21 +24 @@<br>
> - drivers/net/intel/ice/ice_ethdev.c | 4 ++--<br>
> + drivers/net/ice/ice_ethdev.c | 4 ++--<br>
> @@ -24,5 +27,5 @@<br>
> -diff --git a/drivers/net/intel/ice/ice_ethdev.c<br>
> b/drivers/net/intel/ice/ice_ethdev.c<br>
> -index 680e7724cd..513777e372 100644<br>
> ---- a/drivers/net/intel/ice/ice_ethdev.c<br>
> -+++ b/drivers/net/intel/ice/ice_ethdev.c<br>
> -@@ -4988,11 +4988,11 @@ static void ice_vsi_update_l2tsel(struct ice_vsi *vsi,<br>
> enum ice_l2tsel l2tsel)<br>
> +diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c<br>
> +index be826d3108..3d08e12cba 100644<br>
> +--- a/drivers/net/ice/ice_ethdev.c<br>
> ++++ b/drivers/net/ice/ice_ethdev.c<br>
> +@@ -4744,11 +4744,11 @@ static void ice_vsi_update_l2tsel(struct ice_vsi<br>
> *vsi, enum ice_l2tsel l2tsel)<br>
> @@ -32 +35 @@<br>
> -+            const struct ci_rx_queue *rxq = dev_data->rx_queues[i];<br>
> ++            const struct ice_rx_queue *rxq = dev_data->rx_queues[i];<br>
</div>
</span></font></div>
</body>
</html>