mbox series

[v2,0/4] net/mlx5: support send scheduling for ConnectX-7

Message ID 20220222102648.4662-1-viacheslavo@nvidia.com (mailing list archive)
Headers
Series net/mlx5: support send scheduling for ConnectX-7 |

Message

Slava Ovsiienko Feb. 22, 2022, 10:26 a.m. UTC
  Since the ConnectX-6DX the send scheduling capability is provided.
An application can register the dynamic field and dynamic flags
in mbuf for timestamp and specify the desired moment of time
the packet should sent.

The send scheduling feature over ConnectX-6DX uses the complicated
infrastructure with reference Clock Queue and inter-queue synchronizing
operations. Since ConnectX-7 the new wait descriptor format is
introduced where the timestamp can be promoted to hardware directly.
The patchset adds support for this new hardware option in PMD.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>

v1: http://patches.dpdk.org/project/dpdk/cover/20220214085655.22648-1-viacheslavo@nvidia.com/
v2: - fix compilation issues
    - rebase

Viacheslav Ovsiienko (4):
  common/mlx5: add send on time capability check
  net/mlx5: configure Tx queue with send on time offload
  net/mlx5: add wait on time support in Tx datapath
  doc: update send scheduling mlx5 feature description

 doc/guides/nics/mlx5.rst               |  5 ++
 doc/guides/rel_notes/release_22_03.rst |  6 +++
 drivers/common/mlx5/mlx5_devx_cmds.c   |  1 +
 drivers/common/mlx5/mlx5_devx_cmds.h   |  1 +
 drivers/common/mlx5/mlx5_prm.h         | 27 +++++++++-
 drivers/net/mlx5/linux/mlx5_verbs.c    |  4 ++
 drivers/net/mlx5/mlx5.h                |  3 ++
 drivers/net/mlx5/mlx5_devx.c           |  2 +
 drivers/net/mlx5/mlx5_tx.h             | 75 +++++++++++++++++++++++---
 drivers/net/mlx5/mlx5_txq.c            | 18 ++++++-
 10 files changed, 131 insertions(+), 11 deletions(-)
  

Comments

Raslan Darawsheh Feb. 23, 2022, 1:13 p.m. UTC | #1
Hi,

> -----Original Message-----
> From: Slava Ovsiienko <viacheslavo@nvidia.com>
> Sent: Tuesday, February 22, 2022 12:27 PM
> To: dev@dpdk.org
> Cc: Matan Azrad <matan@nvidia.com>; Raslan Darawsheh
> <rasland@nvidia.com>
> Subject: [PATCH v2 0/4] net/mlx5: support send scheduling for ConnectX-7
> 
> Since the ConnectX-6DX the send scheduling capability is provided.
> An application can register the dynamic field and dynamic flags in mbuf for
> timestamp and specify the desired moment of time the packet should sent.
> 
> The send scheduling feature over ConnectX-6DX uses the complicated
> infrastructure with reference Clock Queue and inter-queue synchronizing
> operations. Since ConnectX-7 the new wait descriptor format is introduced
> where the timestamp can be promoted to hardware directly.
> The patchset adds support for this new hardware option in PMD.
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> 
> v1: http://patches.dpdk.org/project/dpdk/cover/20220214085655.22648-1-
> viacheslavo@nvidia.com/
> v2: - fix compilation issues
>     - rebase
> 
> Viacheslav Ovsiienko (4):
>   common/mlx5: add send on time capability check
>   net/mlx5: configure Tx queue with send on time offload
>   net/mlx5: add wait on time support in Tx datapath
>   doc: update send scheduling mlx5 feature description
> 
>  doc/guides/nics/mlx5.rst               |  5 ++
>  doc/guides/rel_notes/release_22_03.rst |  6 +++
>  drivers/common/mlx5/mlx5_devx_cmds.c   |  1 +
>  drivers/common/mlx5/mlx5_devx_cmds.h   |  1 +
>  drivers/common/mlx5/mlx5_prm.h         | 27 +++++++++-
>  drivers/net/mlx5/linux/mlx5_verbs.c    |  4 ++
>  drivers/net/mlx5/mlx5.h                |  3 ++
>  drivers/net/mlx5/mlx5_devx.c           |  2 +
>  drivers/net/mlx5/mlx5_tx.h             | 75 +++++++++++++++++++++++---
>  drivers/net/mlx5/mlx5_txq.c            | 18 ++++++-
>  10 files changed, 131 insertions(+), 11 deletions(-)
> 
> --
> 2.18.1

Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh