[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20241008104641.3235861-1-maheshb@google.com>
Date: Tue, 8 Oct 2024 03:46:41 -0700
From: Mahesh Bandewar <maheshb@...gle.com>
To: Netdev <netdev@...r.kernel.org>, Tariq Toukan <tariqt@...dia.com>,
Yishai Hadas <yishaih@...dia.com>
Cc: Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
David Miller <davem@...emloft.net>, Paolo Abeni <pabeni@...hat.com>,
Richard Cochran <richardcochran@...il.com>, Mahesh Bandewar <mahesh@...dewar.net>,
Mahesh Bandewar <maheshb@...gle.com>
Subject: [PATCH net/next 0/2] add gettimex64() support for mlx4
The current driver only supports the gettime64() PTP clock read
operation. This series introduces support for gettimex64(), which
provides pre- and post-timestamps using one of the supported clock
bases to help measure the clock-read width.
The first patch reorganizes the code to enable the existing
clock-read method to handle pre- and post-timestamps. The second
patch adds the gettimex64() functionality.
Mahesh Bandewar (2):
mlx4: update mlx4_clock_read() to provide pre/post tstamps
mlx4: add gettimex64() ptp method
drivers/net/ethernet/mellanox/mlx4/en_clock.c | 50 +++++++++++++++++--
drivers/net/ethernet/mellanox/mlx4/main.c | 12 +++--
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 1 +
include/linux/mlx4/device.h | 3 +-
4 files changed, 57 insertions(+), 9 deletions(-)
--
2.47.0.rc0.187.ge670bccf7e-goog
Powered by blists - more mailing lists