Re: [RFC] libibverbs IB Device Memory support

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

 



On Wed, May 10, 2017 at 02:25:23PM +0300, ahmad omary wrote:

> struct ibv_dm *ibv_alloc_dm(struct ibv_context *context,
>    struct ibv_alloc_dm_attr *dm_attr);
> 
> struct ibv_alloc_dm_attr{
> size_t length;
> uint32_t comp_mask; /*enable future extensions*/
> }

Can we please stop this madness where every function call needs to
accept a struct?

It is perfectly fine to add new function calls if new arguments are
needed someday.

> int ibv_memcpy_dm(struct ibv_dm *dm, struct ibv_memcpy_dm_attr *
> memcpy_dm_attr);

To be clear, this is has to be a sycall, right?

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