From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [RFC] libibverbs IB Device Memory support Date: Mon, 5 Jun 2017 11:20:58 -0600 Message-ID: <20170605172058.GB20477@obsidianresearch.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: ahmad omary Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Ahmad Omary , Leon Romanovsky , Yishai Hadas , Tzahi Oved , Alex Rosenbaum , Ariel Levkovich , Liran Liss List-Id: linux-rdma@vger.kernel.org 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html