pipeline: add meter array to SWX
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Tue, 16 Mar 2021 11:40:39 +0000 (11:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 24 Mar 2021 18:18:45 +0000 (19:18 +0100)
commitf38913b7fb8e46ff76ad9fef51b9b15770e1d9dc
treee98dbca8ce58b755eb5badf0b1608fd2547b3f01
parent64cfcebd6890fdc60c12eac09e1f066223a3d4e6
pipeline: add meter array to SWX

Meter arrays are stateful objects that are updated by the data plane
and configured & monitored by the control plane. The meters implement
the RFC 2698 Two Rate Three Color Marker (trTCM) algorithm.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/pipeline/cli.c
examples/pipeline/examples/meter.cli [new file with mode: 0644]
examples/pipeline/examples/meter.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