[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220929082327.209d6227@kernel.org>
Date: Thu, 29 Sep 2022 08:23:27 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Gal Pressman <gal@...dia.com>
Cc: "Zulkifli, Muhammad Husaini" <muhammad.husaini.zulkifli@...el.com>,
"intel-wired-lan@...osl.org" <intel-wired-lan@...osl.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>,
"edumazet@...gle.com" <edumazet@...gle.com>,
"Gomes, Vinicius" <vinicius.gomes@...el.com>,
"Gunasekaran, Aravindhan" <aravindhan.gunasekaran@...el.com>,
"Ahmad Tarmizi, Noor Azura" <noor.azura.ahmad.tarmizi@...el.com>,
Richard Cochran <richardcochran@...il.com>,
Saeed Mahameed <saeed@...nel.org>,
"leon@...nel.org" <leon@...nel.org>,
Michael Chan <michael.chan@...adcom.com>,
Andy Gospodarek <andy@...yhouse.net>
Subject: Re: [PATCH v1 0/4] Add support for DMA timestamp for non-PTP
packets
On Thu, 29 Sep 2022 17:46:04 +0300 Gal Pressman wrote:
> What exactly do you mean by DMA stamps?
>
> Our NIC supports two modes of operation (both TX/RX):
> - CQE timestamp (I think that's what you call DMA timestamp), where the
> timestamp is written when the completion is being written/generated.
> - Port timestamp (MAC timestamp), where the timstamp is written when the
> packet is being sent to the wire, or received from the wire. This
> doesn't account for the time the packet spent inside the NIC pipeline.
>
> So I believe the answer to your question is yes :).
Thanks! I think we should provide the config API for both Tx and Rx,
then.
Powered by blists - more mailing lists