Home
last modified time | relevance | path

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

1234

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_dcb.c54 ets->prio_tc[i] = hdev->tm_info.prio_tc[i]; in hclge_tm_info_to_ieee_ets()
77 u8 *prio_tc) in hclge_dcb_common_validate() argument
89 if (prio_tc[i] >= num_tc) { in hclge_dcb_common_validate()
92 i, prio_tc[i], num_tc); in hclge_dcb_common_validate()
117 if (ets->prio_tc[i] != hdev->tm_info.prio_tc[i]) in hclge_ets_validate()
121 max_tc = ets->prio_tc[i]; in hclge_ets_validate()
258 u8 i, j, pfc_map, *prio_tc; in hclge_ieee_getpfc() local
263 prio_tc = hdev->tm_info.prio_tc; in hclge_ieee_getpfc()
294 u8 i, j, pfc_map, *prio_tc; in hclge_ieee_setpfc() local
304 prio_tc = hdev->tm_info.prio_tc; in hclge_ieee_setpfc()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_dcb.c54 ets->prio_tc[i] = hdev->tm_info.prio_tc[i]; in hclge_tm_info_to_ieee_ets()
77 u8 *prio_tc) in hclge_dcb_common_validate() argument
89 if (prio_tc[i] >= num_tc) { in hclge_dcb_common_validate()
92 i, prio_tc[i], num_tc); in hclge_dcb_common_validate()
117 if (ets->prio_tc[i] != hdev->tm_info.prio_tc[i]) in hclge_ets_validate()
121 max_tc = ets->prio_tc[i]; in hclge_ets_validate()
258 u8 i, j, pfc_map, *prio_tc; in hclge_ieee_getpfc() local
263 prio_tc = hdev->tm_info.prio_tc; in hclge_ieee_getpfc()
294 u8 i, j, pfc_map, *prio_tc; in hclge_ieee_setpfc() local
304 prio_tc = hdev->tm_info.prio_tc; in hclge_ieee_setpfc()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_dcb.c54 ets->prio_tc[i] = hdev->tm_info.prio_tc[i]; in hclge_tm_info_to_ieee_ets()
77 u8 *prio_tc) in hclge_dcb_common_validate() argument
89 if (prio_tc[i] >= num_tc) { in hclge_dcb_common_validate()
92 i, prio_tc[i], num_tc); in hclge_dcb_common_validate()
117 if (ets->prio_tc[i] != hdev->tm_info.prio_tc[i]) in hclge_ets_validate()
121 max_tc = ets->prio_tc[i]; in hclge_ets_validate()
258 u8 i, j, pfc_map, *prio_tc; in hclge_ieee_getpfc() local
263 prio_tc = hdev->tm_info.prio_tc; in hclge_ieee_getpfc()
294 u8 i, j, pfc_map, *prio_tc; in hclge_ieee_setpfc() local
304 prio_tc = hdev->tm_info.prio_tc; in hclge_ieee_setpfc()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82599.c25 u8 *prio_tc) in ixgbe_dcb_config_rx_arbiter_82599() argument
42 reg |= (prio_tc[i] << (i * IXGBE_RTRUP2TC_UP_SHIFT)); in ixgbe_dcb_config_rx_arbiter_82599()
136 u8 *prio_tc) in ixgbe_dcb_config_tx_data_arbiter_82599() argument
153 reg |= (prio_tc[i] << (i * IXGBE_RTTUP2TC_UP_SHIFT)); in ixgbe_dcb_config_tx_data_arbiter_82599()
218 if (prio_tc[i] > max_tc) in ixgbe_dcb_config_pfc_82599()
219 max_tc = prio_tc[i]; in ixgbe_dcb_config_pfc_82599()
228 if ((prio_tc[j] == i) && (pfc_en & BIT(j))) { in ixgbe_dcb_config_pfc_82599()
334 u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_config_82599() argument
337 prio_type, prio_tc); in ixgbe_dcb_hw_config_82599()
341 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_config_82599()
[all …]
H A Dixgbe_dcb_nl.c318 u8 prio_tc[MAX_USER_PRIORITY]; in ixgbe_dcbnl_set_all() local
338 prio_type, prio_tc); in ixgbe_dcbnl_set_all()
349 u8 prio_tc[MAX_USER_PRIORITY]; in ixgbe_dcbnl_set_all() local
503 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in ixgbe_dcbnl_ieee_getets()
527 adapter->ixgbe_ieee_ets->prio_tc[i] = in ixgbe_dcbnl_ieee_setets()
531 adapter->ixgbe_ieee_ets->prio_tc); in ixgbe_dcbnl_ieee_setets()
535 if (ets->prio_tc[i] > max_tc) in ixgbe_dcbnl_ieee_setets()
536 max_tc = ets->prio_tc[i]; in ixgbe_dcbnl_ieee_setets()
537 if (ets->prio_tc[i] != adapter->ixgbe_ieee_ets->prio_tc[i]) in ixgbe_dcbnl_ieee_setets()
590 u8 *prio_tc; in ixgbe_dcbnl_ieee_setpfc() local
[all …]
H A Dixgbe_dcb_82599.h73 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc);
81 u8 *prio_tc);
94 u8 *prio_tc);
98 u8 *prio_tc);
H A Dixgbe_dcb.c256 u8 prio_tc[MAX_TRAFFIC_CLASS]; in ixgbe_dcb_hw_config() local
266 ixgbe_dcb_unpack_map(dcb_config, DCB_TX_CONFIG, prio_tc); in ixgbe_dcb_hw_config()
278 bwgid, ptype, prio_tc); in ixgbe_dcb_hw_config()
286 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_hw_pfc_config() argument
296 return ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); in ixgbe_dcb_hw_pfc_config()
333 bwg_id, prio_type, ets->prio_tc); in ixgbe_dcb_hw_ets()
338 u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_ets_config() argument
355 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_ets_config()
359 prio_type, prio_tc); in ixgbe_dcb_hw_ets_config()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82599.c25 u8 *prio_tc) in ixgbe_dcb_config_rx_arbiter_82599() argument
42 reg |= (prio_tc[i] << (i * IXGBE_RTRUP2TC_UP_SHIFT)); in ixgbe_dcb_config_rx_arbiter_82599()
136 u8 *prio_tc) in ixgbe_dcb_config_tx_data_arbiter_82599() argument
153 reg |= (prio_tc[i] << (i * IXGBE_RTTUP2TC_UP_SHIFT)); in ixgbe_dcb_config_tx_data_arbiter_82599()
218 if (prio_tc[i] > max_tc) in ixgbe_dcb_config_pfc_82599()
219 max_tc = prio_tc[i]; in ixgbe_dcb_config_pfc_82599()
228 if ((prio_tc[j] == i) && (pfc_en & BIT(j))) { in ixgbe_dcb_config_pfc_82599()
334 u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_config_82599() argument
337 prio_type, prio_tc); in ixgbe_dcb_hw_config_82599()
341 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_config_82599()
[all …]
H A Dixgbe_dcb_nl.c318 u8 prio_tc[MAX_USER_PRIORITY]; in ixgbe_dcbnl_set_all() local
338 prio_type, prio_tc); in ixgbe_dcbnl_set_all()
349 u8 prio_tc[MAX_USER_PRIORITY]; in ixgbe_dcbnl_set_all() local
503 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in ixgbe_dcbnl_ieee_getets()
527 adapter->ixgbe_ieee_ets->prio_tc[i] = in ixgbe_dcbnl_ieee_setets()
531 adapter->ixgbe_ieee_ets->prio_tc); in ixgbe_dcbnl_ieee_setets()
535 if (ets->prio_tc[i] > max_tc) in ixgbe_dcbnl_ieee_setets()
536 max_tc = ets->prio_tc[i]; in ixgbe_dcbnl_ieee_setets()
537 if (ets->prio_tc[i] != adapter->ixgbe_ieee_ets->prio_tc[i]) in ixgbe_dcbnl_ieee_setets()
590 u8 *prio_tc; in ixgbe_dcbnl_ieee_setpfc() local
[all …]
H A Dixgbe_dcb_82599.h73 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc);
81 u8 *prio_tc);
94 u8 *prio_tc);
98 u8 *prio_tc);
H A Dixgbe_dcb.c256 u8 prio_tc[MAX_TRAFFIC_CLASS]; in ixgbe_dcb_hw_config() local
266 ixgbe_dcb_unpack_map(dcb_config, DCB_TX_CONFIG, prio_tc); in ixgbe_dcb_hw_config()
278 bwgid, ptype, prio_tc); in ixgbe_dcb_hw_config()
286 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_hw_pfc_config() argument
296 return ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); in ixgbe_dcb_hw_pfc_config()
333 bwg_id, prio_type, ets->prio_tc); in ixgbe_dcb_hw_ets()
338 u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_ets_config() argument
355 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_ets_config()
359 prio_type, prio_tc); in ixgbe_dcb_hw_ets_config()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82599.c25 u8 *prio_tc) in ixgbe_dcb_config_rx_arbiter_82599() argument
42 reg |= (prio_tc[i] << (i * IXGBE_RTRUP2TC_UP_SHIFT)); in ixgbe_dcb_config_rx_arbiter_82599()
136 u8 *prio_tc) in ixgbe_dcb_config_tx_data_arbiter_82599() argument
153 reg |= (prio_tc[i] << (i * IXGBE_RTTUP2TC_UP_SHIFT)); in ixgbe_dcb_config_tx_data_arbiter_82599()
218 if (prio_tc[i] > max_tc) in ixgbe_dcb_config_pfc_82599()
219 max_tc = prio_tc[i]; in ixgbe_dcb_config_pfc_82599()
228 if ((prio_tc[j] == i) && (pfc_en & BIT(j))) { in ixgbe_dcb_config_pfc_82599()
334 u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_config_82599() argument
337 prio_type, prio_tc); in ixgbe_dcb_hw_config_82599()
341 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_config_82599()
[all …]
H A Dixgbe_dcb_nl.c318 u8 prio_tc[MAX_USER_PRIORITY]; in ixgbe_dcbnl_set_all() local
338 prio_type, prio_tc); in ixgbe_dcbnl_set_all()
349 u8 prio_tc[MAX_USER_PRIORITY]; in ixgbe_dcbnl_set_all() local
503 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in ixgbe_dcbnl_ieee_getets()
527 adapter->ixgbe_ieee_ets->prio_tc[i] = in ixgbe_dcbnl_ieee_setets()
531 adapter->ixgbe_ieee_ets->prio_tc); in ixgbe_dcbnl_ieee_setets()
535 if (ets->prio_tc[i] > max_tc) in ixgbe_dcbnl_ieee_setets()
536 max_tc = ets->prio_tc[i]; in ixgbe_dcbnl_ieee_setets()
537 if (ets->prio_tc[i] != adapter->ixgbe_ieee_ets->prio_tc[i]) in ixgbe_dcbnl_ieee_setets()
590 u8 *prio_tc; in ixgbe_dcbnl_ieee_setpfc() local
[all …]
H A Dixgbe_dcb_82599.h73 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc);
81 u8 *prio_tc);
94 u8 *prio_tc);
98 u8 *prio_tc);
H A Dixgbe_dcb.c256 u8 prio_tc[MAX_TRAFFIC_CLASS]; in ixgbe_dcb_hw_config() local
266 ixgbe_dcb_unpack_map(dcb_config, DCB_TX_CONFIG, prio_tc); in ixgbe_dcb_hw_config()
278 bwgid, ptype, prio_tc); in ixgbe_dcb_hw_config()
286 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_hw_pfc_config() argument
296 return ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); in ixgbe_dcb_hw_pfc_config()
333 bwg_id, prio_type, ets->prio_tc); in ixgbe_dcb_hw_ets()
338 u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_ets_config() argument
355 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_ets_config()
359 prio_type, prio_tc); in ixgbe_dcb_hw_ets_config()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_dcbnl.c26 ets->prio_tc[i] = netdev_get_prio_tc_map(dev, i); in fm10k_dcbnl_ieee_getets()
47 if (ets->prio_tc[i] > num_tc) in fm10k_dcbnl_ieee_setets()
48 num_tc = ets->prio_tc[i]; in fm10k_dcbnl_ieee_setets()
67 netdev_set_prio_tc_map(dev, i, ets->prio_tc[i]); in fm10k_dcbnl_ieee_setets()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_dcbnl.c26 ets->prio_tc[i] = netdev_get_prio_tc_map(dev, i); in fm10k_dcbnl_ieee_getets()
47 if (ets->prio_tc[i] > num_tc) in fm10k_dcbnl_ieee_setets()
48 num_tc = ets->prio_tc[i]; in fm10k_dcbnl_ieee_setets()
67 netdev_set_prio_tc_map(dev, i, ets->prio_tc[i]); in fm10k_dcbnl_ieee_setets()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_dcbnl.c26 ets->prio_tc[i] = netdev_get_prio_tc_map(dev, i); in fm10k_dcbnl_ieee_getets()
47 if (ets->prio_tc[i] > num_tc) in fm10k_dcbnl_ieee_setets()
48 num_tc = ets->prio_tc[i]; in fm10k_dcbnl_ieee_setets()
67 netdev_set_prio_tc_map(dev, i, ets->prio_tc[i]); in fm10k_dcbnl_ieee_setets()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/amd/xgbe/
H A 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()
159 ets->prio_tc[i]); in xgbe_dcb_ieee_setets()
161 max_tc = max_t(u8, max_tc, ets->prio_tc[i]); in xgbe_dcb_ieee_setets()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/amd/xgbe/
H A 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()
159 ets->prio_tc[i]); in xgbe_dcb_ieee_setets()
161 max_tc = max_t(u8, max_tc, ets->prio_tc[i]); in xgbe_dcb_ieee_setets()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/amd/xgbe/
H A 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()
159 ets->prio_tc[i]); in xgbe_dcb_ieee_setets()
161 max_tc = max_t(u8, max_tc, ets->prio_tc[i]); in xgbe_dcb_ieee_setets()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_headroom.sh124 __mlnx_qos -i $swp --prio_tc=0,2,4,6,1,3,5,7 > /dev/null
130 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,0,0,0 > /dev/null
177 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,1,2,3 > /dev/null
225 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,0,0,0 > /dev/null
245 __mlnx_qos -i $swp --prio_tc=0,1,2,3,4,5,6,7 > /dev/null
261 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,0,0,0 > /dev/null
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_headroom.sh124 __mlnx_qos -i $swp --prio_tc=0,2,4,6,1,3,5,7 > /dev/null
130 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,0,0,0 > /dev/null
177 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,1,2,3 > /dev/null
225 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,0,0,0 > /dev/null
245 __mlnx_qos -i $swp --prio_tc=0,1,2,3,4,5,6,7 > /dev/null
261 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,0,0,0 > /dev/null
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_headroom.sh124 __mlnx_qos -i $swp --prio_tc=0,2,4,6,1,3,5,7 > /dev/null
130 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,0,0,0 > /dev/null
177 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,1,2,3 > /dev/null
225 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,0,0,0 > /dev/null
245 __mlnx_qos -i $swp --prio_tc=0,1,2,3,4,5,6,7 > /dev/null
261 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,0,0,0 > /dev/null
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dcb.c56 qidx = bp->tc_to_qidx[ets->prio_tc[i]]; in bnxt_hwrm_queue_pri2cos_cfg()
83 ets->prio_tc[i] = tc; in bnxt_hwrm_queue_pri2cos_qcfg()
244 (my_ets->prio_tc[pri] == i)) { in bnxt_hwrm_queue_pfc_cfg()
440 if (ets->prio_tc[i] > bp->max_tc) { in bnxt_ets_validate()
442 ets->prio_tc[i]); in bnxt_ets_validate()
445 if (ets->prio_tc[i] > max_tc) in bnxt_ets_validate()
446 max_tc = ets->prio_tc[i]; in bnxt_ets_validate()
501 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in bnxt_dcbnl_ieee_getets()
527 my_ets->prio_tc[i] = IEEE_8021QAZ_MAX_TCS; in bnxt_dcbnl_ieee_setets()

1234