[dpdk-stable] patch 'ethdev: move non-offload capabilities' has been queued to LTS release 18.11.11

Kevin Traynor ktraynor at redhat.com
Wed Nov 18 17:35:58 CET 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.11

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/24/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.

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/d767546029d3df964a2168a982220fc64c0b4802

Thanks.

Kevin.

---
>From d767546029d3df964a2168a982220fc64c0b4802 Mon Sep 17 00:00:00 2001
From: Thomas Monjalon <thomas at monjalon.net>
Date: Tue, 27 Oct 2020 14:20:22 +0100
Subject: [PATCH] ethdev: move non-offload capabilities

[ upstream commit e9ef7ec12be0764924b6eebfe2f00b15ed0345ff ]

The definitions of RTE_ETH_DEV_CAPA_RUNTIME_RX_QUEUE_SETUP
and RTE_ETH_DEV_CAPA_RUNTIME_TX_QUEUE_SETUP were inserted
before the last comment of Tx offloads.

It is moved in a better place,
with comments moved to be before the definition.
A group comment is added to better describe device capabilities.

Fixes: cac923cfea47 ("ethdev: support runtime queue setup")

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
---
 lib/librte_ethdev/rte_ethdev.h | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index e1f299c993..8fec807475 100644
--- a/lib/librte_ethdev/rte_ethdev.h
+++ b/lib/librte_ethdev/rte_ethdev.h
@@ -1019,10 +1019,4 @@ struct rte_eth_conf {
  */
 #define DEV_TX_OFFLOAD_MATCH_METADATA   0x00200000
-
-#define RTE_ETH_DEV_CAPA_RUNTIME_RX_QUEUE_SETUP 0x00000001
-/**< Device supports Rx queue setup after device started*/
-#define RTE_ETH_DEV_CAPA_RUNTIME_TX_QUEUE_SETUP 0x00000002
-/**< Device supports Tx queue setup after device started*/
-
 /*
  * If new Tx offload capabilities are defined, they also must be
@@ -1030,4 +1024,13 @@ struct rte_eth_conf {
  */
 
+/**@{@name Device capabilities
+ * Non-offload capabilities reported in rte_eth_dev_info.dev_capa.
+ */
+/** Device supports Rx queue setup after device started. */
+#define RTE_ETH_DEV_CAPA_RUNTIME_RX_QUEUE_SETUP 0x00000001
+/** Device supports Tx queue setup after device started. */
+#define RTE_ETH_DEV_CAPA_RUNTIME_TX_QUEUE_SETUP 0x00000002
+/**@}*/
+
 /*
  * Fallback default preferred Rx/Tx port parameters.
-- 
2.26.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-18 16:33:39.287209304 +0000
+++ 0072-ethdev-move-non-offload-capabilities.patch	2020-11-18 16:33:38.008215113 +0000
@@ -1 +1 @@
-From e9ef7ec12be0764924b6eebfe2f00b15ed0345ff Mon Sep 17 00:00:00 2001
+From d767546029d3df964a2168a982220fc64c0b4802 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit e9ef7ec12be0764924b6eebfe2f00b15ed0345ff ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -20,2 +21,2 @@
- lib/librte_ethdev/rte_ethdev.h | 16 +++++++++-------
- 1 file changed, 9 insertions(+), 7 deletions(-)
+ lib/librte_ethdev/rte_ethdev.h | 15 +++++++++------
+ 1 file changed, 9 insertions(+), 6 deletions(-)
@@ -24 +25 @@
-index f689550745..619cbe521e 100644
+index e1f299c993..8fec807475 100644
@@ -27 +28 @@
-@@ -1420,11 +1420,4 @@ struct rte_eth_conf {
+@@ -1019,10 +1019,4 @@ struct rte_eth_conf {
@@ -29,2 +30 @@
- #define DEV_TX_OFFLOAD_SEND_ON_TIMESTAMP 0x00200000
--
+ #define DEV_TX_OFFLOAD_MATCH_METADATA   0x00200000
@@ -39 +39 @@
-@@ -1432,4 +1425,13 @@ struct rte_eth_conf {
+@@ -1030,4 +1024,13 @@ struct rte_eth_conf {



More information about the stable mailing list