[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+sq2Cf_enB_wKmoFtiHVFuT+eLeP07GRnzbioxfa=ND9n+_ig@mail.gmail.com>
Date: Fri, 20 Mar 2020 12:35:15 +0530
From: Sunil Kovvuri <sunil.kovvuri@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Andrew Lunn <andrew@...n.ch>,
Linux Netdev List <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Leon Romanovsky <leon@...nel.org>,
Tomasz Duszynski <tduszynski@...vell.com>,
Sunil Goutham <sgoutham@...vell.com>
Subject: Re: [PATCH v3 net-next 4/8] octeontx2-vf: Ethtool support
On Fri, Mar 20, 2020 at 4:12 AM Jakub Kicinski <kuba@...nel.org> wrote:
>
> On Thu, 19 Mar 2020 16:56:31 +0100 Andrew Lunn wrote:
> > On Thu, Mar 19, 2020 at 06:37:24PM +0530, sunil.kovvuri@...il.com wrote:
> > > From: Tomasz Duszynski <tduszynski@...vell.com>
> > >
> > > Added ethtool support for VF devices for
> > > - Driver stats, Tx/Rx perqueue stats
> > > - Set/show Rx/Tx queue count
> > > - Set/show Rx/Tx ring sizes
> > > - Set/show IRQ coalescing parameters
> > > - RSS configuration etc
> > >
> > > It's the PF which owns the interface, hence VF
> > > cannot display underlying CGX interface stats.
> > > Except for this rest ethtool support reuses PF's
> > > APIs.
> > >
> > > Signed-off-by: Tomasz Duszynski <tduszynski@...vell.com>
> > > Signed-off-by: Sunil Goutham <sgoutham@...vell.com>
> >
> > Reviewed-by: Andrew Lunn <andrew@...n.ch>
>
> But they didn't add static inlines, no? Don't the dependencies
> look strange?
>
> VF depends on PF code, but ethtool code (part of PF) also needs
> symbols from the VF..
>
ethtool code has no dependency on symbols from the VF driver.
PF driver compiles and module loads fine without enabling VF driver.
While getting rid of __weak fn()s i forgot to remove EXPORT symbols
from VF driver.
I will remove and resubmit.
Thanks,
Sunil.
Powered by blists - more mailing lists