On Mon, 19 Aug 2024 07:23:30 +0200
Kamil Vojanec <voja...@cesnet.cz> 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: Kamil Vojanec <voja...@cesnet.cz>
> ---
>  lib/table/rte_table.h            | 1 +
>  lib/table/rte_table_hash_key16.c | 4 ++++
>  lib/table/rte_table_hash_key32.c | 4 ++++
>  lib/table/rte_table_hash_key8.c  | 4 ++++
>  lib/table/rte_table_hash_lru.c   | 4 ++++
>  5 files changed, 17 insertions(+)
> 
> diff --git a/lib/table/rte_table.h b/lib/table/rte_table.h
> index 9a5faf0e32..e097e25868 100644
> --- a/lib/table/rte_table.h
> +++ b/lib/table/rte_table.h
> @@ -33,6 +33,7 @@ struct rte_mbuf;
>  struct rte_table_stats {
>       uint64_t n_pkts_in;
>       uint64_t n_pkts_lookup_miss;
> +     uint64_t n_pkts_insert_victims;
>  };
>  

This ABI change so it needs a release note, and has to targeted
at a LTS release, too late for 24.11; so would end up getting deferred
until 25.11..

When you send followup please reply-to the initial RFC message id
with "PATCH v3"

Reply via email to