Skip to content

octeontx2: Multicast/mirror offload changes

Suman Ghosh lkml netdev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 4 repliesIn review
  2. v52 patches 3 repliesSuperseded 1 of 2 applied
  3. v42 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v32 patches6 repliesSuperseded
v22 patches3 repliesSuperseded
v12 patches3 repliesSuperseded

Changes in v6 from the cover letter

- Rebased on TOT.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2octeontx2-af: Add new mbox to support multicast/mirror offloaddrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu.h +3 more+868 -384 replies
2/2octeontx2-pf: TC flower offload support for mirrordrivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c+110 -30 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchWojciech DrewekSimon Horman
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [net-next PATCH v6 0/2] octeontx2: Multicast/mirror offload changes

This patchset includes changes to support TC multicast/mirror offload.

Patch #1: Adds changes to support new mailbox to offload multicast/mirror offload.

Patch #2: Adds TC related changes which uses the newly added mailboxes to offload multicast/mirror rules.

Suman Ghosh (2):
octeontx2-af: Add new mbox to support multicast/mirror offload
octeontx2-pf: TC flower offload support for mirror

v6 changes:
- Rebased on TOT.

v5 changes:
- Updated patch#1.
Using hlist_for_each_entry_safe() in function nix_add_mce_list_entry() for node deletion.

v4 changes:
- Updated pacth#1 based on comments from Paolo. The major change is to simplify mutex_lock/unlock logic in function rvu_mbox_handler_nix_mcast_grp_update(), rvu_mbox_handler_nix_mcast_grp_destroy() and rvu_nix_mcast_flr_free_entries().
Added one extra variable in the mailbox to indicate if the update/delete request is from AF or not. If AF is requesting for update/delete then the caller is taking the lock.

v3 changes:
- Updated patch#1 based on comments from Wojciech and Simon. The comments were mostly based on some missed mutex_unlock and code reorganization.

v2 changes:
- Updated small nits based on review comments from Wojciech Drewek in file drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c

 .../net/ethernet/marvell/octeontx2/af/mbox.h  |  72 ++
 .../net/ethernet/marvell/octeontx2/af/rvu.c   |   6 +-
 .../net/ethernet/marvell/octeontx2/af/rvu.h   |  39 +-
 .../ethernet/marvell/octeontx2/af/rvu_nix.c   | 702 +++++++++++++++++-
 .../ethernet/marvell/octeontx2/af/rvu_npc.c   |  14 +-
 .../marvell/octeontx2/af/rvu_npc_fs.c         |  73 +-
 .../ethernet/marvell/octeontx2/nic/otx2_tc.c  | 113 ++-
 7 files changed, 978 insertions(+), 41 deletions(-)
Signature · 1 line
2.25.1