Searched refs:prio_tc (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82599.h73 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 Dixgbe_dcb_82599.c16 * @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 Dixgbe_dcb.c256 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 Dixgbe_dcb_nl.c316 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 Dfm10k_dcbnl.c26 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 Dxgbe-dcb.c137 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 Dhclge_dcb.c39 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 Dhclge_tm.c232 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 Dhclge_tm.h239 void hclge_tm_prio_tc_info_update(struct hclge_dev *hdev, u8 *prio_tc);
H A Dhclge_main.h382 u8 prio_tc[HNAE3_MAX_USER_PRIO]; member in struct:hclge_tm_info
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dcb.c60 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 Den_dcb_nl.c300 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 Den_dcbnl.c121 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 Dport.c646 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 Di40e_dcb.h254 u8 pfc_en, u8 *prio_tc);
259 void i40e_dcb_hw_rx_up2tc_config(struct i40e_hw *hw, u8 *prio_tc);
H A Di40e_dcb.c1363 * @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 Di40e_dcb_nl.c53 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 Dspectrum_dcb.c53 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 Ddcbnl.h42 * @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 Dport.h193 int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, u8 *prio_tc);
/linux-master/drivers/net/ethernet/netronome/nfp/nic/
H A Ddcb.c78 ets->prio_tc[i] = dcb->prio2tc[i];
281 dcb->prio2tc[i] = ets->prio_tc[i];
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.c46 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 Dqed_dcbx.c2159 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 Dhnae3.h817 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 Dcxgb4_dcb.c986 ets->prio_tc[i] = bwg;

Completed in 297 milliseconds

12