]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Don't reset the hardware when switching between LFC and PFC
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Sun, 17 May 2009 12:35:57 +0000 (12:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2009 04:04:14 +0000 (21:04 -0700)
commitacaf36d5c8907972708813cae85d92e875ae76d3
tree704a68bff5c26881bfff502d5dd0f2af610b1e46
parent62f3aadc1c84dd8c8ab89501984dbe984d42e0fc
ixgbe: Don't reset the hardware when switching between LFC and PFC

When running in DCB mode, switching between link flow control and priority
flow control shouldn't need to reset the hardware.  This removes that
reset.

This also extends the set_all() dcbnl callback to return a value indicating
that the HW config changed, however a reset was not required.

Signed-off-by: Peter P Waskiewicz Jr <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>
drivers/net/ixgbe/ixgbe_dcb_nl.c