linux/drivers/net/ethernet/intel
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
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-04-09 17:41:41 -04:00
e1000e e1000e: keep Rx/Tx HW_VLAN_CTAG in sync 2016-06-29 09:10:17 -07:00
fm10k treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
i40e intel: Add support for IPv6 IP-in-IP offload 2016-05-20 19:25:52 -04:00
i40evf intel: Add support for IPv6 IP-in-IP offload 2016-05-20 19:25:52 -04:00
igb intel: Add support for IPv6 IP-in-IP offload 2016-05-20 19:25:52 -04:00
igbvf intel: Add support for IPv6 IP-in-IP offload 2016-05-20 19:25:52 -04:00
ixgb drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ixgbe intel: Add support for IPv6 IP-in-IP offload 2016-05-20 19:25:52 -04:00
ixgbevf ixgbevf: ixgbevf_write/read_posted_mbx should use IXGBE_ERR_MBX to initialize ret_val 2016-06-29 09:18:06 -07:00
e100.c
Kconfig net: intel: remove dead links 2016-04-06 20:54:45 -07:00
Makefile