]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Allow link flow control in DCB mode for 82599 adapters
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Sun, 17 May 2009 12:35:16 +0000 (12:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2009 04:04:13 +0000 (21:04 -0700)
commit6bc91cad69cee2c015b4a30c31174b3be082575e
treeefb090175b49f72170555eab18cdcf1156ed2a4a
parentf794f6d833602b4c152be6d10de50b273cc76d6d
ixgbe: Allow link flow control in DCB mode for 82599 adapters

82599 supports using either link flow control or priority flow control when
in DCB mode.  The dcbnl interface already supports sending down
configurations through rtnetlink that can enable LFC when DCB is enabled,
so the driver should take advantage of this.

82598 does not support using LFC when DCB is enabled, so explicitly disable
it when we're in DCB mode.  This means we always run in PFC mode when DCB
is enabled.

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.h
drivers/net/ixgbe/ixgbe_82598.c
drivers/net/ixgbe/ixgbe_common.c
drivers/net/ixgbe/ixgbe_dcb_82598.c
drivers/net/ixgbe/ixgbe_dcb_nl.c
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c