Thread (16 messages) flat view 16 messages, 5 authors, 2023-09-20

Re: [RFC PATCH v3 net-next 2/7] net: ethtool: attach an IDR of custom RSS contexts to a netdevice

From: Edward Cree <ecree.xilinx@gmail.com>
Date: 2023-09-13 11:22:08

On 12/09/2023 17:36, Russell King (Oracle) wrote:
On Tue, Sep 12, 2023 at 03:21:37PM +0100, edward.cree@amd.com wrote:
quoted
+	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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help