Searched refs:func_cap (Results 1 – 3 of 3) sorted by relevance
540 struct mlx4_func_cap *func_cap) in mlx4_QUERY_FUNC_CAP() argument574 func_cap->flags = field; in mlx4_QUERY_FUNC_CAP()575 quotas = !!(func_cap->flags & QUERY_FUNC_CAP_FLAG_QUOTAS); in mlx4_QUERY_FUNC_CAP()578 func_cap->num_ports = field; in mlx4_QUERY_FUNC_CAP()581 func_cap->pf_context_behaviour = size; in mlx4_QUERY_FUNC_CAP()585 func_cap->qp_quota = size & 0xFFFFFF; in mlx4_QUERY_FUNC_CAP()588 func_cap->srq_quota = size & 0xFFFFFF; in mlx4_QUERY_FUNC_CAP()591 func_cap->cq_quota = size & 0xFFFFFF; in mlx4_QUERY_FUNC_CAP()594 func_cap->mpt_quota = size & 0xFFFFFF; in mlx4_QUERY_FUNC_CAP()597 func_cap->mtt_quota = size & 0xFFFFFF; in mlx4_QUERY_FUNC_CAP()[all …]
866 struct mlx4_func_cap *func_cap; in mlx4_slave_special_qp_cap() local870 func_cap = kzalloc(sizeof(*func_cap), GFP_KERNEL); in mlx4_slave_special_qp_cap()873 if (!func_cap || !caps->spec_qps) { in mlx4_slave_special_qp_cap()880 err = mlx4_QUERY_FUNC_CAP(dev, i, func_cap); in mlx4_slave_special_qp_cap()886 caps->spec_qps[i - 1] = func_cap->spec_qps; in mlx4_slave_special_qp_cap()888 caps->phys_port_id[i] = func_cap->phys_port_id; in mlx4_slave_special_qp_cap()902 kfree(func_cap); in mlx4_slave_special_qp_cap()911 struct mlx4_func_cap *func_cap; in mlx4_slave_cap() local915 func_cap = kzalloc(sizeof(*func_cap), GFP_KERNEL); in mlx4_slave_cap()917 if (!hca_param || !func_cap || !dev_cap) { in mlx4_slave_cap()[all …]
234 struct mlx4_func_cap *func_cap);