[dpdk-stable] patch 'ethdev: fix missing names in Tx offload name array' has been queued to stable release 18.08.1

Kevin Traynor ktraynor at redhat.com
Tue Nov 20 20:12:22 CET 2018


Hi,

FYI, your patch has been queued to stable release 18.08.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 11/23/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.

Kevin Traynor

---
>From 481e72a9926d41f2cefa7c15f1befd180aa20ed5 Mon Sep 17 00:00:00 2001
From: Dekel Peled <dekelp at mellanox.com>
Date: Wed, 12 Sep 2018 11:28:02 +0300
Subject: [PATCH] ethdev: fix missing names in Tx offload name array

[ upstream commit d9552ee24a9f6805ba3951647c26a21839fadefe ]

Patch 5355f443 added two definitions of DEV_TX_OFFLOAD_xxx.
If new Tx offload capabilities are defined, they also must be mentioned
in rte_tx_offload_names in rte_ethdev.c file.

This patch adds the required lines in array rte_tx_offload_names.

Fixes: 5355f4439e2e ("ethdev: introduce generic IP/UDP tunnel checksum and TSO")

Signed-off-by: Dekel Peled <dekelp at mellanox.com>
Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
---
 lib/librte_ethdev/rte_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c
index 850d0c1b5..a43dfc8b7 100644
--- a/lib/librte_ethdev/rte_ethdev.c
+++ b/lib/librte_ethdev/rte_ethdev.c
@@ -157,4 +157,6 @@ static const struct {
 	RTE_TX_OFFLOAD_BIT2STR(MBUF_FAST_FREE),
 	RTE_TX_OFFLOAD_BIT2STR(SECURITY),
+	RTE_TX_OFFLOAD_BIT2STR(UDP_TNL_TSO),
+	RTE_TX_OFFLOAD_BIT2STR(IP_TNL_TSO),
 };
 
-- 
2.19.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2018-11-20 17:53:08.235611914 +0000
+++ 0032-ethdev-fix-missing-names-in-Tx-offload-name-array.patch	2018-11-20 17:53:07.000000000 +0000
@@ -1,8 +1,10 @@
-From d9552ee24a9f6805ba3951647c26a21839fadefe Mon Sep 17 00:00:00 2001
+From 481e72a9926d41f2cefa7c15f1befd180aa20ed5 Mon Sep 17 00:00:00 2001
 From: Dekel Peled <dekelp at mellanox.com>
 Date: Wed, 12 Sep 2018 11:28:02 +0300
 Subject: [PATCH] ethdev: fix missing names in Tx offload name array
 
+[ upstream commit d9552ee24a9f6805ba3951647c26a21839fadefe ]
+
 Patch 5355f443 added two definitions of DEV_TX_OFFLOAD_xxx.
 If new Tx offload capabilities are defined, they also must be mentioned
 in rte_tx_offload_names in rte_ethdev.c file.
@@ -10,7 +12,6 @@
 This patch adds the required lines in array rte_tx_offload_names.
 
 Fixes: 5355f4439e2e ("ethdev: introduce generic IP/UDP tunnel checksum and TSO")
-Cc: stable at dpdk.org
 
 Signed-off-by: Dekel Peled <dekelp at mellanox.com>
 Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
@@ -19,7 +20,7 @@
  1 file changed, 2 insertions(+)
 
 diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c
-index 3f8de9341..5004b9f7b 100644
+index 850d0c1b5..a43dfc8b7 100644
 --- a/lib/librte_ethdev/rte_ethdev.c
 +++ b/lib/librte_ethdev/rte_ethdev.c
 @@ -157,4 +157,6 @@ static const struct {


More information about the stable mailing list