43#define IXGBE_DCB_CREDIT_QUANTUM 64
44#define IXGBE_DCB_MAX_CREDIT_REFILL 200
45#define IXGBE_DCB_MAX_TSO_SIZE (32 * 1024)
46#define IXGBE_DCB_MAX_CREDIT (2 * IXGBE_DCB_MAX_CREDIT_REFILL)
49#define IXGBE_DCB_MIN_TSO_CREDIT \
50 ((IXGBE_DCB_MAX_TSO_SIZE / IXGBE_DCB_CREDIT_QUANTUM) + 1)
53#define IXGBE_DCB_MAX_USER_PRIORITY 8
54#define IXGBE_DCB_MAX_BW_GROUP 8
55#define IXGBE_DCB_BW_PERCENT 100
57#define IXGBE_DCB_TX_CONFIG 0
58#define IXGBE_DCB_RX_CONFIG 1
61#define IXGBE_DCB_PG_SUPPORT 0x00000001
62#define IXGBE_DCB_PFC_SUPPORT 0x00000002
63#define IXGBE_DCB_BCN_SUPPORT 0x00000004
64#define IXGBE_DCB_UP2TC_SUPPORT 0x00000008
65#define IXGBE_DCB_GSP_SUPPORT 0x00000010
s32 ixgbe_dcb_config_rx_arbiter_cee(struct ixgbe_hw *, struct ixgbe_dcb_config *)
s32 ixgbe_dcb_check_config_cee(struct ixgbe_dcb_config *)
void ixgbe_dcb_unpack_max_cee(struct ixgbe_dcb_config *, u16 *)
@ ixgbe_dcb_pfc_enabled_txonly
@ ixgbe_dcb_pfc_enabled_rxonly
s32 ixgbe_dcb_config_tc_stats(struct ixgbe_hw *)
void ixgbe_dcb_unpack_tsa_cee(struct ixgbe_dcb_config *, int, u8 *)
s32 ixgbe_dcb_get_tc_stats(struct ixgbe_hw *, struct ixgbe_hw_stats *, u8)
s32 ixgbe_dcb_config_tx_desc_arbiter_cee(struct ixgbe_hw *, struct ixgbe_dcb_config *)
s32 ixgbe_dcb_config_pfc(struct ixgbe_hw *, u8, u8 *)
@ ixgbe_dcb_tsa_group_strict_cee
void ixgbe_dcb_unpack_pfc_cee(struct ixgbe_dcb_config *, u8 *, u8 *)
s32 ixgbe_dcb_config_tx_data_arbiter_cee(struct ixgbe_hw *, struct ixgbe_dcb_config *)
s32 ixgbe_dcb_get_pfc_stats(struct ixgbe_hw *, struct ixgbe_hw_stats *, u8)
s32 ixgbe_dcb_config_pfc_cee(struct ixgbe_hw *, struct ixgbe_dcb_config *)
void ixgbe_dcb_unpack_map_cee(struct ixgbe_dcb_config *, int, u8 *)
s32 ixgbe_dcb_hw_config(struct ixgbe_hw *, u16 *, u16 *, u8 *, u8 *, u8 *)
void ixgbe_dcb_unpack_bwgid_cee(struct ixgbe_dcb_config *, int, u8 *)
u8 ixgbe_dcb_get_tc_from_up(struct ixgbe_dcb_config *, int, u8)
s32 ixgbe_dcb_calculate_tc_credits(u8 *, u16 *, u16 *, int)
void ixgbe_dcb_unpack_refill_cee(struct ixgbe_dcb_config *, int, u16 *)
s32 ixgbe_dcb_calculate_tc_credits_cee(struct ixgbe_hw *, struct ixgbe_dcb_config *, u32, u8)
#define IXGBE_DCB_MAX_BW_GROUP
s32 ixgbe_dcb_hw_config_cee(struct ixgbe_hw *, struct ixgbe_dcb_config *)
#define IXGBE_DCB_MAX_TRAFFIC_CLASS
u8 bw_percentage[2][IXGBE_DCB_MAX_BW_GROUP]
struct ixgbe_dcb_tc_config tc_config[IXGBE_DCB_MAX_TRAFFIC_CLASS]
struct ixgbe_dcb_support support
enum ixgbe_dcb_pba rx_pba_cfg
struct ixgbe_dcb_num_tcs num_tcs
struct ixgbe_dcb_tc_path path[2]