]> git.droids-corp.org - dpdk.git/commit
common/cnxk: support parsing custom SA action
authorKiran Kumar K <kirankumark@marvell.com>
Wed, 4 May 2022 05:11:16 +0000 (10:41 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 7 May 2022 09:44:56 +0000 (11:44 +0200)
commitbbe8d1f198a978ae43394a01c6db6ad4d21057fe
treef0ff47ee56bd93fdcba5922fa5154de107d71145
parent332cae00ad30cf9fe0c61eaecdb47ab529f8d41f
common/cnxk: support parsing custom SA action

Adding ROC Flow changes to parse custom SA action for cnxk device.
When custom sa action is enabled, VTAG actions are not allowed.
And custom SA index will be calculated based on SA_HI and SA_LO
values. This allows the potential for a MCAM entry to match
many SAs, rather than only match a single SA.

Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_inl.c
drivers/common/cnxk/roc_npc.c
drivers/common/cnxk/roc_npc.h