Searched refs:quotas (Results 1 – 7 of 7) sorted by relevance
96 struct iwl_time_quota_data_v1 quotas[MAX_BINDINGS]; member131 struct iwl_time_quota_data quotas[MAX_BINDINGS]; member
1676 struct iwl_time_quota_data_v1 *quotas; in iwl_mvm_quota_cmd_get_quota() local1679 return &cmd->quotas[i]; in iwl_mvm_quota_cmd_get_quota()1681 quotas = (struct iwl_time_quota_data_v1 *)cmd->quotas; in iwl_mvm_quota_cmd_get_quota()1682 return (struct iwl_time_quota_data *)"as[i]; in iwl_mvm_quota_cmd_get_quota()
452 dev->quotas.qp = dev->caps.num_qps - dev->caps.reserved_qps - in mlx4_init_quotas()454 dev->quotas.cq = dev->caps.num_cqs - dev->caps.reserved_cqs; in mlx4_init_quotas()455 dev->quotas.srq = dev->caps.num_srqs - dev->caps.reserved_srqs; in mlx4_init_quotas()456 dev->quotas.mtt = dev->caps.num_mtts - dev->caps.reserved_mtts; in mlx4_init_quotas()457 dev->quotas.mpt = dev->caps.num_mpts - dev->caps.reserved_mrws; in mlx4_init_quotas()462 dev->quotas.qp = in mlx4_init_quotas()464 dev->quotas.cq = in mlx4_init_quotas()466 dev->quotas.srq = in mlx4_init_quotas()468 dev->quotas.mtt = in mlx4_init_quotas()470 dev->quotas.mpt = in mlx4_init_quotas()
998 dev->quotas.qp = func_cap->qp_quota; in mlx4_slave_cap()999 dev->quotas.srq = func_cap->srq_quota; in mlx4_slave_cap()1000 dev->quotas.cq = func_cap->cq_quota; in mlx4_slave_cap()1001 dev->quotas.mpt = func_cap->mpt_quota; in mlx4_slave_cap()1002 dev->quotas.mtt = func_cap->mtt_quota; in mlx4_slave_cap()
546 int err = 0, quotas = 0; in mlx4_QUERY_FUNC_CAP() local575 quotas = !!(func_cap->flags & QUERY_FUNC_CAP_FLAG_QUOTAS); in mlx4_QUERY_FUNC_CAP()583 if (quotas) { in mlx4_QUERY_FUNC_CAP()
1252 err = mlx4_create_eq(dev, dev->quotas.cq + in mlx4_init_eq_table()
535 props->max_qp = dev->dev->quotas.qp; in mlx4_ib_query_device()542 props->max_cq = dev->dev->quotas.cq; in mlx4_ib_query_device()544 props->max_mr = dev->dev->quotas.mpt; in mlx4_ib_query_device()549 props->max_srq = dev->dev->quotas.srq; in mlx4_ib_query_device()