num_vfs_before 1904 drivers/net/ethernet/mellanox/mlx4/port.c int num_vfs_before = 0; num_vfs_before 1914 drivers/net/ethernet/mellanox/mlx4/port.c num_vfs_before += bitmap_weight( num_vfs_before 1926 drivers/net/ethernet/mellanox/mlx4/port.c candidate_slave_gid = slave_gid + num_vfs_before;