Searched refs:max_tc (Results 1 – 13 of 13) sorted by relevance
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-dcb.c | 143 u8 max_tc = 0; 155 max_tc = max_t(u8, max_tc, ets->prio_tc[i]); 157 max_tc = max_t(u8, max_tc, i); 175 if (max_tc >= pdata->hw_feat.tc_cnt) { 197 pdata->num_tcs = max_tc + 1;
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_dcb.c | 43 for (i = 0; i < softc->max_tc; i++) { in bnxt_tx_queue_to_tc() 45 for (j = 0; j < softc->max_tc; j++) { in bnxt_tx_queue_to_tc() 114 uint8_t max_tc) in bnxt_hwrm_queue_cos2bw_cfg() argument 123 for (i = 0; i < max_tc; i++) { in bnxt_hwrm_queue_cos2bw_cfg() 176 for (i = 0; i < softc->max_tc; i++, data += sizeof(cos2bw.cfg)) { in bnxt_hwrm_queue_cos2bw_qcfg() 201 int max = softc->max_tc; in bnxt_queue_remap() 228 rc = bnxt_hwrm_queue_cos2bw_cfg(softc, softc->ieee_ets, softc->max_tc); in bnxt_queue_remap() 255 for (i = 0; i < softc->max_tc; i++) { in bnxt_hwrm_queue_pfc_cfg() 274 for (i = 0; i < softc->max_tc; i++) { in bnxt_hwrm_queue_pfc_cfg() 560 uint8_t max_tc = 0; in bnxt_ets_validate() local [all …]
|
H A D | bnxt_hwrm.c | 277 uint8_t max_tc, max_lltc, *max_q; in bnxt_hwrm_queue_qportcfg() local 303 max_tc = min_t(uint8_t, resp->max_configurable_queues, BNXT_MAX_QUEUE); in bnxt_hwrm_queue_qportcfg() 323 for (i = 0, j = 0; i < max_tc; i++) { in bnxt_hwrm_queue_qportcfg() 340 *max_q = max_tc; in bnxt_hwrm_queue_qportcfg() 341 max_tc = max_t(uint8_t, j, 1); in bnxt_hwrm_queue_qportcfg() 342 softc->max_tc = softc->max_tc ? min(softc->max_tc, max_tc) : max_tc; in bnxt_hwrm_queue_qportcfg() 345 if (softc->max_lltc > softc->max_tc) in bnxt_hwrm_queue_qportcfg() 346 softc->max_lltc = softc->max_tc; in bnxt_hwrm_queue_qportcfg()
|
H A D | bnxt.h | 1030 uint8_t max_tc; member
|
H A D | if_bnxt.c | 1378 for (i = 0; i < softc->max_tc; i++) { in bnxt_verify_asym_queues()
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_dcb_82599.c | 297 u8 max_tc = 0; in ixgbe_dcb_config_pfc_82599() local 322 if (map[i] > max_tc) in ixgbe_dcb_config_pfc_82599() 323 max_tc = map[i]; in ixgbe_dcb_config_pfc_82599() 328 for (i = 0; i <= max_tc; i++) { in ixgbe_dcb_config_pfc_82599()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_dcbx_api.h | 98 u8 max_tc; member
|
H A D | ecore_dcbx.c | 616 p_params->pfc.max_tc = GET_MFW_FIELD(pfc, DCBX_PFC_CAPS); in ecore_dcbx_get_pfc_data() 630 p_params->pfc.willing, pfc_map, p_params->pfc.max_tc, in ecore_dcbx_get_pfc_data() 1190 *pfc |= (u32)p_params->pfc.max_tc << DCBX_PFC_CAPS_OFFSET; in ecore_dcbx_set_pfc_data()
|
H A D | ecore_dev.c | 2084 u8 max_tc = ecore_init_qm_get_num_tcs(p_hwfn); in ecore_get_cm_pq_idx_mcos() local 2086 if (tc > max_tc) in ecore_get_cm_pq_idx_mcos() 2087 DP_ERR(p_hwfn, "tc %d must be smaller than %d\n", tc, max_tc); in ecore_get_cm_pq_idx_mcos()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | bnxt_re.h | 270 u8 max_tc; member
|
H A D | main.c | 2843 u8 max_tc, tc, *qptr, *type_ptr0, *type_ptr1; in bnxt_re_query_hwrm_qportcfg() local 2869 max_tc = resp.max_configurable_queues; in bnxt_re_query_hwrm_qportcfg() 2870 tc_rec->max_tc = max_tc; in bnxt_re_query_hwrm_qportcfg() 2878 for (tc = 0; tc < max_tc; tc++) { in bnxt_re_query_hwrm_qportcfg()
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_port.c | 854 u8 num_tc = MLX5_CAP_GEN(mdev, max_tc) ? : 8; in mlx5_max_tc()
|
/freebsd/sys/dev/mlx5/ |
H A D | mlx5_ifc.h | 1440 u8 max_tc[0x4]; member
|