From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by dpdk.org (Postfix) with ESMTP id E0C9AF94 for ; Mon, 29 Oct 2018 13:54:09 +0100 (CET) Received: by mail-wm1-f66.google.com with SMTP id f1-v6so9489000wmg.1 for ; Mon, 29 Oct 2018 05:54:09 -0700 (PDT) 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=OVpwluQrtzF4UCn5vLonIGoa4uizE5znQXsjf45qUrw=; b=d3tr5oYUmicQQXmixiB3mVxl7t7l16FpkDabrl8EddURT/EdHqwkKlB/y0sYnt33V7 st4ng5NQ8y1Qu3HOF4CQFVOsQhzSqtopLKrg/wunTIuOk0vXFvzH9JD61HhGliiZ/TMS ogRhsh3uqh3l0TMillZYFKI3R5RDm+wYKxQz6zu1OnaT66duRxjqGNDAD4+Z7xoQvBQB QRI4rCqGX2hPqCQkKYjGW9FzzgxLhZHxt6lVg23BCM4ZBRferpE7EYvnojwgqKkDaBNu NM0tPkj9jnW7X2OT0X21zl1Jr3z6/OHYdFuejWK+OdkRNN2lxQq+JDJnuvWZHzh8B1yK olHA== X-Gm-Message-State: AGRZ1gJ/I4tqsBWIUuTtXI6Ql10eJx15VkIKswDmDHU/ey7K9C7LDC4u tN2m66nmB6V9ltvyhYPVs/I= X-Google-Smtp-Source: AJdET5dSpuau/I0t2RukVf4aaZFmCLNNE8ZPgqnDeVxdW/YVh/7sSRXBe8Mz9nqzkP8jeCB3AqCGOw== X-Received: by 2002:a1c:63c2:: with SMTP id x185-v6mr4207342wmb.27.1540817649473; Mon, 29 Oct 2018 05:54:09 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id a1-v6sm16576303wrt.79.2018.10.29.05.54.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Oct 2018 05:54:08 -0700 (PDT) From: Luca Boccassi To: Beilei Xing Cc: Qi Zhang , dpdk stable Date: Mon, 29 Oct 2018 12:53:23 +0000 Message-Id: <20181029125329.17729-14-bluca@debian.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181029125329.17729-1-bluca@debian.org> References: <20181015115144.27626-1-bluca@debian.org> <20181029125329.17729-1-bluca@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/i40e: update Tx offload mask' has been queued to LTS release 16.11.9 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: , X-List-Received-Date: Mon, 29 Oct 2018 12:54:10 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/31/18. 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. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Luca Boccassi --- >>From c70507ce48a6a96ff8df2203b088c2c490178b42 Mon Sep 17 00:00:00 2001 From: Beilei Xing Date: Tue, 23 Oct 2018 14:14:31 +0800 Subject: [PATCH] net/i40e: update Tx offload mask [ upstream commit e4845bb4a68513c477dd35fcdcb086681788be7d ] Tx offload mask is updated in following commit: commit 1037ed842c37 ("mbuf: fix Tx offload mask"). Currently, the new added offload flags are not supported in PMD and application will fail to call PMD transmit prepare function. This patch updates PMD Tx offload mask. Signed-off-by: Beilei Xing Acked-by: Qi Zhang --- drivers/net/i40e/i40e_rxtx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index 777ffc215..2c56c1ac2 100644 --- a/drivers/net/i40e/i40e_rxtx.c +++ b/drivers/net/i40e/i40e_rxtx.c @@ -74,6 +74,10 @@ #define I40E_TXD_CMD (I40E_TX_DESC_CMD_EOP | I40E_TX_DESC_CMD_RS) #define I40E_TX_CKSUM_OFFLOAD_MASK ( \ + PKT_TX_OUTER_IPV4 | \ + PKT_TX_OUTER_IPV6 | \ + PKT_TX_IPV4 | \ + PKT_TX_IPV6 | \ PKT_TX_IP_CKSUM | \ PKT_TX_L4_MASK | \ PKT_TX_TCP_SEG | \ -- 2.19.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-10-29 12:48:14.749830564 +0000 +++ 0014-net-i40e-update-Tx-offload-mask.patch 2018-10-29 12:48:14.466417981 +0000 @@ -1,8 +1,10 @@ -From e4845bb4a68513c477dd35fcdcb086681788be7d Mon Sep 17 00:00:00 2001 +From c70507ce48a6a96ff8df2203b088c2c490178b42 Mon Sep 17 00:00:00 2001 From: Beilei Xing Date: Tue, 23 Oct 2018 14:14:31 +0800 Subject: [PATCH] net/i40e: update Tx offload mask +[ upstream commit e4845bb4a68513c477dd35fcdcb086681788be7d ] + Tx offload mask is updated in following commit: commit 1037ed842c37 ("mbuf: fix Tx offload mask"). @@ -10,8 +12,6 @@ and application will fail to call PMD transmit prepare function. This patch updates PMD Tx offload mask. -Cc: stable@dpdk.org - Signed-off-by: Beilei Xing Acked-by: Qi Zhang --- @@ -19,20 +19,20 @@ 1 file changed, 4 insertions(+) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c -index b15dd67ad..8bfa25178 100644 +index 777ffc215..2c56c1ac2 100644 --- a/drivers/net/i40e/i40e_rxtx.c +++ b/drivers/net/i40e/i40e_rxtx.c -@@ -55,6 +55,10 @@ - PKT_TX_OUTER_IP_CKSUM) +@@ -74,6 +74,10 @@ + #define I40E_TXD_CMD (I40E_TX_DESC_CMD_EOP | I40E_TX_DESC_CMD_RS) - #define I40E_TX_OFFLOAD_MASK ( \ -+ PKT_TX_OUTER_IPV4 | \ -+ PKT_TX_OUTER_IPV6 | \ -+ PKT_TX_IPV4 | \ -+ PKT_TX_IPV6 | \ - PKT_TX_IP_CKSUM | \ - PKT_TX_L4_MASK | \ - PKT_TX_OUTER_IP_CKSUM | \ + #define I40E_TX_CKSUM_OFFLOAD_MASK ( \ ++ PKT_TX_OUTER_IPV4 | \ ++ PKT_TX_OUTER_IPV6 | \ ++ PKT_TX_IPV4 | \ ++ PKT_TX_IPV6 | \ + PKT_TX_IP_CKSUM | \ + PKT_TX_L4_MASK | \ + PKT_TX_TCP_SEG | \ -- 2.19.1