Searched refs:slaves_pport (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_port.c | 1097 struct mlx4_slaves_pport slaves_pport; in mlx4_get_slave_num_gids() local 1105 slaves_pport = mlx4_phys_to_slaves_pport(dev, port); in mlx4_get_slave_num_gids() 1122 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_slave_num_gids() 1135 struct mlx4_slaves_pport slaves_pport; in mlx4_get_base_gid_ix() local 1142 slaves_pport = mlx4_phys_to_slaves_pport(dev, port); in mlx4_get_base_gid_ix() 1160 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_base_gid_ix() 1751 struct mlx4_slaves_pport slaves_pport; in mlx4_get_slave_from_roce_gid() local 1758 slaves_pport = mlx4_phys_to_slaves_pport(dev, port); in mlx4_get_slave_from_roce_gid() 1759 num_vfs = bitmap_weight(slaves_pport.slaves, in mlx4_get_slave_from_roce_gid()
|
H A D | mlx4_cmd.c | 2819 struct mlx4_slaves_pport slaves_pport; in mlx4_phys_to_slaves_pport() local 2821 bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX); in mlx4_phys_to_slaves_pport() 2824 return slaves_pport; in mlx4_phys_to_slaves_pport() 2830 set_bit(i, slaves_pport.slaves); in mlx4_phys_to_slaves_pport() 2833 return slaves_pport; in mlx4_phys_to_slaves_pport() 2842 struct mlx4_slaves_pport slaves_pport; in mlx4_phys_to_slaves_pport_actv() local 2844 bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX); in mlx4_phys_to_slaves_pport_actv() 2851 set_bit(i, slaves_pport.slaves); in mlx4_phys_to_slaves_pport_actv() 2854 return slaves_pport; in mlx4_phys_to_slaves_pport_actv()
|
H A D | mlx4_eq.c | 344 struct mlx4_slaves_pport slaves_pport = mlx4_phys_to_slaves_pport(dev, in set_all_slave_state() local 348 if (test_bit(i, slaves_pport.slaves)) in set_all_slave_state()
|
H A D | mlx4_resource_tracker.c | 567 struct mlx4_slaves_pport slaves_pport = in mlx4_init_resource_tracker() local 570 bitmap_weight(slaves_pport.slaves, in mlx4_init_resource_tracker()
|