xref: /dpdk/drivers/net/txgbe/base/txgbe_dcb_hw.h (revision f8aadb64)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2015-2020 Beijing WangXun Technology Co., Ltd.
3  * Copyright(c) 2010-2017 Intel Corporation
4  */
5 
6 #ifndef _TXGBE_DCB_HW_H_
7 #define _TXGBE_DCB_HW_H_
8 
9 /* DCB PFC */
10 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map);
11 
12 /* DCB stats */
13 s32 txgbe_dcb_config_tc_stats_raptor(struct txgbe_hw *hw,
14 				    struct txgbe_dcb_config *dcb_config);
15 
16 /* DCB config arbiters */
17 s32 txgbe_dcb_config_tx_desc_arbiter_raptor(struct txgbe_hw *hw, u16 *refill,
18 					   u16 *max, u8 *bwg_id, u8 *tsa);
19 s32 txgbe_dcb_config_tx_data_arbiter_raptor(struct txgbe_hw *hw, u16 *refill,
20 					   u16 *max, u8 *bwg_id, u8 *tsa,
21 					   u8 *map);
22 s32 txgbe_dcb_config_rx_arbiter_raptor(struct txgbe_hw *hw, u16 *refill,
23 				      u16 *max, u8 *bwg_id, u8 *tsa, u8 *map);
24 
25 #endif /* _TXGBE_DCB_HW_H_ */
26