Skip to content
Commit d7953da4 authored by Steen Hegelund's avatar Steen Hegelund Committed by Paolo Abeni
Browse files

net: microchip: sparx5: Clear rule counter even if lookup is disabled



The rule counter must be cleared when creating a new rule, even if the VCAP
lookup is currently disabled.

This ensures that rules located in VCAPs that use external counters (such
as Sparx5 IS2 and ES0) will have their counter reset even if the VCAP
lookup is not enabled at the moment.

Signed-off-by: default avatarSteen Hegelund <steen.hegelund@microchip.com>
Fixes: 95fa7414 ("net: microchip: sparx5: Reset VCAP counter for new rules")
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 65b66250
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment