/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_nl.c | 51 if (dst->path[tx].bwg_id != src->path[tx].bwg_id) { in ixgbe_copy_dcb_cfg() 52 dst->path[tx].bwg_id = src->path[tx].bwg_id; in ixgbe_copy_dcb_cfg() 73 if (dst->path[rx].bwg_id != src->path[rx].bwg_id) { in ixgbe_copy_dcb_cfg() 74 dst->path[rx].bwg_id = src->path[rx].bwg_id; in ixgbe_copy_dcb_cfg() 166 u8 prio, u8 bwg_id, u8 bw_pct, in ixgbe_dcbnl_set_pg_tc_cfg_tx() argument 173 if (bwg_id != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_tx() 174 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_id = bwg_id; in ixgbe_dcbnl_set_pg_tc_cfg_tx() 183 static void ixgbe_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, in ixgbe_dcbnl_set_pg_bwg_cfg_tx() argument 188 adapter->temp_dcb_cfg.bw_percentage[0][bwg_id] = bw_pct; in ixgbe_dcbnl_set_pg_bwg_cfg_tx() 192 u8 prio, u8 bwg_id, u8 bw_pct, in ixgbe_dcbnl_set_pg_tc_cfg_rx() argument [all …]
|
D | ixgbe_dcb_82599.c | 23 u8 *bwg_id, in ixgbe_dcb_config_rx_arbiter_82599() argument 51 reg |= (u32)(bwg_id[i]) << IXGBE_RTRPT4C_BWG_SHIFT; in ixgbe_dcb_config_rx_arbiter_82599() 82 u8 *bwg_id, in ixgbe_dcb_config_tx_desc_arbiter_82599() argument 99 reg |= (u32)(bwg_id[i]) << IXGBE_RTTDT2C_BWG_SHIFT; in ixgbe_dcb_config_tx_desc_arbiter_82599() 134 u8 *bwg_id, in ixgbe_dcb_config_tx_data_arbiter_82599() argument 160 reg |= (u32)(bwg_id[i]) << IXGBE_RTTPT2C_BWG_SHIFT; in ixgbe_dcb_config_tx_data_arbiter_82599() 334 u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_config_82599() argument 336 ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwg_id, in ixgbe_dcb_hw_config_82599() 339 bwg_id, prio_type); in ixgbe_dcb_hw_config_82599() 341 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_config_82599()
|
D | ixgbe_dcb.c | 86 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits() 108 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits() 199 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid() 310 __u8 bwg_id[IEEE_8021QAZ_MAX_TCS] = {0, 1, 2, 3, 4, 5, 6, 7}; in ixgbe_dcb_hw_ets() local 333 bwg_id, prio_type, ets->prio_tc); in ixgbe_dcb_hw_ets() 337 u16 *refill, u16 *max, u8 *bwg_id, in ixgbe_dcb_hw_ets_config() argument 345 bwg_id, prio_type); in ixgbe_dcb_hw_ets_config() 347 bwg_id, prio_type); in ixgbe_dcb_hw_ets_config() 355 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_ets_config() 357 bwg_id, prio_type); in ixgbe_dcb_hw_ets_config() [all …]
|
D | ixgbe_dcb_82599.h | 79 u8 *bwg_id, 86 u8 *bwg_id, 92 u8 *bwg_id, 97 u16 *max, u8 *bwg_id, u8 *prio_type,
|
D | ixgbe_dcb_82598.c | 81 u8 *bwg_id, in ixgbe_dcb_config_tx_desc_arbiter_82598() argument 103 reg |= (u32)(bwg_id[i]) << IXGBE_TDTQ2TCCR_BWG_SHIFT; in ixgbe_dcb_config_tx_desc_arbiter_82598() 130 u8 *bwg_id, in ixgbe_dcb_config_tx_data_arbiter_82598() argument 148 reg |= (u32)(bwg_id[i]) << IXGBE_TDPT2TCCR_BWG_SHIFT; in ixgbe_dcb_config_tx_data_arbiter_82598() 264 u16 *max, u8 *bwg_id, u8 *prio_type) in ixgbe_dcb_hw_config_82598() argument 268 bwg_id, prio_type); in ixgbe_dcb_hw_config_82598() 270 bwg_id, prio_type); in ixgbe_dcb_hw_config_82598()
|
D | ixgbe_dcb_82598.h | 60 u8 *bwg_id, 66 u8 *bwg_id, 70 u16 *max, u8 *bwg_id, u8 *prio_type);
|
D | ixgbe_dcb.h | 75 u8 bwg_id; /* Bandwidth Group (BWG) ID */ member 133 u8 *bwg_id, u8 *prio_type, u8 *tc_prio);
|
D | ixgbe_main.c | 6278 tc->path[DCB_TX_CONFIG].bwg_id = 0; in ixgbe_init_dcb() 6280 tc->path[DCB_RX_CONFIG].bwg_id = 0; in ixgbe_init_dcb()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb_nl.c | 367 u8 prio_type, u8 bwg_id, u8 bw_pct, in i40e_dcbnl_set_pg_tc_cfg_tx() argument 391 tc, bwg_id, prio_type, bw_pct, up_map); in i40e_dcbnl_set_pg_tc_cfg_tx()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_dcbx.c | 1392 u8 *bwg_id, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgrx() argument 1395 *prio = *bwg_id = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgrx() 1399 int bwg_id, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgrx() argument
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_nl.c | 440 u8 __always_unused bwg_id, in ice_dcbnl_set_pg_tc_cfg_tx() argument
|