Home
last modified time | relevance | path

Searched refs:num_mgms (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/mthca/
Dmthca_mcg.c205 BUG_ON(index < dev->limits.num_mgms); in mthca_multicast_attach()
285 BUG_ON(amgm_index_to_free < dev->limits.num_mgms); in mthca_multicast_detach()
304 BUG_ON(index < dev->limits.num_mgms); in mthca_multicast_detach()
318 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; in mthca_init_mcg_table()
323 dev->limits.num_mgms); in mthca_init_mcg_table()
Dmthca_profile.c212 dev->limits.num_mgms = profile[i].num >> 1; in mthca_make_profile()
Dmthca_main.c509 mdev->limits.num_mgms + in mthca_init_icm()
511 mdev->limits.num_mgms + in mthca_init_icm()
Dmthca_dev.h166 int num_mgms; member
Dmthca_provider.c109 props->max_mcast_grp = mdev->limits.num_mgms + mdev->limits.num_amgms; in mthca_query_device()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c1144 index += dev->caps.num_mgms; in mlx4_qp_attach_common()
1201 if (index < dev->caps.num_mgms) in mlx4_qp_attach_common()
1203 index, dev->caps.num_mgms); in mlx4_qp_attach_common()
1206 index - dev->caps.num_mgms, MLX4_USE_RR); in mlx4_qp_attach_common()
1297 if (amgm_index < dev->caps.num_mgms) in mlx4_qp_detach_common()
1299 index, amgm_index, dev->caps.num_mgms); in mlx4_qp_detach_common()
1302 amgm_index - dev->caps.num_mgms, MLX4_USE_RR); in mlx4_qp_detach_common()
1317 if (index < dev->caps.num_mgms) in mlx4_qp_detach_common()
1319 prev, index, dev->caps.num_mgms); in mlx4_qp_detach_common()
1322 index - dev->caps.num_mgms, MLX4_USE_RR); in mlx4_qp_detach_common()
Dprofile.c249 dev->caps.num_mgms = profile[i].num; in mlx4_make_profile()
253 dev->caps.num_mgms = profile[i].num >> 1; in mlx4_make_profile()
Dmain.c1010 dev->caps.num_mgms = 0; in mlx4_slave_cap()
1819 dev->caps.num_mgms + dev->caps.num_amgms, in mlx4_init_icm()
1820 dev->caps.num_mgms + dev->caps.num_amgms, in mlx4_init_icm()
Dfw.c519 size = dev->caps.num_mgms + dev->caps.num_amgms; in mlx4_QUERY_FUNC_CAP_wrapper()
/Linux-v6.6/include/linux/mlx4/
Ddevice.h581 int num_mgms; member
/Linux-v6.6/drivers/infiniband/hw/mlx4/
Dmain.c555 props->max_mcast_grp = dev->dev->caps.num_mgms + dev->dev->caps.num_amgms; in mlx4_ib_query_device()