lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250718185628.4038779-1-Raju.Rangoju@amd.com>
Date: Sat, 19 Jul 2025 00:26:26 +0530
From: Raju Rangoju <Raju.Rangoju@....com>
To: <netdev@...r.kernel.org>
CC: <andrew+netdev@...n.ch>, <davem@...emloft.net>, <edumazet@...gle.com>,
	<kuba@...nel.org>, <pabeni@...hat.com>, <richardcochran@...il.com>,
	<Shyam-sundar.S-k@....com>, Raju Rangoju <Raju.Rangoju@....com>
Subject: [PATCH net-next v3 0/2] amd-xgbe: add hardware PTP timestamping

Remove the hwptp abstraction and associated callbacks from the
struct xgbe_hw_if {} and move them to separate file after cleanup.

Adds complete support for hardware-based PTP (IEEE 1588)
timestamping to the AMD XGBE driver.

Signed-off-by: Raju Rangoju <Raju.Rangoju@....com>
---
Changes since v2:
- add a new patch to clean up the existing abstraction and move to seperate file
- clean up the support patch as per review comments

---

Raju Rangoju (2):
  and-xgbe: remove the abstraction for hwptp
  amd-xgbe: add hardware PTP timestamping support

 drivers/net/ethernet/amd/xgbe/Makefile        |   2 +-
 drivers/net/ethernet/amd/xgbe/xgbe-common.h   |  10 +
 drivers/net/ethernet/amd/xgbe/xgbe-dev.c      | 126 ------
 drivers/net/ethernet/amd/xgbe/xgbe-drv.c      | 204 +--------
 drivers/net/ethernet/amd/xgbe/xgbe-hwtstamp.c | 401 ++++++++++++++++++
 drivers/net/ethernet/amd/xgbe/xgbe-pci.c      |   2 +
 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c      |  75 ++--
 drivers/net/ethernet/amd/xgbe/xgbe.h          |  47 +-
 8 files changed, 487 insertions(+), 380 deletions(-)
 create mode 100644 drivers/net/ethernet/amd/xgbe/xgbe-hwtstamp.c

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ