#ifndef _DCB_CONFIG_H_
#define _DCB_CONFIG_H_
#include <linux/dcbnl.h>
#include "ixgbe_type.h"
#define IXGBE_MAX_PACKET_BUFFERS …
#define MAX_USER_PRIORITY …
#define MAX_BW_GROUP …
#define BW_PERCENT …
#define DCB_TX_CONFIG …
#define DCB_RX_CONFIG …
#define DCB_SUCCESS …
#define DCB_ERR_CONFIG …
#define DCB_ERR_PARAM …
#define DCB_ERR_BW_GROUP …
#define DCB_ERR_TC_BW …
#define DCB_ERR_LS_GS …
#define DCB_ERR_LS_BW_NONZERO …
#define DCB_ERR_LS_BWG_NONZERO …
#define DCB_ERR_TC_BW_ZERO …
#define DCB_NOT_IMPLEMENTED …
struct dcb_pfc_tc_debug { … };
enum strict_prio_type { … };
#define IXGBE_DCB_PG_SUPPORT …
#define IXGBE_DCB_PFC_SUPPORT …
#define IXGBE_DCB_BCN_SUPPORT …
#define IXGBE_DCB_UP2TC_SUPPORT …
#define IXGBE_DCB_GSP_SUPPORT …
#define IXGBE_DCB_8_TC_SUPPORT …
struct dcb_support { … };
struct tc_bw_alloc { … };
enum dcb_pfc_type { … };
struct tc_configuration { … };
struct dcb_num_tcs { … };
struct ixgbe_dcb_config { … };
void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en);
void ixgbe_dcb_unpack_refill(struct ixgbe_dcb_config *, int, u16 *);
void ixgbe_dcb_unpack_max(struct ixgbe_dcb_config *, u16 *);
void ixgbe_dcb_unpack_bwgid(struct ixgbe_dcb_config *, int, u8 *);
void ixgbe_dcb_unpack_prio(struct ixgbe_dcb_config *, int, u8 *);
void ixgbe_dcb_unpack_map(struct ixgbe_dcb_config *, int, u8 *);
u8 ixgbe_dcb_get_tc_from_up(struct ixgbe_dcb_config *, int, u8);
int ixgbe_dcb_calculate_tc_credits(struct ixgbe_hw *,
struct ixgbe_dcb_config *, int, u8);
int ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max);
int ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max,
u8 *bwg_id, u8 *prio_type, u8 *tc_prio);
int ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *tc_prio);
int ixgbe_dcb_hw_config(struct ixgbe_hw *, struct ixgbe_dcb_config *);
void ixgbe_dcb_read_rtrup2tc(struct ixgbe_hw *hw, u8 *map);
#define DCB_CREDIT_QUANTUM …
#define MAX_CREDIT_REFILL …
#define DCB_MAX_TSO_SIZE …
#define MINIMUM_CREDIT_FOR_TSO …
#define MAX_CREDIT …
#endif