|
@@ -1877,6 +1877,9 @@ static void mlxsw_sp_router_fib4_abort(struct mlxsw_sp *mlxsw_sp)
|
|
int i;
|
|
int i;
|
|
int err;
|
|
int err;
|
|
|
|
|
|
|
|
+ if (mlxsw_sp->router.aborted)
|
|
|
|
+ return;
|
|
|
|
+ dev_warn(mlxsw_sp->bus_info->dev, "FIB abort triggered. Note that FIB entries are no longer being offloaded to this device.\n");
|
|
for (i = 0; i < MLXSW_CORE_RES_GET(mlxsw_sp->core, MAX_VRS); i++) {
|
|
for (i = 0; i < MLXSW_CORE_RES_GET(mlxsw_sp->core, MAX_VRS); i++) {
|
|
vr = &mlxsw_sp->router.vrs[i];
|
|
vr = &mlxsw_sp->router.vrs[i];
|
|
if (!vr->used)
|
|
if (!vr->used)
|