linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Nir Dotan a04563e489 mlxsw: spectrum_router: Mark RIF index as taken before creation
The presence of an allocated RIF in mlxsw_sp->router->rifs[rif_index] marks
that rif_index as taken.
Set the marking of a taken RIF to happen before calling ops->create in
order to allow creation of a GRE underlay RIF, which may be allocated and
created as part of an overlay RIF creation.

Signed-off-by: Nir Dotan <nird@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-20 11:12:57 -08:00
..
mlx4 net/mlx4: remove unneeded semicolon 2019-01-17 22:05:42 -08:00
mlx5/core net/mlx5e: Add TX timeout support for mlx5e TX reporter 2019-01-18 14:51:23 -08:00
mlxfw
mlxsw mlxsw: spectrum_router: Mark RIF index as taken before creation 2019-01-20 11:12:57 -08:00
Kconfig
Makefile