aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2016-10-25 18:36:28 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-29 12:00:39 -0400
commite83d6955fe422f120b0e98e4f02496af89845eef (patch)
treed3d66d34d087cee89dd29ddddb9f13348024a2ba /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentnet/mlx5: Fix autogroups groups num not decreasing (diff)
downloadlinux-dev-e83d6955fe422f120b0e98e4f02496af89845eef.tar.xz
linux-dev-e83d6955fe422f120b0e98e4f02496af89845eef.zip
net/mlx5: Correctly initialize last use of flow counters
Currently, last use timestamp is initialized to zero. This is not the expected value by higher layers such as when we do TC action offloading. To fix that, set it to the current time, e.g when the counter/rule is offloaded. This is the same behaviour of non-offloaded TC actions. Fixes: 43a335e055bb ('mlx5_core: Flow counters infrastructure') Signed-off-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions