Re: [RFC] table: report victim replace stats in LRU tables

2024-10-12 Thread Stephen Hemminger
On Mon, 19 Aug 2024 07:23:30 +0200 Kamil Vojanec wrote: > LRU caches replace records when requested table bucket is full. There > is, however, no information about this happening in either the return > value or the statistics. This commit introduces a counter for such > cases. > > Signed-off-by:

Re: [RFC] table: report victim replace stats in LRU tables

2024-10-11 Thread Stephen Hemminger
On Mon, 19 Aug 2024 07:23:30 +0200 Kamil Vojanec wrote: > LRU caches replace records when requested table bucket is full. There > is, however, no information about this happening in either the return > value or the statistics. This commit introduces a counter for such > cases. > > Signed-off-by:

[RFC] table: report victim replace stats in LRU tables

2024-08-18 Thread Kamil Vojanec
LRU caches replace records when requested table bucket is full. There is, however, no information about this happening in either the return value or the statistics. This commit introduces a counter for such cases. Signed-off-by: Kamil Vojanec --- lib/table/rte_table.h| 1 + lib/table

[RFC] table: report victim replace stats in LRU tables

2024-08-16 Thread Kamil Vojanec
LRU caches replace records when requested table bucket is full. There is, however, no information about this happenning in either the return value or the statistics. This commit introduces a counter for such cases. Signed-off-by: Kamil Vojanec --- lib/table/rte_table.h| 1 + lib/tabl