[PATCH 21.11] common/cnxk: fix dual VLAN parsing

Kevin Traynor ktraynor at redhat.com
Mon Mar 20 17:15:18 CET 2023


On 16/03/2023 04:08, psatheesh at marvell.com wrote:
> From: Satheesh Paul <psatheesh at marvell.com>
> 
> [ upstream fix 474124865694177da3d4e0a60c4686c6d5ac1e56 ]
> 
> Flow parsing was not handling pattern matching on the
> fields of inner VLAN even though MKEX profile could be
> extracting inner VLAN fields. Code has been modified
> to handle matching fields on two VLAN tags.
> 
> Fixes: c34ea71b878d ("common/cnxk: add NPC parsing API")
> 
> Signed-off-by: Satheesh Paul <psatheesh at marvell.com>
> ---
>   drivers/common/cnxk/roc_npc.h       |  19 +++
>   drivers/common/cnxk/roc_npc_parse.c | 214 +++++++++++++++++++++++-----
>   drivers/common/cnxk/roc_npc_priv.h  |   6 +
>   drivers/common/cnxk/roc_npc_utils.c |   2 +-
>   4 files changed, 206 insertions(+), 35 deletions(-)
> 

Thanks Satheesh, pushed to 21.11 branch.
Kevin.



More information about the stable mailing list