Re: [PATCH v5 02/13] SIW main include file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/21/2019 5:49 PM, Jason Gunthorpe wrote:
> On Tue, Feb 19, 2019 at 11:08:52AM +0100, Bernard Metzler wrote:
>> +struct siw_device {
>> +	struct ib_device	base_dev;
>> +	struct net_device	*netdev;
>> +	struct siw_dev_cap	attrs;
>> +
>> +	u32	vendor_part_id;
>> +	int	numa_node;
>> +
>> +	/* physical port state (only one port per device) */
>> +	enum ib_port_state	state;
>> +
>> +	spinlock_t	lock;
>> +
>> +	/* object management */
>> +	struct idr	qp_idr;
>> +	struct idr	cq_idr;
>> +	struct idr	pd_idr;
>> +	struct idr	mem_idr;
> Please use xarray for all your idr needs, Matt is trying to get rid of
> IDR. See the recent giant series from him, the conversion is not so
> hard (though wait for the next -rc1 before doing it)


Hey Bernard,

What you could do to make forward progress until rdma/for-next is moved
to 5.1-rc1, is to incorporate all the other comments, less the xarray
change, and rebase this series onto the current rdma/for-next, which now
has all the core dependent changes merged.  I think that will allow the
bot testing to progress as well.

Steve.





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux