[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <07a168fb44ac4c3a897678ac86893429@amazon.com>
Date: Tue, 22 Oct 2024 14:17:29 +0000
From: "Arinzon, David" <darinzon@...zon.com>
To: David Woodhouse <dwmw2@...radead.org>, David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>
CC: Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
"Woodhouse, David" <dwmw@...zon.co.uk>, "Machulsky, Zorik"
<zorik@...zon.com>, "Matushevsky, Alexander" <matua@...zon.com>, "Bshara,
Saeed" <saeedb@...zon.com>, "Wilson, Matt" <msw@...zon.com>, "Liguori,
Anthony" <aliguori@...zon.com>, "Bshara, Nafea" <nafea@...zon.com>,
"Schmeilin, Evgeny" <evgenys@...zon.com>, "Belgazal, Netanel"
<netanel@...zon.com>, "Saidi, Ali" <alisaidi@...zon.com>, "Herrenschmidt,
Benjamin" <benh@...zon.com>, "Kiyanovski, Arthur" <akiyano@...zon.com>,
"Dagan, Noam" <ndagan@...zon.com>, "Bernstein, Amit" <amitbern@...zon.com>,
"Agroskin, Shay" <shayagr@...zon.com>, "Abboud, Osama" <osamaabb@...zon.com>,
"Ostrovsky, Evgeny" <evostrov@...zon.com>, "Tabachnik, Ofir"
<ofirt@...zon.com>, "Machnikowski, Maciek" <maciek@...hnikowski.net>
Subject: RE: [PATCH v1 net-next 3/3] net: ena: Add PHC documentation
> > + testptp -d /dev/ptp$(ethtool -T <interface> | awk '/PTP Hardware
> Clock:/ {print $NF}') -k 1
> > +
>
> 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 note the EC2 documentation *still* tells users to use /dev/ptp0
> without even checking which device that is, so they could get something
> *very* different to what they expect, if they accidentally start using
> the KVM PTP clock instead!
Powered by blists - more mailing lists