diff options
| author | Nir Dotan <nird@mellanox.com> | 2019-01-20 06:50:46 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-01-20 11:12:57 -0800 |
| commit | a04563e4892c585d63870f33e4650a98e09b243f (patch) | |
| tree | 906124a210ea8e5140b59cbe5bfd51e5e8b9bbb3 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | mlxsw: spectrum_router: Adjust loopback RIF configuration (diff) | |
| download | linux-a04563e4892c585d63870f33e4650a98e09b243f.tar.gz linux-a04563e4892c585d63870f33e4650a98e09b243f.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
