[dpdk-dev] [PATCH v2 2/2] net/cnxk: support Tx queue flow pattern item
psatheesh at marvell.com
psatheesh at marvell.com
Wed May 24 06:53:46 CEST 2023
From: Satheesh Paul <psatheesh at marvell.com>
Added support for Tx queue flow pattern item.
Signed-off-by: Satheesh Paul <psatheesh at marvell.com>
Reviewed-by: Kiran Kumar K <kirankumark at marvell.com>
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
doc/guides/nics/features/cnxk_vf.ini | 1 +
doc/guides/nics/features/default.ini | 1 +
drivers/net/cnxk/cnxk_flow.c | 4 +++-
5 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/features/cnxk.ini b/doc/guides/nics/features/cnxk.ini
index 7947c044bb..838e781d6d 100644
--- a/doc/guides/nics/features/cnxk.ini
+++ b/doc/guides/nics/features/cnxk.ini
@@ -73,6 +73,7 @@ nvgre = Y
raw = Y
sctp = Y
tcp = Y
+tx_queue = Y
udp = Y
vlan = Y
vxlan = Y
diff --git a/doc/guides/nics/features/cnxk_vec.ini b/doc/guides/nics/features/cnxk_vec.ini
index 5d0976e6ce..e2cac64e4b 100644
--- a/doc/guides/nics/features/cnxk_vec.ini
+++ b/doc/guides/nics/features/cnxk_vec.ini
@@ -68,6 +68,7 @@ nvgre = Y
raw = Y
sctp = Y
tcp = Y
+tx_queue = Y
udp = Y
vlan = Y
vxlan = Y
diff --git a/doc/guides/nics/features/cnxk_vf.ini b/doc/guides/nics/features/cnxk_vf.ini
index 873e1dcc0a..470c45ce59 100644
--- a/doc/guides/nics/features/cnxk_vf.ini
+++ b/doc/guides/nics/features/cnxk_vf.ini
@@ -64,6 +64,7 @@ nvgre = Y
raw = Y
sctp = Y
tcp = Y
+tx_queue = Y
udp = Y
vlan = Y
vxlan = Y
diff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini
index 1a5087abad..52a57d0805 100644
--- a/doc/guides/nics/features/default.ini
+++ b/doc/guides/nics/features/default.ini
@@ -142,6 +142,7 @@ represented_port =
sctp =
tag =
tcp =
+tx_queue =
udp =
vlan =
vxlan =
diff --git a/drivers/net/cnxk/cnxk_flow.c b/drivers/net/cnxk/cnxk_flow.c
index f13d8e5582..9595fe9386 100644
--- a/drivers/net/cnxk/cnxk_flow.c
+++ b/drivers/net/cnxk/cnxk_flow.c
@@ -58,7 +58,9 @@ const struct cnxk_rte_flow_term_info term[] = {
[RTE_FLOW_ITEM_TYPE_RAW] = {ROC_NPC_ITEM_TYPE_RAW,
sizeof(struct rte_flow_item_raw)},
[RTE_FLOW_ITEM_TYPE_MARK] = {ROC_NPC_ITEM_TYPE_MARK,
- sizeof(struct rte_flow_item_mark)}};
+ sizeof(struct rte_flow_item_mark)},
+ [RTE_FLOW_ITEM_TYPE_TX_QUEUE] = {ROC_NPC_ITEM_TYPE_TX_QUEUE,
+ sizeof(struct rte_flow_item_tx_queue)}};
static int
npc_rss_action_validate(struct rte_eth_dev *eth_dev,
--
2.39.2
More information about the dev
mailing list