Hi, > -----Original Message----- > From: Xiaoyu Min <jack...@mellanox.com> > Sent: Wednesday, July 3, 2019 10:23 AM > To: Raslan Darawsheh <rasl...@mellanox.com>; Slava Ovsiienko > <viachesl...@mellanox.com>; Shahaf Shuler <shah...@mellanox.com>; > Yongseok Koh <ys...@mellanox.com>; John McNamara > <john.mcnam...@intel.com>; Marko Kovacevic > <marko.kovace...@intel.com> > Cc: dev@dpdk.org > Subject: [Suspected-Phishing][PATCH v3] net/mlx5: support matching on > ICMP/ICMP6 > > On DV/DR flow engine, MLX5 can match on ICMP/ICMP6's code and type > field > via FLEX Parser, which can be enabled by config FW using FLEX Parser > profile 2: > > mlxconfig -d <mst device> -y set FLEX_PARSER_PROFILE_ENABLE=2 > > The testpmd commands could be: > > testpmd> flow create 0 ingress pattern eth / ipv4 / > icmp type is 8 code is 0 / end > actions rss queues 0 1 end / end > > testpmd> flow create 0 ingress pattern eth / ipv6 / > icmp6 type is 128 code is 0 / end > actions rss queues 0 1 end / end > > Signed-off-by: Xiaoyu Min <jack...@mellanox.com> > --- > v2: > * updated release note > v3: > * added example testpmd commands in commit log > * more strictly validation: ICMP needs IPv4; ICMP6 needs IPv6
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh