[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6469535d9f814e238b371f56e91da4ad@amazon.com>
Date: Thu, 22 May 2025 14:55:35 +0000
From: "Arinzon, David" <darinzon@...zon.com>
To: Jiri Pirko <jiri@...nulli.us>
CC: 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>, "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>, "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>, Andrew Lunn <andrew@...n.ch>,
Leon Romanovsky <leon@...nel.org>
Subject: RE: [PATCH v10 net-next 4/8] net: ena: Control PHC enable through devlink
> >> >+enum ena_devlink_param_id {
> >> >+ ENA_DEVLINK_PARAM_ID_BASE =
> >> DEVLINK_PARAM_GENERIC_ID_MAX,
> >> >+ ENA_DEVLINK_PARAM_ID_PHC_ENABLE,
> >>
> >> What exactly is driver/vendor specific about this? Sounds quite
> >> generic to me.
> >
> >Can you please clarify the question?
> >If you refer to the need of ENA_DEVLINK_PARAM_ID_PHC_ENABLE, it was
> >discussed as part of patchset v8 in
> >https://lore.kernel.org/netdev/20250304190504.3743-6-
> darinzon@...zon.co
> >m/ More specifically in
> >https://lore.kernel.org/netdev/55f9df6241d052a91dfde950af04c70969ea28
> b2
> >.camel@...radead.org/
> >
>
> Could you please read "Generic configuration parameters" section of
> Documentation/networking/devlink/devlink-params.rst? Perhaps that would
> help. So basically my question is, why your new param can't go in that list?
Thanks for the clarification.
This is a topic that has been discussed in the versions of this patchset, specifically in https://lore.kernel.org/netdev/20250304190504.3743-6-darinzon@amazon.com/
Other modules in the kernel enable PHC unconditionally, due to potential blast radius concerns, we've decided to not enable the feature unconditionally and allow customers to enable
it if they choose to use the functionality.
As this is a specific behavior for the ENA driver, we've added a specific devlink parameter (was a sysfs entry previously and changed to devlink in v9 due to feedback).
David
Powered by blists - more mailing lists