Lines Matching refs:caps
130 if (port < 1 || port > dev->caps.num_ports) in get_promisc_qp()
161 if (port < 1 || port > dev->caps.num_ports) in new_steering_entry()
211 if (members_count == dev->caps.num_qp_per_mgm) { in new_steering_entry()
248 if (port < 1 || port > dev->caps.num_ports) in existing_steering_entry()
296 if (port < 1 || port > dev->caps.num_ports) in check_duplicate_entry()
341 if (port < 1 || port > dev->caps.num_ports) in promisc_steering_entry()
380 if (port < 1 || port > dev->caps.num_ports) in can_remove_steering_entry()
436 if (port < 1 || port > dev->caps.num_ports) in add_promisc_qp()
489 if (members_count == dev->caps.num_qp_per_mgm) { in add_promisc_qp()
509 if (members_count == dev->caps.num_qp_per_mgm) { in add_promisc_qp()
553 if (port < 1 || port > dev->caps.num_ports) in remove_promisc_qp()
680 !!(dev->caps.flags & MLX4_DEV_CAP_FLAG_VEP_MC_STEER) : 0; in find_entry()
1047 index += dev->caps.num_mgms; in mlx4_qp_attach_common()
1055 if (members_count == dev->caps.num_qp_per_mgm) { in mlx4_qp_attach_common()
1103 if (index < dev->caps.num_mgms) in mlx4_qp_attach_common()
1105 index, dev->caps.num_mgms); in mlx4_qp_attach_common()
1108 index - dev->caps.num_mgms, MLX4_USE_RR); in mlx4_qp_attach_common()
1201 if (amgm_index < dev->caps.num_mgms) in mlx4_qp_detach_common()
1203 index, amgm_index, dev->caps.num_mgms); in mlx4_qp_detach_common()
1206 amgm_index - dev->caps.num_mgms, MLX4_USE_RR); in mlx4_qp_detach_common()
1221 if (index < dev->caps.num_mgms) in mlx4_qp_detach_common()
1223 prev, index, dev->caps.num_mgms); in mlx4_qp_detach_common()
1226 index - dev->caps.num_mgms, MLX4_USE_RR); in mlx4_qp_detach_common()
1312 switch (dev->caps.steering_mode) { in mlx4_multicast_attach()
1344 switch (dev->caps.steering_mode) { in mlx4_multicast_detach()
1466 if ((slave != dev->caps.function) && (steer == MLX4_UC_STEER)) in mlx4_PROMISC_wrapper()
1525 if (dev->caps.steering_mode == in mlx4_init_mcg_table()
1528 err = mlx4_bitmap_init(&priv->mcg_table.bitmap, dev->caps.num_amgms, in mlx4_init_mcg_table()
1529 dev->caps.num_amgms - 1, 0, 0); in mlx4_init_mcg_table()
1540 if (dev->caps.steering_mode != in mlx4_cleanup_mcg_table()