This patchset refactors and cleans up the code associated with the npc install flow API, specifically to eliminate different code paths while installing MCAM rules by AF and PF. This makes the code easier to understand and maintain. Also added support for multi channel NIX promisc entry.
Nalla, Pradeep (1): octeontx2-af: Add support for multi channel in NIX promisc entry Naveen Mamindlapalli (3): octeontx2-af: refactor function npc_install_flow for default entry octeontx2-af: Use npc_install_flow API for promisc and broadcast entries octeontx2-af: Modify the return code for unsupported flow keys Subbaraya Sundeep (1): octeontx2-af: Avoid duplicate unicast rule in mcam_rules list drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 2 + drivers/net/ethernet/marvell/octeontx2/af/npc.h | 5 + drivers/net/ethernet/marvell/octeontx2/af/rvu.h | 17 ++- .../ethernet/marvell/octeontx2/af/rvu_debugfs.c | 2 +- .../net/ethernet/marvell/octeontx2/af/rvu_nix.c | 10 +- .../net/ethernet/marvell/octeontx2/af/rvu_npc.c | 157 +++++++++++---------- .../net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c | 62 ++++---- 7 files changed, 139 insertions(+), 116 deletions(-) -- 2.16.5