[dpdk-dev] [PATCH 4/6] net/mlx5: add L2-L4 pattern items to switch flow rules

Yongseok Koh yskoh at mellanox.com
Thu Jul 12 03:02:07 CEST 2018


On Wed, Jun 27, 2018 at 08:08:16PM +0200, Adrien Mazarguil wrote:
> This enables flow rules to explicitly match supported combinations of
> Ethernet, IPv4, IPv6, TCP and UDP headers at the switch level.
> 
> Testpmd example:
> 
> - Dropping TCPv4 traffic with a specific destination on port ID 2:
> 
>   flow create 2 ingress transfer pattern eth / ipv4 / tcp dst is 42 / end
>      actions drop / 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