net/mlx5e: Fix quota counting in aRFS expire flow
authorEran Ben Elisha <eranbe@mellanox.com>
Sun, 8 Jul 2018 10:08:55 +0000 (13:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 28 Jul 2018 05:55:42 +0000 (07:55 +0200)
commit047af2d8ced33f16815e3650bfd5e6c732229634
tree83bf61db7905870d087c89668a41df5c5cf57bb9
parentc83cd44202b503269388347a959017ebb6573963
net/mlx5e: Fix quota counting in aRFS expire flow

[ Upstream commit 2630bae8018823c3b88788b69fb9f16ea3b4a11e ]

Quota should follow the amount of rules which do expire, and not the
number of rules that were examined, fixed that.

Fixes: 18c908e477dc ("net/mlx5e: Add accelerated RFS support")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c