[dpdk-dev] [PATCH v5] net/mlx5: implement tunnel offload API
Raslan Darawsheh
rasland at nvidia.com
Sun Oct 25 16:01:05 CET 2020
Hi,
> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Sunday, October 25, 2020 4:08 PM
> To: dev at dpdk.org
> Cc: Gregory Etelson <getelson at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>; Eli Britstein
> <elibr at nvidia.com>; Oz Shlomo <ozsh at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Shahaf Shuler <shahafs at nvidia.com>
> Subject: [PATCH v5] net/mlx5: implement tunnel offload API
>
> Tunnel Offload API provides hardware independent, unified model
> to offload tunneled traffic. Key model elements are:
> - apply matches to both outer and inner packet headers
> during entire offload procedure;
> - restore outer header of partially offloaded packet;
> - model is implemented as a set of helper functions.
>
> Implementation details:
> * tunnel_offload PMD parameter must be set to 1 to enable the feature.
> * application cannot use MARK and META flow actions whith tunnel.
> * offload JUMP action is restricted to steering tunnel rule only.
>
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---
> doc/guides/nics/mlx5.rst | 3 +
> drivers/net/mlx5/linux/mlx5_os.c | 18 +
> drivers/net/mlx5/mlx5.c | 8 +-
> drivers/net/mlx5/mlx5.h | 3 +
> drivers/net/mlx5/mlx5_defs.h | 2 +
> drivers/net/mlx5/mlx5_flow.c | 681
> ++++++++++++++++++++++++++++++-
> drivers/net/mlx5/mlx5_flow.h | 171 +++++++-
> drivers/net/mlx5/mlx5_flow_dv.c | 254 ++++++++++--
> 8 files changed, 1086 insertions(+), 54 deletions(-)
>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list