]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-pf: add support for ndo_set_vf_trust
authorHariprasad Kelam <hkelam@marvell.com>
Fri, 11 Jun 2021 09:42:05 +0000 (15:12 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 20:21:11 +0000 (13:21 -0700)
commitb8121c56ca0820bff31f55b54c8865498ac5606b
tree1a52b36ef85ae1722fb6e66f0146923ed26d2d56
parent382cd06036fbb5e677cd4b0701d6d9432e744600
octeontx2-pf: add support for ndo_set_vf_trust

Add support for setting a VF as a trusted VF by PF admin. Trusted VF
feature allows VFs to perform priviliged operations such as enabling
VF promiscuous mode, all-multicast mode and changing the VF MAC address
even if it was assigned by PF.

Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <Sunil.Goutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c