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 DA89CA051C for ; Tue, 11 Feb 2020 12:29:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D2ED31BF98; Tue, 11 Feb 2020 12:29:25 +0100 (CET) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 984171BFAA for ; Tue, 11 Feb 2020 12:29:24 +0100 (CET) Received: by mail-wr1-f65.google.com with SMTP id r11so8653389wrq.10 for ; Tue, 11 Feb 2020 03:29:24 -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=aHEnQ3WjJgRE75tPanF4QMLxxbELT7XO6UhujvfSkVI=; b=YiDtR8GqeDrgn0dnQ2XgF+QWDdunsybvUEF4HK6cdQlSQZyzGLT8sgJHCqTRmIhL/m zb/FKOKBW7o57kfdJiPsHLPXTb2ciQyHGS//4kZS6PaLhx6KA/OPL0RVmCtf1yrJG9hw jEiZ4yfHv+u6THEUFeJ5NPVSUNqA9ElkCndKBhsdR2ttVITOE214xWLsYt8Kio65gVtr NxGoPUQCFFXwGjKOE4ZLCx6E4yu98sJFoT0qB3VcA6zXznUKL0uxnbg3xQAAdJsL0KtF 3ye768qCijK1nteL0YMYi3qFyd5sUjHvi9dS6x0ZjwX3fkTKXDrWJnnbpCwowph1jnbn h+0w== 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=aHEnQ3WjJgRE75tPanF4QMLxxbELT7XO6UhujvfSkVI=; b=SRUABzPWfiUHjGroioj9ZwPUuDk94UooFRRcFeE+y79OaoQigN6Jo0UNF32QA+zxij 2hRQpEF4NYhZpJznud4/wxNtQqDX9nnujklIVohLZsWEWNWyKV9NLpdPZdDZ6SgWisXa Cd83gYRE+vGj0HwRO6oW2yRXcFVZ47rGXW90hWUg7CRPtyDdSbWduekJqn0bnLI05wBC gaxIPgZQ06XVcNpnmJo0/j9VgyHb//DmSeo7rWiPBsuNpRXt6fcvsrDZZtEfWsVIINAn TVyrBaUwcn0GeeBN8T3p2jKa/SnAujyyLi82Gg8+0Q0SGa87NYJZB1lXK65UGsTQQsh2 QA5g== X-Gm-Message-State: APjAAAXX+IC1xxFkfDKUwHibO2s1Xh2mfgiyM1rrc+YKn9wy+NhbpiDW 3W2sCSi9/wogLZWmGXyBKn8= X-Google-Smtp-Source: APXvYqxzLmxzpupPgw+cr4wAhS8YuPi88EpwW3bSHiqRtlGnoZ1t+5toKHZ+V4ivrwDQ3l0FPnJCHg== X-Received: by 2002:a05:6000:1112:: with SMTP id z18mr7833501wrw.140.1581420564336; Tue, 11 Feb 2020 03:29:24 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id e1sm4993860wrt.84.2020.02.11.03.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 03:29:23 -0800 (PST) From: luca.boccassi@gmail.com To: Apeksha Gupta Cc: Ferruh Yigit , dpdk stable Date: Tue, 11 Feb 2020 11:20:44 +0000 Message-Id: <20200211112216.3929-98-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200211112216.3929-1-luca.boccassi@gmail.com> References: <20200211112216.3929-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/dpaa: fix Rx offload flags on jumbo MTU set' has been queued to stable release 19.11.1 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.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/13/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 ba0d3f9bae1e243b9573b06c61c4f3793c052a39 Mon Sep 17 00:00:00 2001 From: Apeksha Gupta Date: Thu, 16 Jan 2020 13:26:38 +0530 Subject: [PATCH] net/dpaa: fix Rx offload flags on jumbo MTU set [ upstream commit 40c79ea091e37efc836597cac2fa98be08feb72a ] The JUMBO frame handling in dpaa_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: Apeksha Gupta Reviewed-by: Ferruh Yigit --- drivers/net/dpaa/dpaa_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 26805f17b7..fce9ce2feb 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -174,7 +174,7 @@ dpaa_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) } if (frame_size > RTE_ETHER_MAX_LEN) - dev->data->dev_conf.rxmode.offloads &= + dev->data->dev_conf.rxmode.offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME; else dev->data->dev_conf.rxmode.offloads &= -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-11 11:17:42.273433964 +0000 +++ 0098-net-dpaa-fix-Rx-offload-flags-on-jumbo-MTU-set.patch 2020-02-11 11:17:38.544004040 +0000 @@ -1,15 +1,16 @@ -From 40c79ea091e37efc836597cac2fa98be08feb72a Mon Sep 17 00:00:00 2001 +From ba0d3f9bae1e243b9573b06c61c4f3793c052a39 Mon Sep 17 00:00:00 2001 From: Apeksha Gupta Date: Thu, 16 Jan 2020 13:26:38 +0530 Subject: [PATCH] net/dpaa: fix Rx offload flags on jumbo MTU set +[ upstream commit 40c79ea091e37efc836597cac2fa98be08feb72a ] + The JUMBO frame handling in dpaa_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") -Cc: stable@dpdk.org Signed-off-by: Apeksha Gupta Reviewed-by: Ferruh Yigit