Home
last modified time | relevance | path

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

/linux-4.1.27/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.c218 dev->limits.num_mgms = profile[i].num >> 1; in mthca_make_profile()
Dmthca_main.c510 mdev->limits.num_mgms + in mthca_init_icm()
512 mdev->limits.num_mgms + in mthca_init_icm()
Dmthca_dev.h167 int num_mgms; member
Dmthca_provider.c111 props->max_mcast_grp = mdev->limits.num_mgms + mdev->limits.num_amgms; in mthca_query_device()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c1137 index += dev->caps.num_mgms; in mlx4_qp_attach_common()
1193 if (index < dev->caps.num_mgms) in mlx4_qp_attach_common()
1195 index, dev->caps.num_mgms); in mlx4_qp_attach_common()
1198 index - dev->caps.num_mgms, MLX4_USE_RR); in mlx4_qp_attach_common()
1289 if (amgm_index < dev->caps.num_mgms) in mlx4_qp_detach_common()
1291 index, amgm_index, dev->caps.num_mgms); in mlx4_qp_detach_common()
1294 amgm_index - dev->caps.num_mgms, MLX4_USE_RR); in mlx4_qp_detach_common()
1309 if (index < dev->caps.num_mgms) in mlx4_qp_detach_common()
1311 prev, index, dev->caps.num_mgms); in mlx4_qp_detach_common()
1314 index - dev->caps.num_mgms, MLX4_USE_RR); in mlx4_qp_detach_common()
Dprofile.c252 dev->caps.num_mgms = profile[i].num; in mlx4_make_profile()
256 dev->caps.num_mgms = profile[i].num >> 1; in mlx4_make_profile()
Dmain.c834 dev->caps.num_mgms = 0; in mlx4_slave_cap()
1527 dev->caps.num_mgms + dev->caps.num_amgms, in mlx4_init_icm()
1528 dev->caps.num_mgms + dev->caps.num_amgms, in mlx4_init_icm()
Dfw.c420 size = dev->caps.num_mgms + dev->caps.num_amgms; in mlx4_QUERY_FUNC_CAP_wrapper()
/linux-4.1.27/include/linux/mlx4/
Ddevice.h539 int num_mgms; member
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmain.c227 props->max_mcast_grp = dev->dev->caps.num_mgms + dev->dev->caps.num_amgms; in mlx4_ib_query_device()