]> git.baikalelectronics.ru Git - kernel.git/commit
igb: add VF trust infrastructure
authorCorinna Vinschen <vinschen@redhat.com>
Wed, 17 Jan 2018 10:53:39 +0000 (11:53 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 5 Mar 2018 16:35:05 +0000 (08:35 -0800)
commite6c92628193d9907594f31c551aa8dc1338658bf
tree1795fe55acf088b8ea001811fac819e571bb2327
parent7a3ab9268ebf388be18a1e6748a6c8ebd93d85dd
igb: add VF trust infrastructure

* Add a per-VF value to know if a VF is trusted, by default don't
  trust VFs.

* Implement netdev op to trust VFs (igb_ndo_set_vf_trust) and add
  trust status to ndo_get_vf_config output.

* Allow a trusted VF to change MAC and MAC filters even if MAC
  has been administratively set.

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_main.c