| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | dcbnl.h | 27 #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]; 68 __u8 reco_prio_tc[IEEE_8021QAZ_MAX_TCS]; 79 __u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS]; 120 __u8 rpg_enable[IEEE_8021QAZ_MAX_TCS]; [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | dcbnl.h | 27 #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]; 68 __u8 reco_prio_tc[IEEE_8021QAZ_MAX_TCS]; 79 __u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS]; 120 __u8 rpg_enable[IEEE_8021QAZ_MAX_TCS]; [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | dcbnl.h | 27 #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]; 68 __u8 reco_prio_tc[IEEE_8021QAZ_MAX_TCS]; 79 __u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS]; 120 __u8 rpg_enable[IEEE_8021QAZ_MAX_TCS]; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_dcbnl.c | 16 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_dcb.c | 40 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() 163 mlxsw_sp_port->dcb.ets->ets_cap = 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() [all …]
|
| H A D | spectrum_qdisc.c | 14 #define MLXSW_SP_PRIO_BAND_TO_TCLASS(band) (IEEE_8021QAZ_MAX_TCS - band - 1) 73 struct mlxsw_sp_qdisc tclass_qdiscs[IEEE_8021QAZ_MAX_TCS]; 87 bool future_fifos[IEEE_8021QAZ_MAX_TCS]; 112 TC_H_MIN(parent) > IEEE_8021QAZ_MAX_TCS) in mlxsw_sp_qdisc_find() 132 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in mlxsw_sp_qdisc_find_by_handle() 284 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_qdisc_bstats_per_priority_get() 877 if (tclass < IEEE_8021QAZ_MAX_TCS) { in mlxsw_sp_setup_tc_fifo() 919 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in __mlxsw_sp_qdisc_ets_destroy() 943 if (nbands > IEEE_8021QAZ_MAX_TCS) in __mlxsw_sp_qdisc_ets_check_params() 985 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in __mlxsw_sp_qdisc_ets_replace() [all …]
|
| H A D | spectrum_ethtool.c | 229 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_port_set_pauseparam() 594 IEEE_8021QAZ_MAX_TCS) + \ 666 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in mlxsw_sp_port_get_strings() 822 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_get_stats()
|
| H A D | spectrum_buffers.c | 307 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) { in mlxsw_sp_hdroom_prios_reset_buf_idx() 376 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) { in mlxsw_sp_hdroom_buf_is_used() 480 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_hdroom_configure_priomap() 594 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_port_headroom_init()
|
| H A D | spectrum.c | 776 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_get_hw_xstats() 1288 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init() 1295 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init() 1319 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init() 1327 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init() 1344 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init() 1354 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlxsw_sp_port_ets_init()
|
| H A D | spectrum.h | 260 u64 tx_bytes[IEEE_8021QAZ_MAX_TCS]; 261 u64 tx_packets[IEEE_8021QAZ_MAX_TCS];
|
| H A D | spectrum_acl.c | 500 if (prio >= IEEE_8021QAZ_MAX_TCS) { in mlxsw_sp_acl_rulei_act_priority()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_dcb_nl.c | 242 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() 355 for (i = IEEE_8021QAZ_MAX_TCS - 1; i >= 0; i--) { 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() [all …]
|
| H A D | mlx4_en.h | 636 u16 maxrate[IEEE_8021QAZ_MAX_TCS]; 637 enum dcbnl_cndd_states cndd_state[IEEE_8021QAZ_MAX_TCS];
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_dcb.c | 305 __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 D | ixgbe_dcb_nl.c | 340 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in ixgbe_dcbnl_set_all() 526 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in ixgbe_dcbnl_ieee_setets() 528 IEEE_8021QAZ_MAX_TCS; in ixgbe_dcbnl_ieee_setets() 534 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in ixgbe_dcbnl_ieee_setets()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_dcbnl.c | 111 u8 tc_group[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getets() 252 u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setets_core() 253 u8 tc_group[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setets_core() 275 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlx5e_dcbnl_ieee_setets_core() 294 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlx5e_dbcnl_validate_ets() 304 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlx5e_dbcnl_validate_ets() 349 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in mlx5e_dcbnl_ieee_getpfc() 551 u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getmaxrate() 552 u8 max_bw_unit[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getmaxrate() 586 u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setmaxrate() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_dcb.c | 50 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in bnxt_hwrm_queue_pri2cos_cfg() 77 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in bnxt_hwrm_queue_pri2cos_qcfg() 242 for (pri = 0; pri < IEEE_8021QAZ_MAX_TCS; pri++) { in bnxt_hwrm_queue_pfc_cfg() 310 n = IEEE_8021QAZ_MAX_TCS; in bnxt_hwrm_set_dcbx_app() 439 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in bnxt_ets_validate() 526 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) in bnxt_dcbnl_ieee_setets() 527 my_ets->prio_tc[i] = IEEE_8021QAZ_MAX_TCS; in bnxt_dcbnl_ieee_setets() 576 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++, rx_off++, tx_off++) { in bnxt_dcbnl_ieee_getpfc()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | dcbnl.h | 25 u8 tc_tsa[IEEE_8021QAZ_MAX_TCS];
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | dcbnl.h | 27 u64 map[IEEE_8021QAZ_MAX_TCS];
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-dcb.c | 153 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in xgbe_dcb_ieee_setets()
|
| H A D | xgbe.h | 202 min_t(unsigned int, IEEE_8021QAZ_MAX_TCS, (_cnt)) 1203 unsigned int prio2q_map[IEEE_8021QAZ_MAX_TCS];
|
| H A D | xgbe-dev.c | 467 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) { in xgbe_is_pfc_queue() 2408 if (queue_count <= IEEE_8021QAZ_MAX_TCS) in xgbe_set_nonprio_fifos() 2415 for (i = IEEE_8021QAZ_MAX_TCS; i < queue_count; i++) { in xgbe_set_nonprio_fifos() 2634 ppq = IEEE_8021QAZ_MAX_TCS / prio_queues; in xgbe_config_queue_mapping() 2635 ppq_extra = IEEE_8021QAZ_MAX_TCS % prio_queues; in xgbe_config_queue_mapping() 2706 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in xgbe_config_tc() 2735 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) { in xgbe_config_dcb_tc()
|
| /OK3568_Linux_fs/kernel/net/dcb/ |
| H A D | dcbnl.c | 2000 itr->app.priority < IEEE_8021QAZ_MAX_TCS) { in dcb_ieee_getapp_prio_dscp_mask_map() 2029 itr->app.priority < IEEE_8021QAZ_MAX_TCS) in dcb_ieee_getapp_dscp_prio_mask_map() 2057 itr->app.priority < IEEE_8021QAZ_MAX_TCS) in dcb_ieee_getapp_default_prio_mask()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb_lib.c | 161 for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) { in ice_dcb_get_num_tc()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-hw.c | 1549 prio_queues = min_t(unsigned int, IEEE_8021QAZ_MAX_TCS, in xlgmac_config_queue_mapping() 1551 ppq = IEEE_8021QAZ_MAX_TCS / prio_queues; in xlgmac_config_queue_mapping() 1552 ppq_extra = IEEE_8021QAZ_MAX_TCS % prio_queues; in xlgmac_config_queue_mapping()
|