lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAC_iWjLD8_PsC=AHqR+FeH3qA-TWfWRDfah+7QHXS6dGx7AJPA@mail.gmail.com>
Date:   Wed, 6 Apr 2022 15:53:46 +0300
From:   Ilias Apalodimas <ilias.apalodimas@...aro.org>
To:     Andrew Lunn <andrew@...n.ch>
Cc:     Lorenzo Bianconi <lorenzo@...nel.org>, netdev@...r.kernel.org,
        lorenzo.bianconi@...hat.com, davem@...emloft.net, kuba@...nel.org,
        pabeni@...hat.com, thomas.petazzoni@...tlin.com,
        linux@...linux.org.uk, jbrouer@...hat.com, jdamato@...tly.com
Subject: Re: [PATCH net-next] net: mvneta: add support for page_pool_get_stats

Hi Andrew

On Wed, 6 Apr 2022 at 15:49, Andrew Lunn <andrew@...n.ch> wrote:
>
> On Tue, Apr 05, 2022 at 10:32:12PM +0200, Lorenzo Bianconi wrote:
> > Introduce support for the page_pool_get_stats API to mvneta driver.
> > If CONFIG_PAGE_POOL_STATS is enabled, ethtool will report page pool
> > stats.
>
> Hi Lorenzo
>
> There are a lot of #ifdef in this patch. They are generally not
> liked. What does the patch actually depend on? mnveta has a select
> PAGE_POOL so the page pool itself should always be available?

The stats are on a different Kconfig since we wanted to allow people
opt out if they were worried about performance.  However this is not a
10gbit interface and I doubt there will be any measurable hit.  I
think selecting PAGE_POOL_STATS for the driver makes sense and will
make the code easier to follow.

Thanks
/Ilias
>
>           Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ