patch 'doc: describe timestamp limitations for mlx5' has been queued to stable release 20.11.4

Xueming Li xuemingl at nvidia.com
Sun Nov 28 15:53:15 CET 2021


Hi,

FYI, your patch has been queued to stable release 20.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/30/21. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/steevenlee/dpdk

This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/fdb91c91e807780d48e50e3f6158f0173f48c28c

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From fdb91c91e807780d48e50e3f6158f0173f48c28c Mon Sep 17 00:00:00 2001
From: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Date: Mon, 8 Nov 2021 18:41:01 +0200
Subject: [PATCH] doc: describe timestamp limitations for mlx5
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 1a3709c1f021afbe58db4a27a179127e561fe401 ]

The ConnectX NIC series hardware provides only 63-bit
wide timestamps. The imposed limitations description
added to documentation.

At the moment there are no affected applications known
or bug reports neither, this is just the declaration
of limitation.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
---
 doc/guides/nics/mlx5.rst | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 84e58fc27b..ac3e148b2d 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -338,6 +338,20 @@ Limitations
   - Hairpin between two ports could only manual binding and explicit Tx flow mode. For single port hairpin, all the combinations of auto/manual binding and explicit/implicit Tx flow mode could be supported.
   - Hairpin in switchdev SR-IOV mode is not supported till now.
 
+- Timestamps:
+
+  - CQE timestamp field width is limited by hardware to 63 bits, MSB is zero.
+  - In the free-running mode the timestamp counter is reset on power on
+    and 63-bit value provides over 1800 years of uptime till overflow.
+  - In the real-time mode
+    (configurable with ``REAL_TIME_CLOCK_ENABLE`` firmware settings),
+    the timestamp presents the nanoseconds elapsed since 01-Jan-1970,
+    hardware timestamp overflow will happen on 19-Jan-2038
+    (0x80000000 seconds since 01-Jan-1970).
+  - The send scheduling is based on timestamps
+    from the reference "Clock Queue" completions,
+    the scheduled send timestamps should not be specified with non-zero MSB.
+
 Statistics
 ----------
 
@@ -1035,6 +1049,10 @@ Below are some firmware configurations listed.
    FLEX_PARSER_PROFILE_ENABLE=4
    PROG_PARSE_GRAPH=1
 
+- enable realtime timestamp format::
+
+   REAL_TIME_CLOCK_ENABLE=1
+
 Prerequisites
 -------------
 
-- 
2.34.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-11-28 22:41:04.119783495 +0800
+++ 0011-doc-describe-timestamp-limitations-for-mlx5.patch	2021-11-28 22:41:03.216876184 +0800
@@ -1 +1 @@
-From 1a3709c1f021afbe58db4a27a179127e561fe401 Mon Sep 17 00:00:00 2001
+From fdb91c91e807780d48e50e3f6158f0173f48c28c Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 1a3709c1f021afbe58db4a27a179127e561fe401 ]
@@ -14,2 +16,0 @@
-Cc: stable at dpdk.org
-
@@ -22 +23 @@
-index d175c2061e..552e06c0db 100644
+index 84e58fc27b..ac3e148b2d 100644
@@ -25,3 +26,3 @@
-@@ -480,6 +480,20 @@ Limitations
- 
-   - Needs OFED 5.4+.
+@@ -338,6 +338,20 @@ Limitations
+   - Hairpin between two ports could only manual binding and explicit Tx flow mode. For single port hairpin, all the combinations of auto/manual binding and explicit/implicit Tx flow mode could be supported.
+   - Hairpin in switchdev SR-IOV mode is not supported till now.
@@ -46 +47 @@
-@@ -1242,6 +1256,10 @@ Below are some firmware configurations listed.
+@@ -1035,6 +1049,10 @@ Below are some firmware configurations listed.
@@ -54,2 +55,2 @@
- Linux Prerequisites
- -------------------
+ Prerequisites
+ -------------


More information about the stable mailing list