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]
Date: Wed, 13 Sep 2023 12:22:03 +0100
From: Edward Cree <ecree.xilinx@...il.com>
To: "Russell King (Oracle)" <linux@...linux.org.uk>, edward.cree@....com
Cc: linux-net-drivers@....com, davem@...emloft.net, kuba@...nel.org,
 edumazet@...gle.com, pabeni@...hat.com, netdev@...r.kernel.org,
 habetsm.xilinx@...il.com, sudheer.mogilappagari@...el.com,
 jdamato@...tly.com, andrew@...n.ch, mw@...ihalf.com, sgoutham@...vell.com,
 gakula@...vell.com, sbhatta@...vell.com, hkelam@...vell.com,
 saeedm@...dia.com, leon@...nel.org
Subject: Re: [RFC PATCH v3 net-next 2/7] net: ethtool: attach an IDR of custom
 RSS contexts to a netdevice

On 12/09/2023 17:36, Russell King (Oracle) wrote:
> On Tue, Sep 12, 2023 at 03:21:37PM +0100, edward.cree@....com wrote:
>> +	struct idr		rss_ctx;
> 
> https://docs.kernel.org/core-api/idr.html
> 
> "The IDR interface is deprecated; please use the XArray instead."

IDR is a wrapper around XArray these days, right?
When I looked into the equivalent to use XArray directly it looked much
 more complicated for flexibility that really isn't needed here.
Is there an explanation you can point me at of why this extremely
 convenient wrapper is deprecated?

-e

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ