[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMArcTXV3pR6KH2eP1WWbaeK3f8d7m=6Pi4ze6YtTz-TcrjNow@mail.gmail.com>
Date: Fri, 4 Oct 2024 02:15:52 +0900
From: Taehee Yoo <ap420073@...il.com>
To: Brett Creeley <bcreeley@....com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com, almasrymina@...gle.com, netdev@...r.kernel.org,
linux-doc@...r.kernel.org, donald.hunter@...il.com, corbet@....net,
michael.chan@...adcom.com, kory.maincent@...tlin.com, andrew@...n.ch,
maxime.chevallier@...tlin.com, danieller@...dia.com, hengqi@...ux.alibaba.com,
ecree.xilinx@...il.com, przemyslaw.kitszel@...el.com, hkallweit1@...il.com,
ahmed.zaki@...el.com, paul.greenwalt@...el.com, rrameshbabu@...dia.com,
idosch@...dia.com, asml.silence@...il.com, kaiyuanz@...gle.com,
willemb@...gle.com, aleksander.lobakin@...el.com, dw@...idwei.uk,
sridhar.samudrala@...el.com
Subject: Re: [PATCH net-next v3 1/7] bnxt_en: add support for rx-copybreak
ethtool command
On Fri, Oct 4, 2024 at 1:57 AM Brett Creeley <bcreeley@....com> wrote:
>
Hi Brett,
Thanks a lot for the review!
> On 10/3/2024 9:06 AM, Taehee Yoo wrote:
> > Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
> >
> >
> > The bnxt_en driver supports rx-copybreak, but it couldn't be set by
> > userspace. Only the default value(256) has worked.
> > This patch makes the bnxt_en driver support following command.
> > `ethtool --set-tunable <devname> rx-copybreak <value> ` and
> > `ethtool --get-tunable <devname> rx-copybreak`.
> >
> > Signed-off-by: Taehee Yoo <ap420073@...il.com>
> > ---
> >
> > v3:
> > - Update copybreak value before closing nic.
>
> Nit, but maybe this should say:
>
> Update copybreak value after closing nic and before opening nic when the
> device is running.
>
> Definitely not worth a respin, but if you end up having to do a v4.
>
Thank you so much for catching this.
I will fix it if I send a v4 patch.
> >
> > v2:
> > - Define max/vim rx_copybreak value.
> >
> > drivers/net/ethernet/broadcom/bnxt/bnxt.c | 24 +++++----
> > drivers/net/ethernet/broadcom/bnxt/bnxt.h | 6 ++-
> > .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 49 ++++++++++++++++++-
> > 3 files changed, 68 insertions(+), 11 deletions(-)
>
> Other than the tiny nit, LGTM.
>
> Reviewed-by: Brett Creeley <brett.creeley@....com>
>
> <snip>
Thanks a lot!
Taehee Yoo
Powered by blists - more mailing lists