Re: [ovs-dev] [PATCH v4] netdev-offload-tc: Preserve tc statistics when flow gets modified.

2023-02-03 Thread Ilya Maximets
On 2/1/23 12:12, Eelco Chaudron wrote: > 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

[ovs-dev] [PATCH v4] netdev-offload-tc: Preserve tc statistics when flow gets modified.

2023-02-01 Thread Eelco Chaudron
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