]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ixgbe: Allow Priority Flow Control settings to survive a device reset
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Wed, 25 Mar 2009 22:10:42 +0000 (22:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2009 08:13:51 +0000 (01:13 -0700)
commitbb3daa4a5960cd9d39bad88679fcf587b456c05d
tree31cbdf87fed0af126ff0c3e0647dfa90aab8a7c7
parentede5ad0e29b641c3d3a644272a9127bfd98dfcc8
ixgbe: Allow Priority Flow Control settings to survive a device reset

When changing DCB parameters, ixgbe needs to have the MAC reset.  The way
the flow control code is setup today, PFC will be disabled on a reset.
This patch adds a new flow control type for PFC, and then has the netlink
layer take care of toggling which type of flow control to enable.

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_common.c
drivers/net/ixgbe/ixgbe_dcb_82598.c
drivers/net/ixgbe/ixgbe_dcb_82599.c
drivers/net/ixgbe/ixgbe_dcb_nl.c
drivers/net/ixgbe/ixgbe_type.h