Home
last modified time | relevance | path

Searched refs:slaves_pport (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dport.c1097 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()
Dcmd.c2824 struct mlx4_slaves_pport slaves_pport; in mlx4_phys_to_slaves_pport() local
2826 bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX); in mlx4_phys_to_slaves_pport()
2829 return slaves_pport; in mlx4_phys_to_slaves_pport()
2835 set_bit(i, slaves_pport.slaves); in mlx4_phys_to_slaves_pport()
2838 return slaves_pport; in mlx4_phys_to_slaves_pport()
2847 struct mlx4_slaves_pport slaves_pport; in mlx4_phys_to_slaves_pport_actv() local
2849 bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX); in mlx4_phys_to_slaves_pport_actv()
2856 set_bit(i, slaves_pport.slaves); in mlx4_phys_to_slaves_pport_actv()
2859 return slaves_pport; in mlx4_phys_to_slaves_pport_actv()
Deq.c349 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()
Dresource_tracker.c589 struct mlx4_slaves_pport slaves_pport = in mlx4_init_resource_tracker() local
592 bitmap_weight(slaves_pport.slaves, in mlx4_init_resource_tracker()