[PATCH v2 3/9] app/testpmd: add shared indirect action support
Ori Kam
orika at nvidia.com
Thu Feb 9 15:48:45 CET 2023
Hi Slava,
> -----Original Message-----
> From: Slava Ovsiienko <viacheslavo at nvidia.com>
> Sent: Tuesday, 7 February 2023 16:02
> Subject: [PATCH v2 3/9] app/testpmd: add shared indirect action support
>
> The shared indirect action can be shared between ports,
> action should be created on single port and the handle
> can be used in the templates and flows on multiple ports,
> example:
>
> flow configure 0 queues_number 1 queues_size 64 counters_number 64
> flow configure 1 queues_number 1 queues_size 64 counters_number 0 \
> host_port 0 flags 1
>
> flow indirect_action 0 create ingress action_id 0 action count / end
>
> flow actions_template 0 create ingress actions_template_id 8
> template indirect 0 / queue index 0 / end
> mask count / queue index 0 / end
>
> flow actions_template 1 create ingress actions_template_id 18
> template shared_indirect 0 0 / queue index 0 / end
> mask count / queue index 0 / end
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---
Acked-by: Ori Kam <orika at nvidia.com>
Best,
Ori
More information about the dev
mailing list