Skip to content

refactor code related to npc install flow

Naveen Mamindlapalli netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5octeontx2-af: refactor function npc_install_flow for default entrydrivers/net/ethernet/marvell/octeontx2/af/npc.h drivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c +2 more+51 -620 repliesApplied
2/5octeontx2-af: Add support for multi channel in NIX promisc entrydrivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c+19 -40 repliesApplied
3/5octeontx2-af: Use npc_install_flow API for promisc and broadcast entriesdrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c+67 -510 repliesApplied
4/5octeontx2-af: Avoid duplicate unicast rule in mcam_rules listdrivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c+7 -60 repliesApplied
5/5octeontx2-af: Modify the return code for unsupported flow keysdrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c+5 -30 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/5] refactor code related to npc install flow

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(-)
Signature · 1 line
2.16.5