]> git.droids-corp.org - dpdk.git/commit
ethdev: add protocol based meter input color selection
authorJerin Jacob <jerinj@marvell.com>
Sun, 1 May 2022 14:46:37 +0000 (20:16 +0530)
committerAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Thu, 19 May 2022 06:56:52 +0000 (08:56 +0200)
commitd04fb3b55cd5acec7088a48cf5ea114c48ce1de1
tree436ecfe8e13cc5177f6633d2c750153c297af321
parent6d7d651bbc157bc5a66158dca4a120df96e2b3c8
ethdev: add protocol based meter input color selection

Currently, meter object supports only DSCP based on input color table,
The patch enhance that to support VLAN based input color table,
color table based on inner field for the tunnel use case, and
support for fallback color per meter if packet based on a different field.

All of the above features are exposed through capability and added
additional capability to specify the implementation supports
more than one input color table per ethdev port.

Suggested-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
doc/guides/prog_guide/traffic_metering_and_policing.rst
doc/guides/rel_notes/release_22_07.rst
lib/ethdev/rte_mtr.c
lib/ethdev/rte_mtr.h
lib/ethdev/rte_mtr_driver.h
lib/ethdev/version.map