[v2,2/2] net/cnxk: support PPPoE flow item type
Checks
Commit Message
From: Satheesh Paul <psatheesh@marvell.com>
Support to parse RTE_FLOW_ITEM_TYPE_PPPOES rte_flow item
type for cnxk device.
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/rel_notes/release_24_03.rst | 3 +++
drivers/net/cnxk/cnxk_flow.c | 7 ++++---
5 files changed, 10 insertions(+), 3 deletions(-)
Comments
On Thu, Dec 14, 2023 at 8:03 PM <psatheesh@marvell.com> wrote:
>
> From: Satheesh Paul <psatheesh@marvell.com>
>
> Support to parse RTE_FLOW_ITEM_TYPE_PPPOES rte_flow item
> type for cnxk device.
>
> Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
> Reviewed-by: Kiran Kumar K <kirankumark@marvell.com>
Series applied to dpdk-next-net-mrvl/for-main. Thanks
@@ -71,6 +71,7 @@ ipv6_routing_ext = Y
mark = Y
mpls = Y
nvgre = Y
+pppoes = Y
raw = Y
sctp = Y
tcp = Y
@@ -65,6 +65,7 @@ ipv6_frag_ext = Y
mark = Y
mpls = Y
nvgre = Y
+pppoes = Y
raw = Y
sctp = Y
tcp = Y
@@ -62,6 +62,7 @@ ipv6_routing_ext = Y
mark = Y
mpls = Y
nvgre = Y
+pppoes = Y
raw = Y
sctp = Y
tcp = Y
@@ -62,6 +62,9 @@ New Features
* Added optimized SSE Rx routines.
* Added optimized AVX2 Rx routines.
+* **Updated Marvell cnxk net driver.**
+
+ * Added support for ``RTE_FLOW_ITEM_TYPE_PPPOES`` flow item.
Removed Items
-------------
@@ -62,11 +62,12 @@ const struct cnxk_rte_flow_term_info term[] = {
[RTE_FLOW_ITEM_TYPE_IPV6_ROUTING_EXT] = {ROC_NPC_ITEM_TYPE_IPV6_ROUTING_EXT,
sizeof(struct rte_flow_item_ipv6_routing_ext)},
[RTE_FLOW_ITEM_TYPE_TX_QUEUE] = {ROC_NPC_ITEM_TYPE_TX_QUEUE,
- sizeof(struct rte_flow_item_tx_queue)}};
+ sizeof(struct rte_flow_item_tx_queue)},
+ [RTE_FLOW_ITEM_TYPE_PPPOES] = {ROC_NPC_ITEM_TYPE_PPPOES,
+ sizeof(struct rte_flow_item_pppoe)}};
static int
-npc_rss_action_validate(struct rte_eth_dev *eth_dev,
- const struct rte_flow_attr *attr,
+npc_rss_action_validate(struct rte_eth_dev *eth_dev, const struct rte_flow_attr *attr,
const struct rte_flow_action *act)
{
const struct rte_flow_action_rss *rss;