diff options
author | Eelco Chaudron <echaudro@redhat.com> | 2023-02-01 12:12:14 +0100 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2023-02-03 16:39:59 +0100 |
commit | b1f58f5072d6c934aafadc8ee27832ffac003db5 (patch) | |
tree | fd70b1385b9a31b95328c4d56763853fb5ce2006 /lib/netdev-dummy.c | |
parent | d6501c66050ad7ad54081f2104a01a28f1b3ce42 (diff) | |
download | openvswitch-b1f58f5072d6c934aafadc8ee27832ffac003db5.tar.gz |
netdev-offload-tc: Preserve tc statistics when flow gets modified.
When a flow gets modified, i.e. the actions are changes, the tc layer will
remove, and re-add the flow. This is causing all the counters to be reset.
This patch will remember the previous tc counters and adjust any requests
for statistics. This is done in a similar way as the rte_flow implementation.
It also updates the check_pkt_len tc test to purge the flows, so we do
not use existing updated tc flow counters, but start with fresh installed
set of datapath flows.
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'lib/netdev-dummy.c')
0 files changed, 0 insertions, 0 deletions