Re: [PATCH RFC rdma-core 0/5] Add thread domain support

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

 



On 11/13/2017 10:06 PM, Jason Gunthorpe wrote:
On Sun, Nov 12, 2017 at 11:41:38PM +0200, Yishai Hadas wrote:
This RFC series is based on some initial discussion that was in the mailing
list to support resource domain.

The series includes detailed man pages of the suggested APIs and initial
patches in both verbs and mlx5 driver to demonstrate the expected usage.

The motivation behind the series is to allow an application finer
grain control over share hardware resources and locks when the
resources are used by the same thread.

I think I'm basically fine with this approach.

Fine, good news.

I assume you'll also add a create_cq_ex to accept a PD instead of a
device?


Future looking:
1) ibv_cq_init_attr_ex may be extended to get also parent_domain when there will be some driver code that will implement it, prefer not to introduce an un-supported API.

2) As TD may include some other properties as of core/numa information, need to have its creation API extended from day one by having a comp_mask in place.

struct ibv_td_init_attr {	
	uint32_t comp_mask;
};

struct ibv_td *ibv_alloc_td(struct ibv_context *context,
                              struct ibv_td_init_attr *attr)

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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