/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_82599.h | 73 int ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc); 78 u8 *prio_tc); 85 u8 *prio_tc); 89 u8 *prio_tc);
|
H A D | ixgbe_dcb_82599.c | 16 * @prio_tc: priority to tc assignments indexed by priority 25 u8 *prio_tc) 42 reg |= (prio_tc[i] << (i * IXGBE_RTRUP2TC_UP_SHIFT)); 127 * @prio_tc: priority to tc assignments indexed by priority 136 u8 *prio_tc) 153 reg |= (prio_tc[i] << (i * IXGBE_RTTUP2TC_UP_SHIFT)); 186 * @prio_tc: priority to tc assignments indexed by priority 190 int ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) argument 218 if (prio_tc[i] > max_tc) 219 max_tc = prio_tc[ 20 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument 131 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument 333 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument [all...] |
H A D | ixgbe_dcb.c | 256 u8 prio_tc[MAX_TRAFFIC_CLASS]; local 266 ixgbe_dcb_unpack_map(dcb_config, DCB_TX_CONFIG, prio_tc); 278 bwgid, ptype, prio_tc); 286 int ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) argument 296 return ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); 333 bwg_id, prio_type, ets->prio_tc); 338 u8 *prio_type, u8 *prio_tc) 355 bwg_id, prio_type, prio_tc); 359 prio_type, prio_tc); 336 ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument
|
H A D | ixgbe_dcb_nl.c | 316 u8 prio_tc[MAX_USER_PRIORITY]; local 333 ixgbe_dcb_unpack_map(dcb_cfg, DCB_TX_CONFIG, prio_tc); 336 prio_type, prio_tc); 339 netdev_set_prio_tc_map(netdev, i, prio_tc[i]); 347 u8 prio_tc[MAX_USER_PRIORITY]; local 349 ixgbe_dcb_unpack_map(dcb_cfg, DCB_TX_CONFIG, prio_tc); 351 ixgbe_dcb_hw_pfc_config(hw, pfc_en, prio_tc); 501 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); 588 u8 *prio_tc; local [all...] |
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_dcbnl.c | 26 ets->prio_tc[i] = netdev_get_prio_tc_map(dev, i); 47 if (ets->prio_tc[i] > num_tc) 48 num_tc = ets->prio_tc[i]; 67 netdev_set_prio_tc_map(dev, i, ets->prio_tc[i]);
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dcb.c | 137 memcpy(ets->prio_tc, pdata->ets->prio_tc, 138 sizeof(ets->prio_tc)); 159 ets->prio_tc[i]); 161 max_tc = max_t(u8, max_tc, ets->prio_tc[i]);
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_dcb.c | 39 hclge_tm_prio_tc_info_update(hdev, ets->prio_tc); 54 ets->prio_tc[i] = hdev->tm_info.prio_tc[i]; 80 u8 *prio_tc) 92 if (prio_tc[i] >= num_tc) { 94 "prio_tc[%d] checking failed, %u >= num_tc(%u)\n", 95 i, prio_tc[i], num_tc); 117 if (ets->prio_tc[i] != hdev->tm_info.prio_tc[i]) 120 if (ets->prio_tc[ 79 hclge_dcb_common_validate(struct hclge_dev *hdev, u8 num_tc, u8 *prio_tc) argument 331 u8 i, j, pfc_map, *prio_tc; local [all...] |
H A D | hclge_tm.c | 232 tc = hdev->tm_info.prio_tc[pri_id]; 294 tc_id = hdev->tm_info.prio_tc[pri_id]; 303 tc_id = hdev->tm_info.prio_tc[pri_id]; 744 memcpy(kinfo->tc_info.prio_tc, hdev->tm_info.prio_tc, 745 sizeof_field(struct hnae3_tc_info, prio_tc)); 781 hdev->tm_info.prio_tc[i] = 1635 void hclge_tm_prio_tc_info_update(struct hclge_dev *hdev, u8 *prio_tc) argument 1642 hdev->tm_info.prio_tc[i] = prio_tc[ [all...] |
H A D | hclge_tm.h | 239 void hclge_tm_prio_tc_info_update(struct hclge_dev *hdev, u8 *prio_tc);
|
H A D | hclge_main.h | 382 u8 prio_tc[HNAE3_MAX_USER_PRIO]; member in struct:hclge_tm_info
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_dcb.c | 60 qidx = bp->tc_to_qidx[ets->prio_tc[i]]; 89 ets->prio_tc[i] = tc; 264 (my_ets->prio_tc[pri] == i)) { 480 if (ets->prio_tc[i] > bp->max_tc) { 482 ets->prio_tc[i]); 485 if (ets->prio_tc[i] > max_tc) 486 max_tc = ets->prio_tc[i]; 548 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_dcb_nl.c | 300 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); 312 if (ets->prio_tc[i] >= MLX4_EN_NUM_UP_HIGH) { 314 i, ets->prio_tc[i]); 387 err = mlx4_SET_PORT_PRIO2TC(mdev->dev, priv->port, ets->prio_tc);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dcbnl.c | 121 err = mlx5_query_port_prio_tc(mdev, i, &ets->prio_tc[i]); 262 err = mlx5_set_port_prio_tc(mdev, ets->prio_tc); 279 __func__, i, ets->prio_tc[i]); 297 if (ets->prio_tc[i] >= MLX5E_MAX_PRIORITY) { 642 ets.prio_tc[i] = cee_cfg->prio_to_pg_map[i]; 644 "%s: Priority group %d: tx_bw %d, rx_bw %d, prio_tc %d\n", 646 ets.prio_tc[i]); 1063 ets.prio_tc[i] = i; 1068 ets.prio_tc[0] = 1; 1069 ets.prio_tc[ [all...] |
H A D | port.c | 646 int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, u8 *prio_tc) argument 654 if (prio_tc[i] > mlx5_max_tc(mdev)) 658 MLX5_SET(qtct_reg, in, tclass, prio_tc[i]);
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb.h | 254 u8 pfc_en, u8 *prio_tc); 259 void i40e_dcb_hw_rx_up2tc_config(struct i40e_hw *hw, u8 *prio_tc);
|
H A D | i40e_dcb.c | 1363 * @prio_tc: priority to tc assignment indexed by priority 1368 u8 pfc_en, u8 *prio_tc) 1384 tc2pfc |= BIT(prio_tc[i]); 1540 * @prio_tc: priority to tc assignment indexed by priority 1544 void i40e_dcb_hw_rx_up2tc_config(struct i40e_hw *hw, u8 *prio_tc) argument 1551 reg |= I40E_UP2TC_REG(prio_tc[0], 0); 1552 reg |= I40E_UP2TC_REG(prio_tc[1], 1); 1553 reg |= I40E_UP2TC_REG(prio_tc[2], 2); 1554 reg |= I40E_UP2TC_REG(prio_tc[3], 3); 1555 reg |= I40E_UP2TC_REG(prio_tc[ 1367 i40e_dcb_hw_pfc_config(struct i40e_hw *hw, u8 pfc_en, u8 *prio_tc) argument [all...] |
H A D | i40e_dcb_nl.c | 53 memcpy(ets->prio_tc, dcbxcfg->etscfg.prioritytable, 54 sizeof(ets->prio_tc)); 127 pf->tmp_cfg.etscfg.prioritytable[i] = ets->prio_tc[i];
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_dcb.c | 53 if (ets->prio_tc[i] >= IEEE_8021QAZ_MAX_TCS) { 77 hdroom.prios.prio[prio].ets_buf_idx = ets->prio_tc[prio]; 115 ets->prio_tc[i]); 118 ets->prio_tc[i]); 134 mlxsw_sp_port_prio_tc_set(mlxsw_sp_port, i, my_ets->prio_tc[i]);
|
/linux-master/include/uapi/linux/ |
H A D | dcbnl.h | 42 * @prio_tc: priority assignment table mapping 8021Qp to traffic class 65 __u8 prio_tc[IEEE_8021QAZ_MAX_TCS]; member in struct:ieee_ets
|
/linux-master/include/linux/mlx5/ |
H A D | port.h | 193 int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, u8 *prio_tc);
|
/linux-master/drivers/net/ethernet/netronome/nfp/nic/ |
H A D | dcb.c | 78 ets->prio_tc[i] = dcb->prio2tc[i]; 281 dcb->prio2tc[i] = ets->prio_tc[i];
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 46 memcpy(ets->prio_tc, dcbxcfg->etscfg.prio_table, sizeof(ets->prio_tc)); 90 new_cfg->etscfg.prio_table[i] = ets->prio_tc[i];
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dcbx.c | 2159 memcpy(ets->prio_tc, params->ets_pri_tc_tbl, sizeof(ets->prio_tc)); 2203 memcpy(dcbx_set.config.params.ets_pri_tc_tbl, ets->prio_tc, 2204 sizeof(ets->prio_tc));
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.h | 817 u8 prio_tc[HNAE3_MAX_USER_PRIO]; /* TC indexed by prio */ member in struct:hnae3_tc_info
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_dcb.c | 986 ets->prio_tc[i] = bwg;
|