]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Fix issue with VF attempt to delete default MAC address
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Wed, 20 Feb 2019 17:11:48 +0000 (09:11 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 26 Mar 2019 21:49:59 +0000 (14:49 -0700)
commit3d76f3b9d4ca0371fabd522d2257d6f55fbcec68
tree3624d8b09ad7a58337f7c85308127c2eb0b4c83c
parent27b7ab0ee1f9a09f911acb74ddec298847dda0de
ice: Fix issue with VF attempt to delete default MAC address

This patch fixes issue that occurs when VF is attempting to remove
default LAN/MAC address, which is programmed by the administrator.
We shouldn't return error for the call by the VF, but continue with
the remaining steps to handle MAC opcode. Also update the dev_err
message to explicitly say that VF can't change MAC programmed by PF.

Also change "mac" to "MAC" for kernel print statements in the same file.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c