[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+sq2CeAo7AaWHpTsdaj=uXvY=UxVNa-6Z-e3N=qEOT7yaxoCQ@mail.gmail.com>
Date: Fri, 17 Jan 2020 23:01:57 +0530
From: Sunil Kovvuri <sunil.kovvuri@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Linux Netdev List <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Michal Kubecek <mkubecek@...e.cz>,
Christina Jacob <cjacob@...vell.com>,
Sunil Goutham <sgoutham@...vell.com>
Subject: Re: [PATCH v3 14/17] octeontx2-pf: Add basic ethtool support
On Fri, Jan 17, 2020 at 7:03 AM Jakub Kicinski <kuba@...nel.org> wrote:
>
> On Fri, 17 Jan 2020 01:17:30 +0530, sunil.kovvuri@...il.com wrote:
> > +#define DRV_NAME "octeontx2-nicpf"
> > +#define DRV_VERSION "1.0"
>
> > + strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
> > + strlcpy(info->version, DRV_VERSION, sizeof(info->version));
>
> We generally discourage the user of DRV_VERSION these days and suggest
> to return the kernel version here. With backports and heavily patched
> distro kernels this number quickly becomes counter-informative.
>
> Thanks for the changes to the stats!
Okay, will remove the version info.
Thanks,
Sunil.
Powered by blists - more mailing lists