[dpdk-dev] [PATCH 6/6] net/mlx5: add port ID pattern item to switch flow rules
Yongseok Koh
yskoh at mellanox.com
Thu Jul 12 03:13:16 CEST 2018
On Wed, Jun 27, 2018 at 08:08:20PM +0200, Adrien Mazarguil wrote:
> This enables flow rules to match traffic coming from a different DPDK port
> ID associated with the device (PORT_ID pattern item), mainly for the
> convenience of applications that want to deal with a single port ID for all
> flow rules associated with some physical device.
>
> Testpmd example:
>
> - Creating a flow rule on port ID 1 to consume all traffic from port ID 0
> and direct it to port ID 2:
>
> flow create 1 ingress transfer pattern port_id id is 0 / end actions
> port_id id 2 / end
>
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
> ---
Acked-by: Yongseok Koh <yskoh at mellanox.com>
Thanks
More information about the dev
mailing list