diff options
author | 2020-05-27 09:44:20 +0200 | |
---|---|---|
committer | 2020-05-27 11:18:57 -0700 | |
commit | 5b186cd60f033110960a3db424ffbd6de4cee528 (patch) | |
tree | ac596f5bbb6cc6af66b18440fdebbaa2bffc5875 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net/sched: fix infinite loop in sch_fq_pie (diff) | |
download | wireguard-linux-5b186cd60f033110960a3db424ffbd6de4cee528.tar.xz wireguard-linux-5b186cd60f033110960a3db424ffbd6de4cee528.zip |
nfp: flower: fix used time of merge flow statistics
Prior to this change the correct value for the used counter is calculated
but not stored nor, therefore, propagated to user-space. In use-cases such
as OVS use-case at least this results in active flows being removed from
the hardware datapath. Which results in both unnecessary flow tear-down
and setup, and packet processing on the host.
This patch addresses the problem by saving the calculated used value
which allows the value to propagate to user-space.
Found by inspection.
Fixes: aa6ce2ea0c93 ("nfp: flower: support stats update for merge flows")
Signed-off-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions