table: support learner tables
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Mon, 20 Sep 2021 15:01:30 +0000 (16:01 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 27 Sep 2021 07:30:41 +0000 (09:30 +0200)
commit0c06fa3bfa8cf5c35f03923d6e8f64f9200b50e8
tree5dbcfe9b3d03e78fc0df4da9fe1cc79b5dfa094b
parent8df6b822843787a874b7405ce0985490d1f6a597
table: support learner tables

A learner table is typically used for learning or connection tracking,
where it allows for the implementation of the "add on miss" scenario:
whenever the lookup key is not found in the table (lookup miss), the
data plane can decide to add this key to the table with a given action
with no control plane intervention. Likewise, the table keys expire
based on a configurable timeout and are automatically deleted from the
table with no control plane intervention.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/table/meson.build
lib/table/rte_swx_table_learner.c [new file with mode: 0644]
lib/table/rte_swx_table_learner.h [new file with mode: 0644]
lib/table/version.map