numam-dpdk/app/test-pmd
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
..
5tswap.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
bpf_cmd.c eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
bpf_cmd.h build: replace use of old build macros 2020-10-19 22:15:44 +02:00
cmd_flex_item.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
cmdline_flow.c ethdev: add meter color mark flow action 2022-09-29 09:07:36 +02:00
cmdline_mtr.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
cmdline_mtr.h app/testpmd: support different input color method 2022-06-24 14:42:16 +02:00
cmdline_tm.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
cmdline_tm.h app/testpmd: add TM command for non-leaf and packet mode 2020-09-18 18:55:10 +02:00
cmdline.c ethdev: remove deprecated Flow Director configuration 2022-08-31 15:24:23 +02:00
config.c ethdev: add meter color mark flow action 2022-09-29 09:07:36 +02:00
csumonly.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
flowgen.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
icmpecho.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
ieee1588fwd.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
iofwd.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
macfwd.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
macswap_common.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
macswap_neon.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
macswap_sse.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
macswap.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
macswap.h net: rename Ethernet header fields 2021-10-08 14:58:11 +02:00
meson.build net/ixgbe: move bypass init in a testpmd command 2022-08-25 13:37:56 +02:00
noisy_vnf.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
parameters.c ethdev: remove deprecated Flow Director configuration 2022-08-31 15:24:23 +02:00
rxonly.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
shared_rxq_fwd.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
testpmd.c remove prefix to some local macros in apps and examples 2022-10-05 21:34:40 +02:00
testpmd.h ethdev: add meter color mark flow action 2022-09-29 09:07:36 +02:00
txonly.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
util.c app/testpmd: fix flow transfer proxy port handling 2021-11-17 11:26:27 +01:00