Re: [PATCH rdma-core] mlx5: External memory binding for HW resources

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

 



On 9/5/2017 4:46 AM, Jason Gunthorpe wrote:
On Mon, Sep 04, 2017 at 04:55:02PM +0300, Yishai Hadas wrote:
From: Xueming Li <xuemingl@xxxxxxxxxxxx>

Add a new DV API mlx5dv_set_context_attr() to enable setting an external
memory allocator. This API will allow the application to use specific
decisions about the memory allocation of HW resources (e.g. DV objects).
Some examples are managing numa pinning per object, managing a
hugepages resource pool, shared memory regions.

Also extend mlx5dv_get_qp() to return UAR mapping info. This can allow a
process to share its doorbell access with secondary process by re-mmap
the UAR address on the device and make it accessible as a user space
address.

Why two unrelated changes in one patch?

Everything else looks fine to me


Thanks for reviewing that, just separated to two patches as you suggested, no code change.

PR:
https://github.com/linux-rdma/rdma-core/pull/209


--
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