aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorNir Dotan <[email protected]>2019-01-20 06:50:46 +0000
committerDavid S. Miller <[email protected]>2019-01-20 11:12:57 -0800
commita04563e4892c585d63870f33e4650a98e09b243f (patch)
tree906124a210ea8e5140b59cbe5bfd51e5e8b9bbb3 /scripts/gdb/linux/utils.py
parent3c747500daedb037a9c9ccec61270c3aaf5d678e (diff)
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 <[email protected]> Reviewed-by: Petr Machata <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions