commit | 6c3b4f90861c7ed59d0287b0ff7f2623f9d93d73 | [log] [tgz] |
---|---|---|
author | Amir Vadai <amir@vadai.me> | Thu Aug 18 21:09:06 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 19 16:09:55 2016 -0700 |
tree | a1bdb22fd938edbd0f726b2a284d3087138d17cf | |
parent | 2c0f8ce1b584a4d7b8ff53140d21dfed99834940 [diff] |
net/mlx5: Update last-use statistics for flow rules Set lastuse statistic, when number of packets is changed compared to last query. This was wrongly dropped when bulk counter reading was added. Fixes: a351a1b03bf1 ('net/mlx5: Introduce bulk reading of flow counters') Signed-off-by: Amir Vadai <amirva@mellanox.com> Reported-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>