Hi, > -----Original Message----- > From: Xiaoyu Min <[email protected]> > Sent: Wednesday, July 10, 2019 6:00 PM > To: Raslan Darawsheh <[email protected]>; Slava Ovsiienko > <[email protected]>; Shahaf Shuler <[email protected]>; > Yongseok Koh <[email protected]>; John McNamara > <[email protected]>; Marko Kovacevic > <[email protected]> > Cc: [email protected] > Subject: [Suspected-Phishing][PATCH v4] net/mlx5: support IP-in-IP tunnel > > Enabled IP-in-IP tunnel type support on DV/DR flow engine. > This includes the following combination: > - IPv4 over IPv4 > - IPv4 over IPv6 > - IPv6 over IPv4 > - IPv6 over IPv6 > > MLX5 NIC supports IP-in-IP tunnel via FLEX Parser so need to make sure fw > using FLEX Paser profile 0. > > mlxconfig -d <mst device> -y set FLEX_PARSER_PROFILE_ENABLE=0 > > The example testpmd commands would be: > > - Match on IPv4 over IPv4 packets and do inner RSS: > > testpmd> flow create 0 ingress pattern eth / ipv4 proto is 0x04 / > ipv4 / udp / end actions rss level 2 queues 0 1 2 3 end / end > > - Match on IPv6 over IPv4 packets and do inner RSS: > > testpmd> flow create 0 ingress pattern eth / ipv4 proto is 0x29 / > ipv6 / udp / end actions rss level 2 queues 0 1 2 3 end / end > > Signed-off-by: Xiaoyu Min <[email protected]> > Acked-by: Viacheslav Ovsiienko <[email protected]> > --- > v2: > * updated release note > v3: > * rebased on 19.08-rc1 > v4: > * add example testpmd commands in commit log > --- > doc/guides/nics/mlx5.rst | 15 ++++++++++- > doc/guides/rel_notes/release_19_08.rst | 1 + > drivers/net/mlx5/mlx5_flow.c | 35 ++++++++++++++++++++++++ > drivers/net/mlx5/mlx5_flow.h | 6 ++++- > drivers/net/mlx5/mlx5_flow_dv.c | 37 ++++++++++++++++++++++++++ > 5 files changed, 92 insertions(+), 2 deletions(-) >
Patch applied on next-net-mlx after fixing conflict in documentation. Kindest regards Raslan Darawsheh

