net/octeontx2: extract nvgre as ltype
Checks
Commit Message
From: Kiran Kumar K <kirankumark@marvell.com>
Adding change to sync RTE Flow with KPU profile to extract
NVGRE as ltype.
Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
---
drivers/net/octeontx2/otx2_flow_parse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, Sep 11, 2019 at 2:49 PM <kirankumark@marvell.com> wrote:
>
> From: Kiran Kumar K <kirankumark@marvell.com>
>
> Adding change to sync RTE Flow with KPU profile to extract
> NVGRE as ltype.
>
> Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Applied to dpdk-next-net-mrvl/master. Thanks
> ---
> drivers/net/octeontx2/otx2_flow_parse.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/octeontx2/otx2_flow_parse.c b/drivers/net/octeontx2/otx2_flow_parse.c
> index 6670c1a70..a811cb90c 100644
> --- a/drivers/net/octeontx2/otx2_flow_parse.c
> +++ b/drivers/net/octeontx2/otx2_flow_parse.c
> @@ -458,7 +458,7 @@ otx2_flow_parse_ld(struct otx2_parse_state *pst)
> info.hw_hdr_len = 4;
> break;
> case RTE_FLOW_ITEM_TYPE_NVGRE:
> - lt = NPC_LT_LD_GRE;
> + lt = NPC_LT_LD_NVGRE;
> lflags = NPC_F_GRE_NVGRE;
> info.def_mask = &rte_flow_item_nvgre_mask;
> info.len = sizeof(struct rte_flow_item_nvgre);
> --
> 2.17.1
>
@@ -458,7 +458,7 @@ otx2_flow_parse_ld(struct otx2_parse_state *pst)
info.hw_hdr_len = 4;
break;
case RTE_FLOW_ITEM_TYPE_NVGRE:
- lt = NPC_LT_LD_GRE;
+ lt = NPC_LT_LD_NVGRE;
lflags = NPC_F_GRE_NVGRE;
info.def_mask = &rte_flow_item_nvgre_mask;
info.len = sizeof(struct rte_flow_item_nvgre);