[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <db859110a34d440fb36c52a7ff99cb65@amazon.com>
Date: Wed, 26 Mar 2025 15:32:00 +0000
From: "Arinzon, David" <darinzon@...zon.com>
To: Leon Romanovsky <leon@...nel.org>, Andrew Lunn <andrew@...n.ch>
CC: David Woodhouse <dwmw2@...radead.org>, David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
<pabeni@...hat.com>, Simon Horman <horms@...nel.org>, Richard Cochran
<richardcochran@...il.com>, "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>, "Allen, Neil"
<shayagr@...zon.com>, "Ostrovsky, Evgeny" <evostrov@...zon.com>, "Tabachnik,
Ofir" <ofirt@...zon.com>, "Machnikowski, Maciek" <maciek@...hnikowski.net>,
Rahul Rameshbabu <rrameshbabu@...dia.com>, Gal Pressman <gal@...dia.com>,
Vadim Fedorenko <vadim.fedorenko@...ux.dev>
Subject: RE: [PATCH v8 net-next 5/5] net: ena: Add PHC documentation
> > > If you read the actual code in that patch, there's a hint though.
> > > Because the actual process in ena_phc_enable_set() does the following:
> > >
> > > + ena_destroy_device(adapter, false);
> > > + rc = ena_restore_device(adapter);
> > >
> > > Is that actually tearing down the whole netdev and recreating it
> > > when the PHC enable is flipped?
> >
> > Well Jakub said it is a pure clock, not related to the netdev.
The PHC device is a PTP clock integrated with the networking device under the same PCI device.
As previously mentioned in this thread, enabling or disabling the ENA PHC requires reconfiguring the ENA network device,
which involves tearing down and recreating the netdev.
This necessitates having a separate control knob.
Thanks,
David
>
> So why are you ready to merge the code which is not netdev, doesn't have
> any association with netdev and doesn't follow netdev semantics (no custom
> sysfs files)?
>
> Thanks
Powered by blists - more mailing lists