Searched refs:slaves_pport (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | 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() 1863 struct mlx4_slaves_pport slaves_pport; in mlx4_get_slave_from_roce_gid() local 1870 slaves_pport = mlx4_phys_to_slaves_pport(dev, port); in mlx4_get_slave_from_roce_gid() 1871 num_vfs = bitmap_weight(slaves_pport.slaves, in mlx4_get_slave_from_roce_gid()
|
D | cmd.c | 2823 struct mlx4_slaves_pport slaves_pport; in mlx4_phys_to_slaves_pport() local 2825 bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX); in mlx4_phys_to_slaves_pport() 2828 return slaves_pport; in mlx4_phys_to_slaves_pport() 2834 set_bit(i, slaves_pport.slaves); in mlx4_phys_to_slaves_pport() 2837 return slaves_pport; in mlx4_phys_to_slaves_pport() 2846 struct mlx4_slaves_pport slaves_pport; in mlx4_phys_to_slaves_pport_actv() local 2848 bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX); in mlx4_phys_to_slaves_pport_actv() 2855 set_bit(i, slaves_pport.slaves); in mlx4_phys_to_slaves_pport_actv() 2858 return slaves_pport; in mlx4_phys_to_slaves_pport_actv()
|
D | eq.c | 349 struct mlx4_slaves_pport slaves_pport = mlx4_phys_to_slaves_pport(dev, in set_all_slave_state() local 353 if (test_bit(i, slaves_pport.slaves)) in set_all_slave_state()
|
D | resource_tracker.c | 589 struct mlx4_slaves_pport slaves_pport = in mlx4_init_resource_tracker() local 592 bitmap_weight(slaves_pport.slaves, in mlx4_init_resource_tracker()
|