]> 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)
commitbbfb4f55a5adf78bacd1bc8b8535356458bf90df
tree1a52b36ef85ae1722fb6e66f0146923ed26d2d56
parent3e253fc8e0c265a10e28690c0a0eb0814048ccdc
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