[v1] net/mlx5: support represented port item
Slava Ovsiienko
viacheslavo at nvidia.com
Mon Jun 6 09:21:00 CEST 2022
> -----Original Message-----
> From: Sean Zhang (Networking SW) <xiazhang at nvidia.com>
> Sent: Saturday, April 2, 2022 9:40
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org
> Subject: [v1] net/mlx5: support represented port item
>
> Add support for represented_port item in pattern. And if the spec and mask
> both are NULL, translate function will not add source vport to matcher.
>
> For example, testpmd starts with PF, VF-rep0 and VF-rep1, below command
> will redirect packets from VF0 and VF1 to wire:
> testpmd> flow create 0 ingress transfer group 0 pattern eth /
> represented_port / end actions represented_port ethdev_id is 0 / end
>
> Signed-off-by: Sean Zhang <xiazhang at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
More information about the dev
mailing list