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)
commit4e1af7bf22ca913502fb04c06477b9265b54684f
tree3624d8b09ad7a58337f7c85308127c2eb0b4c83c
parenta7c9b47bc9936c97325cfc3eb22a1dbbca61b4b6
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