numam-dpdk/drivers/common/mlx5
Viacheslav Ovsiienko 569ffbc981 common/mlx5: add timestamp format support to DevX
This patch handles the NIC-supported timestamp formats via DevX.
Two different timestamp formats can be provided potentially.
The free-running format provides opaque values captured from
the internal clock counter fed by some independent oscillator.
The free-running frequency is not pre-defined and should be
queried from the NIC. The real-time timestamps are expressed
in nanoseconds, captured from the dedicated UTC counter, that
can be adjusted on the fly and synchronized with some external
reference clock.

Depending on the version and configuration the hardware might
support either FR (free-running) or RT (real-time) timestamps,
per queue basis.

The commit provides the querying information about the supported
timestamp formats and provides the means to configure ones
at queue creation time.

Fixes: e2b4925ef7 ("net/mlx5: support Direct Rules E-Switch")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
2021-03-16 10:05:32 +01:00
..
linux common/mlx5/linux: add glue function to query WQ 2021-03-03 17:27:14 +01:00
windows common/mlx5: share DevX CQ creation 2021-01-14 10:12:36 +01:00
meson.build config: remove compatibility build defines 2021-01-20 01:43:25 +01:00
mlx5_common_devx.c common/mlx5: share DevX RQ creation 2021-01-14 10:12:36 +01:00
mlx5_common_devx.h common/mlx5: share DevX RQ creation 2021-01-14 10:12:36 +01:00
mlx5_common_mp.c common/mlx5: convert control path memory to unified malloc 2020-07-21 15:46:21 +02:00
mlx5_common_mp.h net/mlx5: add queue start and stop 2020-07-21 15:46:30 +02:00
mlx5_common_mr.c net/mlx5: enable debug logs dynamically 2021-03-15 14:30:55 +01:00
mlx5_common_mr.h common/mlx5: add reg/dereg MR on Windows 2021-01-08 16:03:07 +01:00
mlx5_common_pci.c common/mlx5: remove extra line feed in log messages 2021-03-15 14:30:57 +01:00
mlx5_common_pci.h compress/mlx5: introduce PMD 2021-01-27 20:40:03 +01:00
mlx5_common_utils.h common/mlx5: introduce common library 2020-02-05 09:51:20 +01:00
mlx5_common.c common/mlx5: remove doorbell allocation functions 2021-01-14 10:12:37 +01:00
mlx5_common.h net/mlx5: enable debug logs dynamically 2021-03-15 14:30:55 +01:00
mlx5_devx_cmds.c common/mlx5: add timestamp format support to DevX 2021-03-16 10:05:32 +01:00
mlx5_devx_cmds.h common/mlx5: add timestamp format support to DevX 2021-03-16 10:05:32 +01:00
mlx5_malloc.c common/mlx5: wrap memory allocation on Linux 2021-01-08 16:03:07 +01:00
mlx5_malloc.h common/mlx5: fix aligned malloc 2020-09-18 18:55:11 +02:00
mlx5_prm.h common/mlx5: add timestamp format support to DevX 2021-03-16 10:05:32 +01:00
rte_common_mlx5_exports.def common/mlx5: create GENEVE TLV option object with DevX 2021-01-19 03:30:15 +01:00
version.map common/mlx5: add DevX commands for queue counters 2021-03-03 17:27:19 +01:00