aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorJohn Fastabend <john.r.fastabend@intel.com>2010-01-27 16:38:06 +0000
committerDavid S. Miller <davem@davemloft.net>2010-01-28 05:55:54 -0800
commit3ce1cc52d2e76b6a6b9d0b52b70eb181497efa50 (patch)
treee6eed2508b3feab63eaa091b78616c17f5eed89a /drivers/net/bonding
parentixgbe: set the correct DCB bit for pg tx settings (diff)
downloadlinux-dev-3ce1cc52d2e76b6a6b9d0b52b70eb181497efa50.tar.xz
linux-dev-3ce1cc52d2e76b6a6b9d0b52b70eb181497efa50.zip
ixgbe: if ixgbe_copy_dcb_cfg is going to fail learn about it early
Call ixgbe_copy_dcb_cfg() earlier in the ixgbe_dcbnl_set_all() so that we can learn if this is going to fail as early as possible. Previously, ixgbe_down or ixgbe_close were being called before this check and the IXGBE_RESETTING bit was being set and cleared. Worse if this failed the corresponding ixgbe_up/ndo_open would not called. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions