/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_82599.c | 49 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() 350 u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_config_82599() argument 353 prio_type, prio_tc); in ixgbe_dcb_hw_config_82599() [all …]
|
D | ixgbe_dcb_82599.h | 98 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);
|
D | ixgbe_dcb_nl.c | 343 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 …]
|
D | ixgbe_dcb.c | 271 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()
|
D | ixgbe_main.c | 4256 adapter->ixgbe_ieee_ets->prio_tc); in ixgbe_configure_dcb() 7677 tc = ets->prio_tc[prio]; in ixgbe_set_prio_tc_map()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dcb.c | 137 memcpy(ets->prio_tc, pdata->ets->prio_tc, in xgbe_dcb_ieee_getets() 138 sizeof(ets->prio_tc)); in xgbe_dcb_ieee_getets() 155 DBGPR(" PRIO%u: TC=%hhu\n", i, ets->prio_tc[i]); in xgbe_dcb_ieee_setets() 161 if (ets->prio_tc[i] >= pdata->hw_feat.tc_cnt) in xgbe_dcb_ieee_setets()
|
D | xgbe-dev.c | 1357 (ets->prio_tc[prio] == tc)) in xgbe_config_dcb_pfc()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_dcbnl.c | 44 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.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_dcb_nl.c | 97 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.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb_nl.c | 74 memcpy(ets->prio_tc, dcbxcfg->etscfg.prioritytable, in i40e_dcbnl_ieee_getets() 75 sizeof(ets->prio_tc)); in i40e_dcbnl_ieee_getets()
|
/linux-4.1.27/include/uapi/linux/ |
D | dcbnl.h | 64 __u8 prio_tc[IEEE_8021QAZ_MAX_TCS]; member
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 952 ets->prio_tc[i] = bwg; in cxgb4_ieee_read_ets()
|