[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221114171305.6af508be@kernel.org>
Date: Mon, 14 Nov 2022 17:13:05 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: Saeed Mahameed <saeed@...nel.org>,
David Thompson <davthompson@...dia.com>, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, netdev@...r.kernel.org,
cai.huoqing@...ux.dev, brgl@...ev.pl, limings@...dia.com,
chenhao288@...ilicon.com, huangguangbin2@...wei.com,
Asmaa Mnebhi <asmaa@...dia.com>
Subject: Re: [PATCH net-next v2 3/4] mlxbf_gige: add BlueField-3 Serdes
configuration
On Tue, 15 Nov 2022 02:06:19 +0100 Andrew Lunn wrote:
> > I am not advocating for black magic tables of course :), but how do we
> > > avoid them if request_firmware() will be an overkill to configure such a
> > > simple device? Express such data in a developer friendly c structures
> > > with somewhat sensible field names?
> >
> > I don't feel particularly strongly but seems like something worth
> > exploring. A minor advantage is that once the init is done the tables
> > can be discarded from memory.
>
> I wondered about that, but i'm not sure initdata works for modules,
> and for hot pluggable devices like PCIe, you never know when another
> one might appear and you need the tables.
Right, I meant that the request_firmware() version can discard
the tables. I shouldn't have said tables :)
Powered by blists - more mailing lists