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 60604A0524 for ; Fri, 5 Feb 2021 12:37:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 555C64067B; Fri, 5 Feb 2021 12:37:27 +0100 (CET) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mails.dpdk.org (Postfix) with ESMTP id 29B064067B for ; Fri, 5 Feb 2021 12:37:26 +0100 (CET) Received: by mail-wr1-f50.google.com with SMTP id b3so7321077wrj.5 for ; Fri, 05 Feb 2021 03:37:26 -0800 (PST) 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=zaLmMAVYbeknl2P0SltWRso7WHMcWIcBZXOoBK/AbXk=; b=FsE7fPHfkHY5nPvwj+kJwm+k7YKO2mDUzougy1Gi06HenzA7Eh6HLutlF0bGG8yv7C gPIqOtL2M68NrT9zwpSEQm3AJP1vzY+sSRSUtiGQnVHoTTgJlpX0T4CdbNOeI1mdUUyw f1xTqsbygIPOtfp5f9KWcMPFIXK0jXHmObyPViGY5wupnVEVu5abfTBd/pPESkzCNR5r G+oUiq3/dVaoGQc8eZEQ7dftvO1aZ6bQpVpxGRIUWrpjPft9+p4vD8YMwnXtfroz/Zn6 XuMr3kRp/KvKiJPQUUVoXE4rJZ2L/aXKrEtjvpdHF/nclHmJ56a5USrSWkpkPw005JX0 MkvA== 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=zaLmMAVYbeknl2P0SltWRso7WHMcWIcBZXOoBK/AbXk=; b=GV6pAQSSG3oaiiNBKmN5NAteUXQG+K8WCDoFs2HD1O6QUFe9m9ZxdPOhtiBaXX3YPQ BVFzUa+JDGeei34c0rZI7XkyTgGdESlWJ0kYzm3jMAJNtsDbLOfXtT/6bmOTnrU9dueH nW0CkvoarghPv02eQhJ4YdSwb19CrZsIuPc6zU2ccMT4+Tlx5oGbbRs/urVihwya4BqT Y/0XJQVTNxF+RPccbr5nxNZhdOnIDAWlaPyBHxKBJ4DZckod2Vo2+/Mi9hI9xk1zMqSB oPqP97/GYoGYspQ2e+wxMSGLOxo/o/m1CxN7hVLkSVfiaj/5IE+eEMo0dh7l9vYuNT7B +L8Q== X-Gm-Message-State: AOAM53050RU+Zb+Yn0kC1XtkBS5KAWRTNMs77QdkeN9azN0rPH5xfGK3 KYBFwHvxV2Ch6TmdVx1KP8Towddh455uYFlq X-Google-Smtp-Source: ABdhPJzWS8nVLD0+3G8m8s/h7btYA4EM2GwjbmO08U3PFPuuqQRPaqbcuvnc68sPWZjNcmPy9QdKfw== X-Received: by 2002:adf:f687:: with SMTP id v7mr4514073wrp.182.1612525045983; Fri, 05 Feb 2021 03:37:25 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id n10sm12154747wro.39.2021.02.05.03.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:37:25 -0800 (PST) From: luca.boccassi@gmail.com To: Lance Richardson Cc: Ajit Khaparde , dpdk stable Date: Fri, 5 Feb 2021 11:18:36 +0000 Message-Id: <20210205111920.1272063-230-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210205111920.1272063-1-luca.boccassi@gmail.com> References: <20210205111920.1272063-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/bnxt: fix packet type index calculation' has been queued to stable release 20.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 20.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/07/21. 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. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/436effd54ef1083c8b20d49e15fc12b90442f18e Thanks. Luca Boccassi --- >From 436effd54ef1083c8b20d49e15fc12b90442f18e Mon Sep 17 00:00:00 2001 From: Lance Richardson Date: Mon, 18 Jan 2021 16:57:09 -0500 Subject: [PATCH] net/bnxt: fix packet type index calculation [ upstream commit 5b4279b50f7feca8b43a4f3360a7c42eeee8f17a ] Fix mask to include all four bits of hardware packet type field. Fixes: 97b1db288dd0 ("net/bnxt: use table based packet type translation") Signed-off-by: Lance Richardson Acked-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_rxr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_rxr.c b/drivers/net/bnxt/bnxt_rxr.c index 46e3fed127..6d6041f267 100644 --- a/drivers/net/bnxt/bnxt_rxr.c +++ b/drivers/net/bnxt/bnxt_rxr.c @@ -344,7 +344,7 @@ bnxt_init_ptype_table(void) ip6 = i & (RX_PKT_CMPL_FLAGS2_IP_TYPE >> 7); tun = i & (RX_PKT_CMPL_FLAGS2_T_IP_CS_CALC >> 2); - type = (i & 0x38) << 9; + type = (i & 0x78) << 9; if (!tun && !ip6) l3 = RTE_PTYPE_L3_IPV4_EXT_UNKNOWN; -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:39.317102437 +0000 +++ 0230-net-bnxt-fix-packet-type-index-calculation.patch 2021-02-05 11:18:29.206698727 +0000 @@ -1 +1 @@ -From 5b4279b50f7feca8b43a4f3360a7c42eeee8f17a Mon Sep 17 00:00:00 2001 +From 436effd54ef1083c8b20d49e15fc12b90442f18e Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 5b4279b50f7feca8b43a4f3360a7c42eeee8f17a ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index a195bf1187..969cae19fc 100644 +index 46e3fed127..6d6041f267 100644 @@ -22 +23 @@ -@@ -402,7 +402,7 @@ bnxt_init_ptype_table(void) +@@ -344,7 +344,7 @@ bnxt_init_ptype_table(void)