From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH RFC rdma-core 2/5] verbs: Introduce parent domain and its related verbs Date: Tue, 14 Nov 2017 12:08:52 -0700 Message-ID: <20171114190852.GG4263@ziepe.ca> References: <1510522903-6838-1-git-send-email-yishaih@mellanox.com> <1510522903-6838-3-git-send-email-yishaih@mellanox.com> <20171113195331.GC22610@ziepe.ca> <4c8448c2-373a-bbc1-73be-f792599b8b0a@dev.mellanox.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4c8448c2-373a-bbc1-73be-f792599b8b0a-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Yishai Hadas Cc: Yishai Hadas , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org, Alexr-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org, dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On Tue, Nov 14, 2017 at 10:34:25AM +0200, Yishai Hadas wrote: > >I don't think we should have a dealloc for this, since it is ibv_pd it > >should go through the normal ibv_dealloc_pd. Having two deletors for > >the same type is too hard to use. > > I'm fine with that, just to be clear here, the application will still need > to call twice for ibv_dealloc_pd() once to free the parent domain collection > and later to free the protection name, this will make it fully symmetric > from allocation/free point of view. Yes 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