[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACWXhKkJGO5PV8kBurR5Urf7XAiDKgX3b6epn0SPMkZdBH6iUA@mail.gmail.com>
Date: Thu, 18 Aug 2022 14:41:11 +0800
From: Feiyang Chen <chris.chenfeiyang@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: peppe.cavallaro@...com, alexandre.torgue@...s.st.com,
joabreu@...opsys.com, Feiyang Chen <chenfeiyang@...ngson.cn>,
zhangqing@...ngson.cn, Huacai Chen <chenhuacai@...ngson.cn>,
netdev@...r.kernel.org, loongarch@...ts.linux.dev
Subject: Re: [PATCH v2 1/2] stmmac: Expose module parameters
On Thu, 18 Aug 2022 at 11:05, Jakub Kicinski <kuba@...nel.org> wrote:
>
> On Wed, 17 Aug 2022 15:29:18 +0800 chris.chenfeiyang@...il.com wrote:
> > Expose module parameters so that we can use them in specific device
> > configurations. Add the 'stmmac_' prefix for them to avoid conflicts.
> >
> > Meanwhile, there was a 'buf_sz' local variable in stmmac_rx() with the
> > same name as the global variable, and now we can distinguish them.
>
> Can you provide more information on the 'why'?
Hi, Jakub,
We would like to be able to change these properties when configuring
the device data. For example, Loongson GMAC does not support Flow
Control feature, and exposing these parameters allows us to ensure
that flow control is off in the Loongson GMAC device.
Thanks,
Feiyang
Powered by blists - more mailing lists