Merge branch 'mlxsw-Fixlets'
Jiri Pirko says: ==================== mlxsw: Fixlets Couple of small nit fixes from Petr ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
1dd236fda0
|
@ -1680,7 +1680,7 @@ __mlxsw_sp_router_neighs_update_rauhtd(struct mlxsw_sp *mlxsw_sp,
|
||||||
err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(rauhtd),
|
err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(rauhtd),
|
||||||
rauhtd_pl);
|
rauhtd_pl);
|
||||||
if (err) {
|
if (err) {
|
||||||
dev_err_ratelimited(mlxsw_sp->bus_info->dev, "Failed to dump neighbour talbe\n");
|
dev_err_ratelimited(mlxsw_sp->bus_info->dev, "Failed to dump neighbour table\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl);
|
num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl);
|
||||||
|
@ -3251,7 +3251,7 @@ mlxsw_sp_fib_entry_offload_refresh(struct mlxsw_sp_fib_entry *fib_entry,
|
||||||
return;
|
return;
|
||||||
if (mlxsw_sp_fib_entry_should_offload(fib_entry))
|
if (mlxsw_sp_fib_entry_should_offload(fib_entry))
|
||||||
mlxsw_sp_fib_entry_offload_set(fib_entry);
|
mlxsw_sp_fib_entry_offload_set(fib_entry);
|
||||||
else if (!mlxsw_sp_fib_entry_should_offload(fib_entry))
|
else
|
||||||
mlxsw_sp_fib_entry_offload_unset(fib_entry);
|
mlxsw_sp_fib_entry_offload_unset(fib_entry);
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue