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)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 19 Jul 2018 01:16:55 +0000 (18:16 -0700)
commit2630bae8018823c3b88788b69fb9f16ea3b4a11e
tree196dddd783ee8c1f80fca6ac9254caa5fead00c1
parent33180bee86a8940a84950edca46315cd9dd6deb5
net/mlx5e: Fix quota counting in aRFS expire flow

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>
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c