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 0D023A04F5 for ; Wed, 11 Dec 2019 22:28:18 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EEF4134EF; Wed, 11 Dec 2019 22:28:17 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 3EB1934EF for ; Wed, 11 Dec 2019 22:28:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576099695; 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=wDPXZ+N0FQqh97C07IWwN1VgJg7W7NIMbe2SvILr5Vw=; b=SUNAXXlyWC5mQOgtGz61bf6JCPtRNnLP7MnyQM0+WPwA7aaUBX8L2OHBXNcWN07puZ1GfT sUFT6lDHZplD1LknFB40sICXjj0AxAY3FD+5iQ57M2ma+Pm3Itw2GhwDZFVa05hrlSDZR7 aXPTWS0ThzvGFnqHpkkrILKMSBwaIwc= 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-320-y738Xl6dP9ibdlOv8E3gWQ-1; Wed, 11 Dec 2019 16:28:14 -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 21AA318543A0; Wed, 11 Dec 2019 21:28:13 +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 2915910013A1; Wed, 11 Dec 2019 21:28:11 +0000 (UTC) From: Kevin Traynor To: Sachin Saxena Cc: Gagandeep Singh , dpdk stable Date: Wed, 11 Dec 2019 21:26:14 +0000 Message-Id: <20191211212702.27851-22-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: y738Xl6dP9ibdlOv8E3gWQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'net/dpaa2: fix Rx offload flags on jumbo MTU set' 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/624517908e39e36b4e= a15b07d6bf4b0906395a19 Thanks. Kevin. --- >From 624517908e39e36b4ea15b07d6bf4b0906395a19 Mon Sep 17 00:00:00 2001 From: Sachin Saxena Date: Mon, 11 Nov 2019 21:38:57 +0530 Subject: [PATCH] net/dpaa2: fix Rx offload flags on jumbo MTU set [ upstream commit 0d20cda8a935d0df3c6e483422151705200907d0 ] The JUMBO frame handling in dpaa2_dev_mtu_set api was not correct. When frame_size is greater than RTE_ETHER_MAX_LEN, the intention is to add JUMBO flag in rx offload while it was resetting all other flags other than JUMBO as AND operator was used instead of OR. Fixes: 0ebce6129bc6 ("net/dpaa2: support new ethdev offload APIs") Signed-off-by: Sachin Saxena Reviewed-by: Gagandeep Singh --- drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_eth= dev.c index e3266085a..e50467285 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -1031,5 +1031,5 @@ dpaa2_dev_mtu_set(struct rte_eth_dev *dev, uint16_t m= tu) =20 =09if (frame_size > ETHER_MAX_LEN) -=09=09dev->data->dev_conf.rxmode.offloads &=3D +=09=09dev->data->dev_conf.rxmode.offloads |=3D =09=09=09=09=09=09DEV_RX_OFFLOAD_JUMBO_FRAME; =09else --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-12-11 21:24:14.478023350 +0000 +++ 0022-net-dpaa2-fix-Rx-offload-flags-on-jumbo-MTU-set.patch=092019-12-11= 21:24:12.622652147 +0000 @@ -1 +1 @@ -From 0d20cda8a935d0df3c6e483422151705200907d0 Mon Sep 17 00:00:00 2001 +From 624517908e39e36b4ea15b07d6bf4b0906395a19 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 0d20cda8a935d0df3c6e483422151705200907d0 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index eea31f254..2cde55e7c 100644 +index e3266085a..e50467285 100644 @@ -24 +25 @@ -@@ -1290,5 +1290,5 @@ dpaa2_dev_mtu_set(struct rte_eth_dev *dev, uint16_t = mtu) +@@ -1031,5 +1031,5 @@ dpaa2_dev_mtu_set(struct rte_eth_dev *dev, uint16_t = mtu) @@ -26 +27 @@ - =09if (frame_size > RTE_ETHER_MAX_LEN) + =09if (frame_size > ETHER_MAX_LEN)