linux/drivers/net/ethernet/intel/ixgbevf
Xin Long b3a3c5176c ixgbevf: ixgbevf_write/read_posted_mbx should use IXGBE_ERR_MBX to initialize ret_val
Now ixgbevf_write/read_posted_mbx use -IXGBE_ERR_MBX as the initiative
return value, but it's incorrect, cause in ixgbevf_vlan_rx_add_vid(),
it use err == IXGBE_ERR_MBX, the err returned from mac.ops.set_vfta,
and in ixgbevf_set_vfta_vf, it return from write/read_posted. so we
should initialize err with IXGBE_ERR_MBX, instead of -IXGBE_ERR_MBX.

With this fix, the other functions that called it also can work well,
cause they only care about if err is 0 or not.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-06-29 09:18:06 -07:00
..
defines.h ixgbevf: Add the device ID's presented while running on Hyper-V 2016-05-04 00:24:28 -07:00
ethtool.c ixgbevf: make use of BIT() macro to avoid shift of signed values 2016-04-25 04:41:56 -07:00
ixgbevf_main.c intel: Add support for IPv6 IP-in-IP offload 2016-05-20 19:25:52 -04:00
ixgbevf.h ixgbevf: Use mac_ops instead of trying to identify NIC type 2016-05-04 00:24:31 -07:00
Makefile
mbx.c ixgbevf: ixgbevf_write/read_posted_mbx should use IXGBE_ERR_MBX to initialize ret_val 2016-06-29 09:18:06 -07:00
mbx.h ixgbe, ixgbevf: Add new mbox API xcast mode 2015-10-23 05:52:26 -07:00
regs.h
vf.c ixgbevf: Remove unused parameter 2016-05-04 00:24:32 -07:00
vf.h ixgbevf: Remove unused parameter 2016-05-04 00:24:32 -07:00