RE: [PATCH v1 net-next 3/3] net: ena: Add PHC documentation
From: "Arinzon, David" <darinzon@amazon.com>
Date: 2024-10-22 14:39:17
From: "Arinzon, David" <darinzon@amazon.com>
Date: 2024-10-22 14:39:17
quoted
quoted
quoted
+ testptp -d /dev/ptp$(ethtool -T <interface> | awk '/PTP HardwareClock:/ {print $NF}') -k 1quoted
+Does udev create a stable symlink for this, like it does for e.g. /dev/ptp_kvm ?Yes, you can add a specific rule for the ena ptp device SUBSYSTEM=="ptp", ATTR{clock_name}=="ena-ptp-*", SYMLINK += "ena-ptp" I don't see it here yet though: https://github.com/systemd/systemd/blob/main/rules.d/50-udev- default.rules.in#L33
We will add a pull request to systemd which adds the above suggested rule.