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

2023-01-13 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 implementati

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

2023-01-31 Thread Ilya Maximets
On 1/13/23 13:57, 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

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

2023-01-31 Thread Eelco Chaudron
On 31 Jan 2023, at 14:13, Ilya Maximets wrote: > On 1/13/23 13:57, 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 coun

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

2023-02-01 Thread Ilya Maximets
On 1/31/23 15:38, Eelco Chaudron wrote: > > > On 31 Jan 2023, at 14:13, Ilya Maximets wrote: > >> On 1/13/23 13:57, 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.

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

2023-02-01 Thread Eelco Chaudron
On 1 Feb 2023, at 12:02, Ilya Maximets wrote: > On 1/31/23 15:38, Eelco Chaudron wrote: >> >> >> On 31 Jan 2023, at 14:13, Ilya Maximets wrote: >> >>> On 1/13/23 13:57, Eelco Chaudron wrote: When a flow gets modified, i.e. the actions are changes, the tc layer will remove, and re-add