OpenCloudOS-Kernel/drivers/net/ixgbe
John Fastabend 55320cb58b ixgbe: DCB, abstract out dcb_config from DCB hardware configuration
Currently the routines that configure the HW for DCB require a
ixgbe_dcb_config structure. This structure was designed to support
the CEE standard and does not match the IEEE standard well.

This patch changes the HW routines in ixgbe_dcb_8259x.{ch} to use
raw pfc and bandwidth values. This requires some parsing of the DCB
configuration but makes the HW routines independent of the data
structure that contains the DCB configuration.

The primary advantage to doing this is we can do HW setup directly
from the 802.1Qaz ops without having to arbitrarily encapsulate this
data into the CEE structure.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2011-02-11 08:44:04 -08:00
..
Makefile ixgbe: add MAC and PHY support for x540 2010-11-16 19:27:16 -08:00
ixgbe.h ixgbe: update ntuple filter configuration 2011-01-09 23:44:12 -08:00
ixgbe_82598.c ixgbe: make silicon specific functions generic 2010-11-16 19:27:15 -08:00
ixgbe_82599.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-01-13 10:05:56 -08:00
ixgbe_common.c ixgbe: limit VF access to network traffic 2011-02-08 01:20:00 -08:00
ixgbe_common.h ixgbe: Add anti-spoofing feature support 2010-12-24 21:41:06 -08:00
ixgbe_dcb.c ixgbe: DCB, abstract out dcb_config from DCB hardware configuration 2011-02-11 08:44:04 -08:00
ixgbe_dcb.h ixgbe: DCB, abstract out dcb_config from DCB hardware configuration 2011-02-11 08:44:04 -08:00
ixgbe_dcb_82598.c ixgbe: DCB, abstract out dcb_config from DCB hardware configuration 2011-02-11 08:44:04 -08:00
ixgbe_dcb_82598.h ixgbe: DCB, abstract out dcb_config from DCB hardware configuration 2011-02-11 08:44:04 -08:00
ixgbe_dcb_82599.c ixgbe: DCB, abstract out dcb_config from DCB hardware configuration 2011-02-11 08:44:04 -08:00
ixgbe_dcb_82599.h ixgbe: DCB, abstract out dcb_config from DCB hardware configuration 2011-02-11 08:44:04 -08:00
ixgbe_dcb_nl.c ixgbe: DCB, abstract out dcb_config from DCB hardware configuration 2011-02-11 08:44:04 -08:00
ixgbe_ethtool.c ixgbe: update ntuple filter configuration 2011-01-09 23:44:12 -08:00
ixgbe_fcoe.c ixgbe: cleanup variable initialization 2011-02-08 01:22:21 -08:00
ixgbe_fcoe.h ixgbe: add a refcnt when turning on/off FCoE offload capability 2010-10-21 03:55:23 -07:00
ixgbe_main.c ixgbe: DCB, remove round robin mode on 82598 devices 2011-02-11 08:43:37 -08:00
ixgbe_mbx.c ixgbe: Add SR-IOV feature support to X540 2010-12-24 21:40:32 -08:00
ixgbe_mbx.h ixgbe: make silicon specific functions generic 2010-11-16 19:27:15 -08:00
ixgbe_phy.c ixgbe: fix X540 phy id to correct value 2010-12-10 22:12:46 -08:00
ixgbe_phy.h ixgbe: add MAC and PHY support for x540 2010-11-16 19:27:16 -08:00
ixgbe_sriov.c ixgbe: limit VF access to network traffic 2011-02-08 01:20:00 -08:00
ixgbe_sriov.h ixgbe: update copyright info 2010-10-21 03:55:21 -07:00
ixgbe_type.h ixgbe: update ntuple filter configuration 2011-01-09 23:44:12 -08:00
ixgbe_x540.c ixgbe: fix variable set but not used warnings by gcc 4.6 2011-02-08 01:18:46 -08:00