[dpdk-dev] [Suspected-Phishing][PATCH v4] net/mlx5: support IP-in-IP tunnel
Raslan Darawsheh
rasland at mellanox.com
Sun Jul 14 14:26:33 CEST 2019
Hi,
> -----Original Message-----
> From: Xiaoyu Min <jackmin at mellanox.com>
> Sent: Wednesday, July 10, 2019 6:00 PM
> To: Raslan Darawsheh <rasland at mellanox.com>; Slava Ovsiienko
> <viacheslavo at mellanox.com>; Shahaf Shuler <shahafs at mellanox.com>;
> Yongseok Koh <yskoh at mellanox.com>; John McNamara
> <john.mcnamara at intel.com>; Marko Kovacevic
> <marko.kovacevic at intel.com>
> Cc: dev at dpdk.org
> 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 <jackmin at mellanox.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> ---
> 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
More information about the dev
mailing list