The title is confusing. Port representor is already supported in mlx5. It seems you are adding support for matching on port representor ID, right?
19/10/2022 16:57, Sean Zhang: > Add support for port_representor item, it will match on traffic > originated from representor port specified in the pattern. This item > is supported in FDB steering domain only (in the flow with transfer > attribute). > > For example, below flow will redirect the destination of traffic from > port 1 to port 2. > > testpmd> ... pattern eth / port_representor port_id is 1 / end actions > represented_port ethdev_port_id 2 / ... > > To handle abovementioned item, tx queue matching is added in the driver, > and the flow will be expanded to number of the tx queues. If the spec of > port_representor is NULL, the flow will not be expanded and match on > traffic from any representor port. > > Signed-off-by: Sean Zhang <xiazh...@nvidia.com>