pipeline: add register array to SWX
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Tue, 16 Mar 2021 11:40:38 +0000 (11:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 24 Mar 2021 18:18:40 +0000 (19:18 +0100)
commit64cfcebd6890fdc60c12eac09e1f066223a3d4e6
tree74a142b01c41d0c3e3789e9599d5f6a7e16cc170
parentd366a48f467a973c7453ef1729e97a9d46a380ef
pipeline: add register array to SWX

Register arrays are stateful objects that can be read & modified by
both the data plane and the control plane, as opposed to tables, which
are read-only for data plane. One key use-case is the implementation
of stats counters.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/pipeline/cli.c
examples/pipeline/examples/registers.cli [new file with mode: 0644]
examples/pipeline/examples/registers.spec [new file with mode: 0644]
lib/librte_pipeline/rte_swx_ctl.h
lib/librte_pipeline/rte_swx_pipeline.c
lib/librte_pipeline/rte_swx_pipeline.h
lib/librte_pipeline/rte_swx_pipeline_spec.c
lib/librte_pipeline/version.map