[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2da6ed4-9475-6e49-709f-db87dcf8c810@gmail.com>
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
 
