1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2015-2020 3 */ 4 5 #ifndef _TXGBE_DCB_HW_H_ 6 #define _TXGBE_DCB_HW_H_ 7 8 /* DCB PFC */ 9 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map); 10 11 /* DCB stats */ 12 s32 txgbe_dcb_config_tc_stats_raptor(struct txgbe_hw *hw, 13 struct txgbe_dcb_config *dcb_config); 14 15 /* DCB config arbiters */ 16 s32 txgbe_dcb_config_tx_desc_arbiter_raptor(struct txgbe_hw *hw, u16 *refill, 17 u16 *max, u8 *bwg_id, u8 *tsa); 18 s32 txgbe_dcb_config_tx_data_arbiter_raptor(struct txgbe_hw *hw, u16 *refill, 19 u16 *max, u8 *bwg_id, u8 *tsa, 20 u8 *map); 21 s32 txgbe_dcb_config_rx_arbiter_raptor(struct txgbe_hw *hw, u16 *refill, 22 u16 *max, u8 *bwg_id, u8 *tsa, u8 *map); 23 24 #endif /* _TXGBE_DCB_HW_H_ */ 25