Go to the documentation of this file.
29 #ifndef _DCB_CONFIG_H_
30 #define _DCB_CONFIG_H_
37 #define IXGBE_MAX_PACKET_BUFFERS 8
38 #define MAX_USER_PRIORITY 8
39 #define MAX_BW_GROUP 8
40 #define BW_PERCENT 100
42 #define DCB_TX_CONFIG 0
43 #define DCB_RX_CONFIG 1
47 #define DCB_ERR_CONFIG -1
48 #define DCB_ERR_PARAM -2
52 #define DCB_ERR_BW_GROUP -3
54 #define DCB_ERR_TC_BW -4
56 #define DCB_ERR_LS_GS -5
58 #define DCB_ERR_LS_BW_NONZERO -6
60 #define DCB_ERR_LS_BWG_NONZERO -7
62 #define DCB_ERR_TC_BW_ZERO -8
64 #define DCB_NOT_IMPLEMENTED 0x7FFFFFFF
79 #define IXGBE_DCB_PG_SUPPORT 0x00000001
80 #define IXGBE_DCB_PFC_SUPPORT 0x00000002
81 #define IXGBE_DCB_BCN_SUPPORT 0x00000004
82 #define IXGBE_DCB_UP2TC_SUPPORT 0x00000008
83 #define IXGBE_DCB_GSP_SUPPORT 0x00000010
85 #define IXGBE_DCB_8_TC_SUPPORT 0x80
158 u8 *bwg_id,
u8 *prio_type,
u8 *tc_prio);
163 #define DCB_CREDIT_QUANTUM 64
164 #define MAX_CREDIT_REFILL 511
165 #define DCB_MAX_TSO_SIZE (32*1024)
166 #define MINIMUM_CREDIT_FOR_TSO (DCB_MAX_TSO_SIZE/64 + 1)
167 #define MAX_CREDIT 4095