netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH v5 0/2] octeontx2: Multicast/mirror offload changes
@ 2023-11-30  3:43 Suman Ghosh
  2023-11-30  3:43 ` [net-next PATCH v5 1/2] octeontx2-af: Add new mbox to support multicast/mirror offload Suman Ghosh
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Suman Ghosh @ 2023-11-30  3:43 UTC (permalink / raw)
  To: sgoutham, gakula, sbhatta, hkelam, davem, edumazet, kuba, pabeni,
	netdev, linux-kernel, lcherian, jerinj, horms, wojciech.drewek
  Cc: Suman Ghosh

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

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-12-04 12:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-30  3:43 [net-next PATCH v5 0/2] octeontx2: Multicast/mirror offload changes Suman Ghosh
2023-11-30  3:43 ` [net-next PATCH v5 1/2] octeontx2-af: Add new mbox to support multicast/mirror offload Suman Ghosh
2023-11-30  9:15   ` Wojciech Drewek
2023-11-30 16:54   ` Simon Horman
2023-11-30  3:43 ` [net-next PATCH v5 2/2] octeontx2-pf: TC flower offload support for mirror Suman Ghosh
2023-11-30 16:54   ` Simon Horman
2023-12-04 12:30 ` [net-next PATCH v5 0/2] octeontx2: Multicast/mirror offload changes patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).