mbox series

[net-next,0/4] Add trusted VF support

Message ID 20210611094205.28230-1-naveenm@marvell.com
Headers show
Series Add trusted VF support | expand

Message

Naveen Mamindlapalli June 11, 2021, 9:42 a.m. UTC
This series adds support for trusted VF. The trusted VF support
allows VFs to perform priviliged operations such as setting VF
interface in promiscuous mode, all-multicast mode and also
changing the VF MAC address even if it was asssigned by PF.

Patches #1 and #2 provides the necessary functionality for supporting
promiscuous and multicast packets on both the PF and VF.

Patches #3 and #4 enable trusted VF configuration support.

Hariprasad Kelam (2):
  octeontx2-af: add new mailbox to configure VF trust mode
  octeontx2-pf: add support for ndo_set_vf_trust

Naveen Mamindlapalli (2):
  octeontx2-af: add support for multicast/promisc packet replication
    feature
  octeontx2-nicvf: add ndo_set_rx_mode support for multicast & promisc

 drivers/net/ethernet/marvell/octeontx2/af/common.h |   5 +
 drivers/net/ethernet/marvell/octeontx2/af/mbox.h   |  14 +-
 drivers/net/ethernet/marvell/octeontx2/af/npc.h    |   3 +-
 drivers/net/ethernet/marvell/octeontx2/af/rvu.c    |  42 +++
 drivers/net/ethernet/marvell/octeontx2/af/rvu.h    |  55 +++-
 .../ethernet/marvell/octeontx2/af/rvu_debugfs.c    |   5 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_nix.c    | 270 ++++++++++++++----
 .../net/ethernet/marvell/octeontx2/af/rvu_npc.c    | 308 ++++++++++++++-------
 .../net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c |  21 +-
 .../ethernet/marvell/octeontx2/nic/otx2_common.h   |   6 +
 .../net/ethernet/marvell/octeontx2/nic/otx2_pf.c   | 132 +++++++--
 .../net/ethernet/marvell/octeontx2/nic/otx2_vf.c   |  58 +++-
 12 files changed, 729 insertions(+), 190 deletions(-)