Searched refs:max_tc (Results 1 – 9 of 9) 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/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/ |
H A D | bnxt_hwrm.c | 257 softc->max_tc = resp->max_configurable_queues; in bnxt_hwrm_queue_qportcfg() 259 if (softc->max_tc > BNXT_MAX_COS_QUEUE) in bnxt_hwrm_queue_qportcfg() 260 softc->max_tc = BNXT_MAX_COS_QUEUE; in bnxt_hwrm_queue_qportcfg() 266 for (i = 0, j = 0; i < softc->max_tc; i++) { in bnxt_hwrm_queue_qportcfg() 275 softc->max_q = softc->max_tc; in bnxt_hwrm_queue_qportcfg() 276 softc->max_tc = max_t(uint32_t, j, 1); in bnxt_hwrm_queue_qportcfg() 279 softc->max_tc = 1; in bnxt_hwrm_queue_qportcfg() 281 if (softc->max_lltc > softc->max_tc) in bnxt_hwrm_queue_qportcfg() 282 softc->max_lltc = softc->max_tc; in bnxt_hwrm_queue_qportcfg()
|
H A D | bnxt.h | 736 uint8_t max_tc; member
|
/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 | 1244 u8 max_tc[0x4]; member
|