DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1200] mlx5_tx_handle_completion: bad timestamp
@ 2023-03-24 23:03 bugzilla
  2023-03-27 22:39 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-03-24 23:03 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1200

            Bug ID: 1200
           Summary: mlx5_tx_handle_completion: bad timestamp
           Product: DPDK
           Version: 22.03
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: 7532yahoo@gmail.com
  Target Milestone: ---

In the file `dpdk/drivers/net/mlx5/mlx5_tx.c` method
`mlx5_tx_handle_completion` I inspect the timestamp field of a cqe:

@@ -192,6 +196,9 @@ mlx5_tx_handle_completion(struct mlx5_txq_data
*__rte_restrict txq,

                cqe = &txq->cqes[txq->cq_ci & txq->cqe_m];
                ret = check_cqe(cqe, txq->cqe_s, txq->cq_ci);
+    if (ret==MLX5_CQE_STATUS_HW_OWN) {
+      printf("line:%d cqe timestamp: %lu\n", __LINE__, cqe->timestamp);
+    }

Consider transmitting several thousand packets. This print to stdout with
regard to the timestamp,

* prints 0 for timestamp for the first ~2000 packet completions
* prints non-zero numbers thereafter, however, not monotonically increasing
e.g. completion event timestamp for occurrence  N is 10x smaller than N-1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 3239 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 1200] mlx5_tx_handle_completion: bad timestamp
  2023-03-24 23:03 [Bug 1200] mlx5_tx_handle_completion: bad timestamp bugzilla
@ 2023-03-27 22:39 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2023-03-27 22:39 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 545 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1200

smiller (7532yahoo@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from smiller (7532yahoo@gmail.com) ---
I am withdrawing this BF. This feature is simply unsupported in DPDK.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 2515 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-27 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-24 23:03 [Bug 1200] mlx5_tx_handle_completion: bad timestamp bugzilla
2023-03-27 22:39 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).