]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bca719993ebff3e30491b60787ef87a8dab4b9d
tree196dddd783ee8c1f80fca6ac9254caa5fead00c1
parent27bcc1265f3c80dc3b54667551fbe95bc4c35a8a
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: 7de741f9f8f5 ("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