net/ixgbe/base: allow setting MAC anti spoofing per VF
authorBeilei Xing <beilei.xing@intel.com>
Thu, 23 Jun 2016 07:22:34 +0000 (15:22 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 27 Jun 2016 14:17:53 +0000 (16:17 +0200)
commitdad45d17651d74cb0ce1a4b4e15e0ee7accebdbb
tree961ee347678897a05913feb2583b625f732b86a5
parent7887b024640239fa051b63825539643f16128aac
net/ixgbe/base: allow setting MAC anti spoofing per VF

Make ixgbe_set_mac_anti_spoofing() consistent with the other
functions that deal with setting VLAN and Ethertype spoofing by
changing the prototype to accept a VF parameter.

Also change the logic for writing the PFVFSPOOF register to be similar
to the MAC and Ethertype functions.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c
drivers/net/ixgbe/base/ixgbe_common.h