[v2,2/2] net/cnxk: support Tx queue flow pattern item
Checks
Commit Message
From: Satheesh Paul <psatheesh@marvell.com>
Added support for Tx queue flow pattern item.
Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
Reviewed-by: Kiran Kumar K <kirankumark@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(-)
@@ -73,6 +73,7 @@ nvgre = Y
raw = Y
sctp = Y
tcp = Y
+tx_queue = Y
udp = Y
vlan = Y
vxlan = Y
@@ -68,6 +68,7 @@ nvgre = Y
raw = Y
sctp = Y
tcp = Y
+tx_queue = Y
udp = Y
vlan = Y
vxlan = Y
@@ -64,6 +64,7 @@ nvgre = Y
raw = Y
sctp = Y
tcp = Y
+tx_queue = Y
udp = Y
vlan = Y
vxlan = Y
@@ -142,6 +142,7 @@ represented_port =
sctp =
tag =
tcp =
+tx_queue =
udp =
vlan =
vxlan =
@@ -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,