linux/drivers/net/ethernet/intel/ixgbe
Alexander Duyck 15cbc70ea2 ixgbe: Simplify logic for getting traffic class from user priority
This patch is meant to help simplify the logic for getting traffic classes
from user priorities. To do this I am adding a function named
ixgbe_dcb_get_tc_from_up that will go through the traffic classes in
reverse order in order to determine which traffic class contains a bit for
a given user priority.

Adding a declaration for this new function to the header so that
we have a centralized means for sorting out traffic classes belonging to
features such as FCoE.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-07-14 14:18:29 -07:00
..
ixgbe.h ixgbe: Add feature offset value to ring features 2012-07-11 02:01:14 -07:00
ixgbe_82598.c ixgbe: Update link flow control to correctly handle multiple packet buffer DCB 2012-05-04 03:25:24 -07:00
ixgbe_82599.c ixgbe: add support for 1G SX modules 2012-06-20 01:37:04 -07:00
ixgbe_common.c drivers/net/ethernet: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:46 -07:00
ixgbe_common.h ixgbe: Update link flow control to correctly handle multiple packet buffer DCB 2012-05-04 03:25:24 -07:00
ixgbe_dcb.c ixgbe: Simplify logic for getting traffic class from user priority 2012-07-14 14:18:29 -07:00
ixgbe_dcb.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82598.c ixgbe: Clean up priority based flow control 2012-05-09 22:15:40 -07:00
ixgbe_dcb_82598.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82599.c ixgbe: Clean up priority based flow control 2012-05-09 22:15:40 -07:00
ixgbe_dcb_82599.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_nl.c ixgbe: Set Drop_EN bit when multiple Rx queues are present w/o flow control 2012-05-09 22:31:44 -07:00
ixgbe_ethtool.c ixgbe: count q_vectors instead of MSI-X vectors 2012-07-11 01:50:59 -07:00
ixgbe_fcoe.c ixgbe: Add feature offset value to ring features 2012-07-11 02:01:14 -07:00
ixgbe_fcoe.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_lib.c ixgbe: Merge RSS and flow director ring register caching and configuration 2012-07-11 02:04:40 -07:00
ixgbe_main.c ixgbe: Clean up a useless switch statement and dead code in configure_srrctl 2012-07-11 02:02:26 -07:00
ixgbe_mbx.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_mbx.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_phy.c ixgbe: add support for 1G SX modules 2012-06-20 01:37:04 -07:00
ixgbe_phy.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_ptp.c drivers/net/ethernet: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:46 -07:00
ixgbe_sriov.c ixgbe: Fix bogus error message 2012-05-09 22:40:29 -07:00
ixgbe_sriov.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_sysfs.c drivers/net/ethernet: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:46 -07:00
ixgbe_type.h ixgbe: add support for 1G SX modules 2012-06-20 01:37:04 -07:00
ixgbe_x540.c ixgbe: add hwmon interface to export thermal data 2012-05-02 02:12:23 -07:00
Makefile ixgbe: do not compile ixgbe_sysfs.c when CONFIG_IXGBE_HWMON is not set 2012-06-14 03:12:41 -07:00