Home
last modified time | relevance | path

Searched refs:prio_tc (Results 1 – 14 of 14) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_82599.c49 u8 *prio_tc) in ixgbe_dcb_config_rx_arbiter_82599() argument
66 reg |= (prio_tc[i] << (i * IXGBE_RTRUP2TC_UP_SHIFT)); in ixgbe_dcb_config_rx_arbiter_82599()
159 u8 *prio_tc) in ixgbe_dcb_config_tx_data_arbiter_82599() argument
176 reg |= (prio_tc[i] << (i * IXGBE_RTTUP2TC_UP_SHIFT)); in ixgbe_dcb_config_tx_data_arbiter_82599()
213 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_config_pfc_82599() argument
241 if (prio_tc[i] > max_tc) in ixgbe_dcb_config_pfc_82599()
242 max_tc = prio_tc[i]; in ixgbe_dcb_config_pfc_82599()
251 if ((prio_tc[j] == i) && (pfc_en & (1 << j))) { in ixgbe_dcb_config_pfc_82599()
356 u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_config_82599() argument
359 prio_type, prio_tc); in ixgbe_dcb_hw_config_82599()
[all …]
Dixgbe_dcb_82599.h98 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc);
106 u8 *prio_tc);
119 u8 *prio_tc);
123 u8 *prio_tc);
Dixgbe_dcb_nl.c343 u8 prio_tc[MAX_USER_PRIORITY]; in ixgbe_dcbnl_set_all() local
360 ixgbe_dcb_unpack_map(dcb_cfg, DCB_TX_CONFIG, prio_tc); in ixgbe_dcbnl_set_all()
363 prio_type, prio_tc); in ixgbe_dcbnl_set_all()
366 netdev_set_prio_tc_map(netdev, i, prio_tc[i]); in ixgbe_dcbnl_set_all()
374 u8 prio_tc[MAX_USER_PRIORITY]; in ixgbe_dcbnl_set_all() local
376 ixgbe_dcb_unpack_map(dcb_cfg, DCB_TX_CONFIG, prio_tc); in ixgbe_dcbnl_set_all()
378 ixgbe_dcb_hw_pfc_config(hw, pfc_en, prio_tc); in ixgbe_dcbnl_set_all()
528 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in ixgbe_dcbnl_ieee_getets()
552 adapter->ixgbe_ieee_ets->prio_tc[i] = in ixgbe_dcbnl_ieee_setets()
556 adapter->ixgbe_ieee_ets->prio_tc); in ixgbe_dcbnl_ieee_setets()
[all …]
Dixgbe_dcb.c271 u8 prio_tc[MAX_TRAFFIC_CLASS]; in ixgbe_dcb_hw_config() local
281 ixgbe_dcb_unpack_map(dcb_config, DCB_TX_CONFIG, prio_tc); in ixgbe_dcb_hw_config()
292 bwgid, ptype, prio_tc); in ixgbe_dcb_hw_config()
300 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_hw_pfc_config() argument
309 return ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); in ixgbe_dcb_hw_pfc_config()
346 bwg_id, prio_type, ets->prio_tc); in ixgbe_dcb_hw_ets()
351 u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_ets_config() argument
367 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_ets_config()
371 prio_type, prio_tc); in ixgbe_dcb_hw_ets_config()
Dixgbe_main.c4366 adapter->ixgbe_ieee_ets->prio_tc); in ixgbe_configure_dcb()
7887 tc = ets->prio_tc[prio]; in ixgbe_set_prio_tc_map()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-dcb.c137 memcpy(ets->prio_tc, pdata->ets->prio_tc, in xgbe_dcb_ieee_getets()
138 sizeof(ets->prio_tc)); in xgbe_dcb_ieee_getets()
158 ets->prio_tc[i]); in xgbe_dcb_ieee_setets()
164 if (ets->prio_tc[i] >= pdata->hw_feat.tc_cnt) in xgbe_dcb_ieee_setets()
Dxgbe-dev.c1348 (ets->prio_tc[prio] == tc)) in xgbe_config_dcb_pfc()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_dcbnl.c44 ets->prio_tc[i] = netdev_get_prio_tc_map(dev, i); in fm10k_dcbnl_ieee_getets()
65 if (ets->prio_tc[i] > num_tc) in fm10k_dcbnl_ieee_setets()
66 num_tc = ets->prio_tc[i]; in fm10k_dcbnl_ieee_setets()
85 netdev_set_prio_tc_map(dev, i, ets->prio_tc[i]); in fm10k_dcbnl_ieee_setets()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c97 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in mlx4_en_dcbnl_ieee_getets()
109 if (ets->prio_tc[i] >= MLX4_EN_NUM_UP) { in mlx4_en_ets_validate()
111 i, ets->prio_tc[i]); in mlx4_en_ets_validate()
179 err = mlx4_SET_PORT_PRIO2TC(mdev->dev, priv->port, ets->prio_tc); in mlx4_en_dcbnl_ieee_setets()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c74 memcpy(ets->prio_tc, dcbxcfg->etscfg.prioritytable, in i40e_dcbnl_ieee_getets()
75 sizeof(ets->prio_tc)); in i40e_dcbnl_ieee_getets()
/linux-4.4.14/include/uapi/linux/
Ddcbnl.h64 __u8 prio_tc[IEEE_8021QAZ_MAX_TCS]; member
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h1608 MLXSW_ITEM32(reg, ppcnt, prio_tc, 0x04, 0, 5);
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c964 ets->prio_tc[i] = bwg; in cxgb4_ieee_read_ets()
/linux-4.4.14/include/linux/mlx5/
Dmlx5_ifc.h6226 u8 prio_tc[0x3]; member