Lines Matching refs:actv_ports
1098 struct mlx4_active_ports actv_ports; in mlx4_get_slave_num_gids() local
1106 actv_ports = mlx4_get_active_ports(dev, slave); in mlx4_get_slave_num_gids()
1107 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) + in mlx4_get_slave_num_gids()
1108 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; in mlx4_get_slave_num_gids()
1136 struct mlx4_active_ports actv_ports; in mlx4_get_base_gid_ix() local
1143 actv_ports = mlx4_get_active_ports(dev, slave); in mlx4_get_base_gid_ix()
1144 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) + in mlx4_get_base_gid_ix()
1145 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; in mlx4_get_base_gid_ix()
1206 struct mlx4_active_ports actv_ports; in mlx4_reset_roce_gids() local
1214 actv_ports = mlx4_get_active_ports(dev, slave); in mlx4_reset_roce_gids()
1217 if (test_bit(i, actv_ports.ports)) { in mlx4_reset_roce_gids()
1233 if (test_bit(i, actv_ports.ports)) { in mlx4_reset_roce_gids()
1901 struct mlx4_active_ports actv_ports; in mlx4_get_slave_from_roce_gid() local
1928 actv_ports = mlx4_get_active_ports(dev, candidate_slave_gid); in mlx4_get_slave_from_roce_gid()
1930 actv_ports.ports, dev->caps.num_ports) + in mlx4_get_slave_from_roce_gid()
1931 bitmap_weight(actv_ports.ports, in mlx4_get_slave_from_roce_gid()