Hi, > -----Original Message----- > From: Gregory Etelson <getel...@nvidia.com> > Sent: Sunday, October 25, 2020 4:08 PM > To: dev@dpdk.org > Cc: Gregory Etelson <getel...@nvidia.com>; Matan Azrad > <ma...@nvidia.com>; Raslan Darawsheh <rasl...@nvidia.com>; Eli Britstein > <el...@nvidia.com>; Oz Shlomo <o...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; Shahaf Shuler <shah...@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 <getel...@nvidia.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@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