Home
last modified time | relevance | path

Searched refs:IEEE_8021QAZ_MAX_TCS (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/linux/include/uapi/linux/
H A Ddcbnl.h27 #define IEEE_8021QAZ_MAX_TCS 8 macro
62 __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS];
63 __u8 tc_rx_bw[IEEE_8021QAZ_MAX_TCS];
64 __u8 tc_tsa[IEEE_8021QAZ_MAX_TCS];
65 __u8 prio_tc[IEEE_8021QAZ_MAX_TCS];
66 __u8 tc_reco_bw[IEEE_8021QAZ_MAX_TCS];
67 __u8 tc_reco_tsa[IEEE_8021QAZ_MAX_TCS];
79 __u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS];
120 __u8 rpg_enable[IEEE_8021QAZ_MAX_TCS];
128 __u32 rpg_gd[IEEE_8021QAZ_MAX_TCS];
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nic/
H A Dmain.h12 #define NFP_NET_MAX_TC IEEE_8021QAZ_MAX_TCS
19 u8 tc2idx[IEEE_8021QAZ_MAX_TCS];
20 u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS];
21 u8 tc_tx_pct[IEEE_8021QAZ_MAX_TCS];
22 u8 tc_tsa[IEEE_8021QAZ_MAX_TCS];
H A Ddcb.c77 for (unsigned int i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in nfp_nic_dcbnl_ieee_getets()
88 u8 tc2idx[IEEE_8021QAZ_MAX_TCS]; in nfp_refresh_tc2idx()
95 for (unsigned int i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in nfp_refresh_tc2idx()
106 for (unsigned int j = 0; j < IEEE_8021QAZ_MAX_TCS; j++) { in nfp_refresh_tc2idx()
124 for (unsigned int i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in nfp_fill_maxrate()
216 for (unsigned int i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in dcb_ets_check()
241 for (unsigned int i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in nfp_nic_fill_ets()
280 for (unsigned int i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in nfp_nic_dcbnl_ieee_setets()
321 for (unsigned int i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in nfp_nic_dcbnl_ieee_getmaxrate()
547 for (unsigned int i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in nfp_nic_dcb_init()
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_dcbnl.c16 ets->ets_cap = IEEE_8021QAZ_MAX_TCS; in fm10k_dcbnl_ieee_getets()
25 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in fm10k_dcbnl_ieee_getets()
42 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in fm10k_dcbnl_ieee_setets()
55 if (num_tc > IEEE_8021QAZ_MAX_TCS) in fm10k_dcbnl_ieee_setets()
66 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in fm10k_dcbnl_ieee_setets()
82 pfc->pfc_cap = IEEE_8021QAZ_MAX_TCS; in fm10k_dcbnl_ieee_getpfc()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_dcb.c40 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_validate()
53 if (ets->prio_tc[i] >= IEEE_8021QAZ_MAX_TCS) { in mlxsw_sp_port_ets_validate()
76 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_port_headroom_ets_set()
99 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in __mlxsw_sp_dcbnl_ieee_setets()
113 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in __mlxsw_sp_dcbnl_ieee_setets()
131 i = IEEE_8021QAZ_MAX_TCS; in __mlxsw_sp_dcbnl_ieee_setets()
135 i = IEEE_8021QAZ_MAX_TCS; in __mlxsw_sp_dcbnl_ieee_setets()
171 if (app->priority >= IEEE_8021QAZ_MAX_TCS) { in mlxsw_sp_dcbnl_app_validate()
453 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_dcbnl_ieee_setmaxrate()
503 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_dcbnl_ieee_getpfc()
[all …]
H A Dspectrum_qdisc.c66 struct mlxsw_sp_qdisc_ets_band bands[IEEE_8021QAZ_MAX_TCS];
107 bool future_fifos[IEEE_8021QAZ_MAX_TCS];
523 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_qdisc_bstats_per_priority_get()
1207 if (band < IEEE_8021QAZ_MAX_TCS) { in __mlxsw_sp_setup_tc_fifo()
1279 if (nbands > IEEE_8021QAZ_MAX_TCS) in __mlxsw_sp_qdisc_ets_check_params()
1365 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in __mlxsw_sp_qdisc_ets_replace()
1388 for (; band < IEEE_8021QAZ_MAX_TCS; band++) { in __mlxsw_sp_qdisc_ets_replace()
1482 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_setup_tc_qdisc_prio_clean_stats()
1508 if (WARN_ON(band >= IEEE_8021QAZ_MAX_TCS)) in mlxsw_sp_qdisc_ets_get_band()
1536 .num_classes = IEEE_8021QAZ_MAX_TCS,
[all …]
H A Dspectrum_ethtool.c236 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_port_set_pauseparam()
601 IEEE_8021QAZ_MAX_TCS) + \
673 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in mlxsw_sp_port_get_strings()
829 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_get_stats()
H A Dspectrum_buffers.c322 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) { in mlxsw_sp_hdroom_prios_reset_buf_idx()
391 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) { in mlxsw_sp_hdroom_buf_is_used()
495 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_hdroom_configure_priomap()
609 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_port_headroom_init()
H A Dspectrum.c971 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_get_hw_xstats()
1474 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init()
1481 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init()
1505 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init()
1513 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init()
1530 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init()
1540 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init()
H A Dspectrum.h306 u64 tx_bytes[IEEE_8021QAZ_MAX_TCS];
307 u64 tx_packets[IEEE_8021QAZ_MAX_TCS];
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_dcb_nl.c242 num_tcs = IEEE_8021QAZ_MAX_TCS; in mlx4_en_dcbnl_set_state()
296 ets->ets_cap = IEEE_8021QAZ_MAX_TCS; in mlx4_en_dcbnl_ieee_getets()
311 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlx4_en_ets_validate()
348 __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS] = { 0 }; in mlx4_en_config_port_scheduler()
349 __u8 pg[IEEE_8021QAZ_MAX_TCS] = { 0 }; in mlx4_en_config_port_scheduler()
405 pfc->pfc_cap = IEEE_8021QAZ_MAX_TCS; in mlx4_en_dcbnl_ieee_getpfc()
474 ets.ets_cap = IEEE_8021QAZ_MAX_TCS; in mlx4_en_dcbnl_setdcbx()
475 pfc.pfc_cap = IEEE_8021QAZ_MAX_TCS; in mlx4_en_dcbnl_setdcbx()
506 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in mlx4_en_dcbnl_ieee_getmaxrate()
517 u16 tmp[IEEE_8021QAZ_MAX_TCS]; in mlx4_en_dcbnl_ieee_setmaxrate()
[all …]
H A Dmlx4_en.h628 u16 maxrate[IEEE_8021QAZ_MAX_TCS];
629 enum dcbnl_cndd_states cndd_state[IEEE_8021QAZ_MAX_TCS];
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.c305 __u16 refill[IEEE_8021QAZ_MAX_TCS], max[IEEE_8021QAZ_MAX_TCS]; in ixgbe_dcb_hw_ets()
306 __u8 prio_type[IEEE_8021QAZ_MAX_TCS]; in ixgbe_dcb_hw_ets()
310 __u8 bwg_id[IEEE_8021QAZ_MAX_TCS] = {0, 1, 2, 3, 4, 5, 6, 7}; in ixgbe_dcb_hw_ets()
313 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in ixgbe_dcb_hw_ets()
H A Dixgbe_dcb_nl.c338 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in ixgbe_dcbnl_set_all()
524 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in ixgbe_dcbnl_ieee_setets()
526 IEEE_8021QAZ_MAX_TCS; in ixgbe_dcbnl_ieee_setets()
532 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in ixgbe_dcbnl_ieee_setets()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c111 u8 tc_group[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getets()
120 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlx5e_dcbnl_ieee_getets()
254 u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setets_core()
255 u8 tc_group[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setets_core()
277 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlx5e_dcbnl_ieee_setets_core()
296 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlx5e_dbcnl_validate_ets()
553 u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getmaxrate()
554 u8 max_bw_unit[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getmaxrate()
588 u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setmaxrate()
589 u8 max_bw_unit[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setmaxrate()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dcb.c54 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in bnxt_hwrm_queue_pri2cos_cfg()
83 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in bnxt_hwrm_queue_pri2cos_qcfg()
262 for (pri = 0; pri < IEEE_8021QAZ_MAX_TCS; pri++) { in bnxt_hwrm_queue_pfc_cfg()
342 n = IEEE_8021QAZ_MAX_TCS; in bnxt_hwrm_set_dcbx_app()
479 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in bnxt_ets_validate()
573 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in bnxt_dcbnl_ieee_setets()
574 my_ets->prio_tc[i] = IEEE_8021QAZ_MAX_TCS; in bnxt_dcbnl_ieee_setets()
623 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++, rx_off++, tx_off++) { in bnxt_dcbnl_ieee_getpfc()
/openbmc/linux/include/net/
H A Ddcbnl.h33 u16 map[IEEE_8021QAZ_MAX_TCS];
40 u64 map[IEEE_8021QAZ_MAX_TCS];
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddcbnl.h25 u8 tc_tsa[IEEE_8021QAZ_MAX_TCS];
/openbmc/linux/include/linux/net/intel/
H A Diidc.h60 struct iidc_qos_info tc_info[IEEE_8021QAZ_MAX_TCS];
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dcb.c153 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in xgbe_dcb_ieee_setets()
H A Dxgbe.h203 min_t(unsigned int, IEEE_8021QAZ_MAX_TCS, (_cnt))
1237 unsigned int prio2q_map[IEEE_8021QAZ_MAX_TCS];
H A Dxgbe-dev.c467 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) { in xgbe_is_pfc_queue()
2465 if (queue_count <= IEEE_8021QAZ_MAX_TCS) in xgbe_set_nonprio_fifos()
2472 for (i = IEEE_8021QAZ_MAX_TCS; i < queue_count; i++) { in xgbe_set_nonprio_fifos()
2691 ppq = IEEE_8021QAZ_MAX_TCS / prio_queues; in xgbe_config_queue_mapping()
2692 ppq_extra = IEEE_8021QAZ_MAX_TCS % prio_queues; in xgbe_config_queue_mapping()
2763 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in xgbe_config_tc()
2792 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) { in xgbe_config_dcb_tc()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_idc.c221 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in ice_get_qos_params()
/openbmc/linux/net/dcb/
H A Ddcbnl.c2252 itr->app.priority < IEEE_8021QAZ_MAX_TCS) { in dcb_getrewr_prio_pcp_mask_map()
2278 itr->app.priority < IEEE_8021QAZ_MAX_TCS) { in dcb_getrewr_prio_dscp_mask_map()
2307 itr->app.priority < IEEE_8021QAZ_MAX_TCS) { in dcb_ieee_getapp_prio_dscp_mask_map()
2336 itr->app.priority < IEEE_8021QAZ_MAX_TCS) in dcb_ieee_getapp_dscp_prio_mask_map()
2364 itr->app.priority < IEEE_8021QAZ_MAX_TCS) in dcb_ieee_getapp_default_prio_mask()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_dcbnl.c399 pfc->pfc_cap = IEEE_8021QAZ_MAX_TCS; in otx2_dcbnl_ieee_getpfc()

12