]> asedeno.scripts.mit.edu Git - linux.git/commit
i40evf: Change a VF mac without reloading the VF driver
authorPaweł Jabłoński <pawel.jablonski@intel.com>
Mon, 20 Aug 2018 15:12:26 +0000 (08:12 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 30 Aug 2018 20:53:03 +0000 (13:53 -0700)
commitae1e29f671b467f3e9e9aa2b82ee40e4300ea810
treef9836ea73e4988a8068221ba88a38d01ee8d6275
parent6dba41cd02fc0c408ae9a99809e1960a691dfad0
i40evf: Change a VF mac without reloading the VF driver

Add possibility to change a VF mac address from host side
without reloading the VF driver on the guest side. Without
this patch it is not possible to change the VF mac because
executing i40evf_virtchnl_completion function with
VIRTCHNL_OP_GET_VF_RESOURCES opcode resets the VF mac
address to previous value.

Signed-off-by: Paweł Jabłoński <pawel.jablonski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c