net/ixgbe/base: return error on VF MAC address failure
authorBeilei Xing <beilei.xing@intel.com>
Thu, 23 Jun 2016 07:22:11 +0000 (15:22 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 27 Jun 2016 14:17:52 +0000 (16:17 +0200)
commite367815d20aa6fac94f90862642a485d71ae9767
tree00cc8c94f10c1bf9dbc589b04cb7d1529a262514
parent833df43399e7f7183a126a53dd29c864844b9e03
net/ixgbe/base: return error on VF MAC address failure

An error code indicating that the PF rejects the MAC address change
should be returned, in case that the PF has already assigned a MAC
for the VF.

Fixes: af75078fece3 ("first public release")

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