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 E51D4A0524 for ; Fri, 5 Feb 2021 12:37:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DBD3A188A4D; Fri, 5 Feb 2021 12:37:42 +0100 (CET) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mails.dpdk.org (Postfix) with ESMTP id 64B854067B for ; Fri, 5 Feb 2021 12:37:41 +0100 (CET) Received: by mail-wm1-f48.google.com with SMTP id l12so5768104wmq.2 for ; Fri, 05 Feb 2021 03:37:41 -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=yKMF91aRTapHrFB6gRHPonPwKirSV0thqSaxkbb74KI=; b=PkKwZzY7CUp9ExiiBOeiesWWDokjXWl4oIu1v1sUzkOQDVYU5bPt6WmDa2NealX+ff 8Dro9jO40SyTRHUt6qgqws1U86Majw9mCdy4BEj/sDeQNTD7ApyONKZo7pzNlK2MTVH+ 6sUoSAuzmtpWEmoc+xe7CDIm46n+3lM3bafi8EF2COBWOTEk/tVyq2OZpl5O+6LLR5vE LrySkNMj5kLPdEdNNFS/wwoJVGjgRk2KnJmVNinH/3TZJY4I05Kawvaz8q/1MXqMYkTP 28+JAQCVSk+qxa6s1w2Mp5OQpcG4XYYSOmkp4MnGSCAQ4zAOe13cOfHqdeYB5pJH7ybw grRw== 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=yKMF91aRTapHrFB6gRHPonPwKirSV0thqSaxkbb74KI=; b=IMB0AfuN/dQuw+hGok25hcjSe9e+z+UFSRgQpQBz0SzrT5/390A5yrTvU2TzvU9vtt NdeIr93gEeB80+bKP5I4Wk52rP5QJ8gZN2ZOXFqcwp/WogeoxLbL5Le7L6Di+nO3EU/8 3fTrC788J9G84WF5RBe43WGrvjddmjS6Ni1EJ3StCqFoOqbCOXT9jH7ZeOwIapP5sMOe 2Ijf2K69rzq2gJ/JQSrTMTetBXj8DgJTKbwqr5pfVpnrYG+zEGGhusAW/5bsumZqA/c0 vn5cKxa7r5tW4KVhhoOUYzy9lnIdrDA9PMUwJUfbU1iaTIrdLoMmiAVDjbiCSkM2JsuL 9ulA== X-Gm-Message-State: AOAM5335yrWUZM4SeAA6HUjRFu/rNALL4nWjclcLRFZpcQ6wWPjlS79D lo2tEdZu7ShwB9r60wT3XAseWydjG77JWq1C X-Google-Smtp-Source: ABdhPJyIYl7DnWcTixjZAwhZEBzVRNpfwoz5hBV4nd1uGDvf0BnkgShv28zbQo/ZU2vWDeOhE982uQ== X-Received: by 2002:a1c:480a:: with SMTP id v10mr3293554wma.132.1612525061212; Fri, 05 Feb 2021 03:37:41 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id z15sm11075618wrs.25.2021.02.05.03.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:37:40 -0800 (PST) From: luca.boccassi@gmail.com To: Lance Richardson Cc: Somnath Kotur , Ajit Khaparde , dpdk stable Date: Fri, 5 Feb 2021 11:18:40 +0000 Message-Id: <20210205111920.1272063-234-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 null termination of Rx mbuf chain' 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/1dd7ec97d80475ce5e3ce8dcb5e12e28711d7a3d Thanks. Luca Boccassi --- >From 1dd7ec97d80475ce5e3ce8dcb5e12e28711d7a3d Mon Sep 17 00:00:00 2001 From: Lance Richardson Date: Fri, 22 Jan 2021 16:49:00 -0500 Subject: [PATCH] net/bnxt: fix null termination of Rx mbuf chain [ upstream commit c711cc2a982d8849ab7ba2582b41c5a4ba5510ee ] The last mbuf in a multi-segment packet needs to be NULL-terminated. Fixes: 0958d8b6435d ("net/bnxt: support LRO") Signed-off-by: Lance Richardson Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_rxr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/bnxt/bnxt_rxr.c b/drivers/net/bnxt/bnxt_rxr.c index 6d6041f267..57cfc9444c 100644 --- a/drivers/net/bnxt/bnxt_rxr.c +++ b/drivers/net/bnxt/bnxt_rxr.c @@ -267,6 +267,7 @@ static int bnxt_rx_pages(struct bnxt_rx_queue *rxq, */ rte_bitmap_set(rxr->ag_bitmap, ag_cons); } + last->next = NULL; bnxt_prod_ag_mbuf(rxq); return 0; } -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:39.494830014 +0000 +++ 0234-net-bnxt-fix-null-termination-of-Rx-mbuf-chain.patch 2021-02-05 11:18:29.218698956 +0000 @@ -1 +1 @@ -From c711cc2a982d8849ab7ba2582b41c5a4ba5510ee Mon Sep 17 00:00:00 2001 +From 1dd7ec97d80475ce5e3ce8dcb5e12e28711d7a3d Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit c711cc2a982d8849ab7ba2582b41c5a4ba5510ee ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 969cae19fc..c34a8905e7 100644 +index 6d6041f267..57cfc9444c 100644 @@ -23 +24 @@ -@@ -325,6 +325,7 @@ static int bnxt_rx_pages(struct bnxt_rx_queue *rxq, +@@ -267,6 +267,7 @@ static int bnxt_rx_pages(struct bnxt_rx_queue *rxq,