From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A09F5A04A4 for ; Wed, 27 May 2020 11:25:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 98B0F1D654; Wed, 27 May 2020 11:25:08 +0200 (CEST) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 796A11D654 for ; Wed, 27 May 2020 11:25:07 +0200 (CEST) Received: by mail-wr1-f67.google.com with SMTP id x6so9660124wrm.13 for ; Wed, 27 May 2020 02:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vpoB6OgC8WcPKDknw3VRM2065a11JVrHbC0RDS75Zh4=; b=CAL/yQxikKfQnE6IlErPjwhFTNhzG5tFAvRQZ63yaqyAxcR2aSXhusXC45TQxJbgb5 hjxdIEFPYmc1FvihGAbiQqzuZM989NZnkkcU8WD0s3uapeGvgi3nFFMpuqrHMwf2ftqu CdBSLfqhVY+E/TMvxFYFDIheajjyMTHzzGlED7HRosGf/mDXGFRtlGVFhEn/EiOJrsOz 3EBJwl0HqM5LY9+2gD7Urj2/9cG0eSfZX4djTFpJzrlLsT5MnJBUmT5+ryd13+PT6RCh sIJJm+50ijBdgNoP6UY0EwdhCv1qU8sL0TS+geOKVGBL9hK41Rpg2d/SCGUJLG2BeMTS txoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vpoB6OgC8WcPKDknw3VRM2065a11JVrHbC0RDS75Zh4=; b=LG3WXsFal0pw3e8t+xrbTiJYuzD01+VRR1n6N07beWUyIip/Y0JCNqUB2JCIsJc0xV aboHDg4bL/S5vs8an5LJsKbCadPEkwyOjFxDCQrrTj3oqnYcal5ZU4MvS+6oyNUUDPTE FS3oFO3U0JZxtwTX++MxjmNZvuXddJgbWS4jaWnUcZ2VHD5yzV0R242VHfjNH2nLFvES NPYqimd4TsBunx7koFKYOfLUoupxeAAs2mgPyK3MFKCNEm+IbU++A0DW7WG0z2dKMbms kJEteUHk0bDcEUqTMLPer7hSzeWV8av1DT4Fk9w8eVXw+QlGPlDz4pLiqbOAefbYiFOi ixAA== X-Gm-Message-State: AOAM532DjZOhcdH8Dm18h+vydiYpiFUBEdwF6OtRqGvFEmJ9h0GDPkCh CQ6+FAsqhLIaYAszppWrBa0= X-Google-Smtp-Source: ABdhPJzDmwSnjRQ+CZE7wCizJmSljI8j2gU3zRPH/hT+eK3eQjZSFDGb/WbYprMocGV6CVCe1srP7Q== X-Received: by 2002:adf:ecc8:: with SMTP id s8mr22806320wro.279.1590571507211; Wed, 27 May 2020 02:25:07 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id y37sm2516891wrd.55.2020.05.27.02.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 02:25:06 -0700 (PDT) From: luca.boccassi@gmail.com To: Jeff Guo Cc: Qi Zhang , dpdk stable Date: Wed, 27 May 2020 10:24:15 +0100 Message-Id: <20200527092422.258652-12-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200527092422.258652-1-luca.boccassi@gmail.com> References: <20200522094022.1025696-43-luca.boccassi@gmail.com> <20200527092422.258652-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/ice: fix setting L2TAG' has been queued to stable release 19.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/29/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From a6c3bc7236db22e8851dfb1a45a3c5378a90ee61 Mon Sep 17 00:00:00 2001 From: Jeff Guo Date: Wed, 20 May 2020 17:46:14 -0400 Subject: [PATCH] net/ice: fix setting L2TAG [ upstream commit c9047db4afa8b95bb9ade3ef58c348afcca29cb5 ] Base on HW, if a packet is split into multiple segments, the L2TAG should only be valid on the last Rx descriptor. So fix it by setting L2TAG into mbuf when processing the last split packet. Fixes: c68a52b8b38c ("net/ice: support vector SSE in Rx") Signed-off-by: Jeff Guo Acked-by: Qi Zhang --- drivers/net/ice/ice_rxtx_vec_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ice/ice_rxtx_vec_common.h b/drivers/net/ice/ice_rxtx_vec_common.h index 6b57ff2ae0..46e3be98a6 100644 --- a/drivers/net/ice/ice_rxtx_vec_common.h +++ b/drivers/net/ice/ice_rxtx_vec_common.h @@ -29,6 +29,7 @@ ice_rx_reassemble_packets(struct ice_rx_queue *rxq, struct rte_mbuf **rx_bufs, if (!split_flags[buf_idx]) { /* it's the last packet of the set */ start->hash = end->hash; + start->vlan_tci = end->vlan_tci; start->ol_flags = end->ol_flags; /* we need to strip crc for the whole packet */ start->pkt_len -= rxq->crc_len; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-27 10:23:32.052586149 +0100 +++ 0012-net-ice-fix-setting-L2TAG.patch 2020-05-27 10:23:31.639933832 +0100 @@ -1,14 +1,15 @@ -From c9047db4afa8b95bb9ade3ef58c348afcca29cb5 Mon Sep 17 00:00:00 2001 +From a6c3bc7236db22e8851dfb1a45a3c5378a90ee61 Mon Sep 17 00:00:00 2001 From: Jeff Guo Date: Wed, 20 May 2020 17:46:14 -0400 Subject: [PATCH] net/ice: fix setting L2TAG +[ upstream commit c9047db4afa8b95bb9ade3ef58c348afcca29cb5 ] + Base on HW, if a packet is split into multiple segments, the L2TAG should only be valid on the last Rx descriptor. So fix it by setting L2TAG into mbuf when processing the last split packet. Fixes: c68a52b8b38c ("net/ice: support vector SSE in Rx") -Cc: stable@dpdk.org Signed-off-by: Jeff Guo Acked-by: Qi Zhang