[dpdk-dev] [PATCH 0/2] net/mlx5: scatter FCS with decapsulation
Raslan Darawsheh
rasland at mellanox.com
Sun Jul 19 11:45:22 CEST 2020
Hi,
> -----Original Message-----
> From: Suanming Mou <suanmingm at mellanox.com>
> Sent: Wednesday, July 15, 2020 4:10 PM
> To: Slava Ovsiienko <viacheslavo at mellanox.com>; Matan Azrad
> <matan at mellanox.com>
> Cc: Ori Kam <orika at mellanox.com>; Raslan Darawsheh
> <rasland at mellanox.com>; dev at dpdk.org
> Subject: [PATCH 0/2] net/mlx5: scatter FCS with decapsulation
>
> There are some limitations on the some NICs (at least on ConnectX-6DX
> and BlueField2) with supporting FCS (frame checksum) scattering for
> the tunnel decapsulated packets.
>
> For the case only one of the features can be supported in the same time,
> and the new devarg "decap_en" is introduced to provide the choice to the
> users.
>
> If FCS scattering feature is not supposed to be engaged by application,
> this new devarg should be specified as "decap_en=0", forcing the FCS
> feature enable and rejecting tunnel decap actions in the rte_flow engine.
> If FCS scatter is not needed and application supposes to use tunnel
> decapsulation in rte_flow, the devarg can be omitted or set to non-zero
> value (this is default settings).
>
> Suanming Mou (2):
> common/mlx5: add scatter FCS with decap capability query
> net/mlx5: add decap enable device argument
>
> doc/guides/nics/mlx5.rst | 15 +++++++++++++++
> drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++
> drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
> drivers/common/mlx5/mlx5_prm.h | 4 +++-
> drivers/net/mlx5/linux/mlx5_os.c | 12 ++++++++++--
> drivers/net/mlx5/mlx5.c | 6 ++++++
> drivers/net/mlx5/mlx5.h | 1 +
> drivers/net/mlx5/mlx5_flow_dv.c | 5 +++++
> 8 files changed, 43 insertions(+), 3 deletions(-)
>
> --
> 1.8.3.1
Series rebased and applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list