Alexander Kozyrev 9c4a0c1859 ethdev: add meter color mark flow action
Create a new Flow API action: METER_MARK.
It Meters a packet stream and marks its packets with colors.
The marking is done on a metadata, not on a packet field.
Unlike the METER action, it performs no policing at all.
A user has the flexibility to create any policies with the help of
the METER_COLOR item later, only meter profile is mandatory here.

Add testpmd command line to match for METER_MARK action:
	flow create ... actions meter_mark mtr_profile 20 / end

Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Ori Kam <orika@nvidia.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2022-09-29 09:07:36 +02:00
..
2021-11-16 11:24:22 +01:00
2021-10-08 21:31:07 +02:00
2020-09-08 00:09:50 +02:00
2022-06-06 23:31:29 +02:00
2022-05-17 16:43:27 +02:00
2022-10-03 16:01:56 +02:00
2020-09-08 00:09:50 +02:00
2021-11-04 19:46:27 +01:00
2021-07-31 20:03:47 +02:00
2021-07-31 20:03:47 +02:00
2020-10-29 14:13:31 +01:00
2020-10-08 09:34:58 +02:00
2021-11-26 11:28:34 +01:00