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 BB09DA04F5 for ; Wed, 11 Dec 2019 22:27:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD17A1BE9D; Wed, 11 Dec 2019 22:27:49 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id E508D1BE3D for ; Wed, 11 Dec 2019 22:27:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576099668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Et6eTmClG9plQ6d8p1Yi7Fzoxooqd23mQHXvHqnQWX0=; b=IlStgLSW6whbqPCRk/XA2F98mWyOV7cfK+OmpT9cr8oozGaRfrOlhu95siIQTPh8ILRbV5 srmfZRBREEZpsRtUewT/XT+qF1ZL69nzENVK2Lj+c9H+3qmEMDA3B++JgQn+xQaWVE5fZg 5zHH34ZvYDbXzCpppkQsuVdC844b3V8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-51-ds_b_qHIONiQjB9N4l5Uag-1; Wed, 11 Dec 2019 16:27:46 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6DB16800D53; Wed, 11 Dec 2019 21:27:45 +0000 (UTC) Received: from rh.redhat.com (ovpn-116-64.ams2.redhat.com [10.36.116.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id 516F610013A1; Wed, 11 Dec 2019 21:27:44 +0000 (UTC) From: Kevin Traynor To: Kalesh AP Cc: Somnath Kotur , dpdk stable Date: Wed, 11 Dec 2019 21:26:01 +0000 Message-Id: <20191211212702.27851-9-ktraynor@redhat.com> In-Reply-To: <20191211212702.27851-1-ktraynor@redhat.com> References: <20191211212702.27851-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: ds_b_qHIONiQjB9N4l5Uag-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'net/bnxt: fix IP checksum error indication' has been queued to LTS release 18.11.6 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 LTS release 18.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/17/19. 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 rebasi= ng (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/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/426e829013f34d4d43= ba1d5475a2a38df0799a66 Thanks. Kevin. --- >From 426e829013f34d4d43ba1d5475a2a38df0799a66 Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Fri, 15 Nov 2019 10:20:28 +0530 Subject: [PATCH] net/bnxt: fix IP checksum error indication [ upstream commit 1bcec6ee08b4a2b7276da86323eb40da002ab421 ] Update "mbuf->ol_flags" correctly for 'Checksum Unknown' errors for both tunneled and non-tunneled IP packets. Fixes: b875339622a3 ("net/bnxt: fix L4 checksum indication in non-vector Rx= ") Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur --- drivers/net/bnxt/bnxt_rxr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnxt/bnxt_rxr.c b/drivers/net/bnxt/bnxt_rxr.c index 8dd7cc09e..6e7ca1158 100644 --- a/drivers/net/bnxt/bnxt_rxr.c +++ b/drivers/net/bnxt/bnxt_rxr.c @@ -451,4 +451,6 @@ static int bnxt_rx_pkt(struct rte_mbuf **rx_pkt, =09=09if (unlikely(RX_CMP_IP_CS_ERROR(rxcmp1))) =09=09=09mbuf->ol_flags |=3D PKT_RX_IP_CKSUM_BAD; +=09=09else if (unlikely(RX_CMP_IP_CS_UNKNOWN(rxcmp1))) +=09=09=09mbuf->ol_flags |=3D PKT_RX_IP_CKSUM_UNKNOWN; =09=09else =09=09=09mbuf->ol_flags |=3D PKT_RX_IP_CKSUM_GOOD; @@ -457,8 +459,8 @@ static int bnxt_rx_pkt(struct rte_mbuf **rx_pkt, =09=09=09 RX_CMP_IP_CS_ERROR(rxcmp1))) =09=09=09mbuf->ol_flags |=3D PKT_RX_IP_CKSUM_BAD; +=09=09else if (unlikely(RX_CMP_IP_CS_UNKNOWN(rxcmp1))) +=09=09=09mbuf->ol_flags |=3D PKT_RX_IP_CKSUM_UNKNOWN; =09=09else =09=09=09mbuf->ol_flags |=3D PKT_RX_IP_CKSUM_GOOD; -=09} else if (unlikely(RX_CMP_IP_CS_UNKNOWN(rxcmp1))) { -=09=09mbuf->ol_flags |=3D PKT_RX_IP_CKSUM_UNKNOWN; =09} =20 --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-12-11 21:24:13.490898956 +0000 +++ 0009-net-bnxt-fix-IP-checksum-error-indication.patch=092019-12-11 21:24= :12.585652912 +0000 @@ -1 +1 @@ -From 1bcec6ee08b4a2b7276da86323eb40da002ab421 Mon Sep 17 00:00:00 2001 +From 426e829013f34d4d43ba1d5475a2a38df0799a66 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 1bcec6ee08b4a2b7276da86323eb40da002ab421 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index c35bc1afd..3b713c242 100644 +index 8dd7cc09e..6e7ca1158 100644 @@ -22 +23 @@ -@@ -516,4 +516,6 @@ static int bnxt_rx_pkt(struct rte_mbuf **rx_pkt, +@@ -451,4 +451,6 @@ static int bnxt_rx_pkt(struct rte_mbuf **rx_pkt, @@ -29 +30 @@ -@@ -522,8 +524,8 @@ static int bnxt_rx_pkt(struct rte_mbuf **rx_pkt, +@@ -457,8 +459,8 @@ static int bnxt_rx_pkt(struct rte_mbuf **rx_pkt,