Home
last modified time | relevance | path

Searched refs:func_cap (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dfw.c540 struct mlx4_func_cap *func_cap) in mlx4_QUERY_FUNC_CAP() argument
574 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 …]
Dmain.c867 struct mlx4_func_cap *func_cap = NULL; in mlx4_slave_special_qp_cap() local
871 func_cap = kzalloc(sizeof(*func_cap), GFP_KERNEL); in mlx4_slave_special_qp_cap()
874 if (!func_cap || !caps->spec_qps) { in mlx4_slave_special_qp_cap()
881 err = mlx4_QUERY_FUNC_CAP(dev, i, func_cap); in mlx4_slave_special_qp_cap()
887 caps->spec_qps[i - 1] = func_cap->spec_qps; in mlx4_slave_special_qp_cap()
889 caps->phys_port_id[i] = func_cap->phys_port_id; in mlx4_slave_special_qp_cap()
903 kfree(func_cap); in mlx4_slave_special_qp_cap()
912 struct mlx4_func_cap *func_cap = NULL; in mlx4_slave_cap() local
916 func_cap = kzalloc(sizeof(*func_cap), GFP_KERNEL); in mlx4_slave_cap()
918 if (!hca_param || !func_cap || !dev_cap) { in mlx4_slave_cap()
[all …]
Dfw.h234 struct mlx4_func_cap *func_cap);