From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steve Wise" Subject: RE: [PATCH rdma-core 2/4] providers: Make every provider allocate a verbs_device Date: Wed, 1 Mar 2017 14:01:29 -0600 Message-ID: <069201d292c6$9d91be80$d8b53b80$@opengridcomputing.com> References: <1488317497-538-1-git-send-email-jgunthorpe@obsidianresearch.com> <1488317497-538-3-git-send-email-jgunthorpe@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1488317497-538-3-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> Content-Language: en-us Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: 'Jason Gunthorpe' , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org > Switch struct ibv_device to verbs_device in the provider specific device > structure and use calloc to allocate it so the unset bytes are zero. > > This lets us change the return type of ibv_driver_init_func to > struct verbs_device without changing the control flow at all. > > Also make a few _init functions static for consistency/simplicity. > > Signed-off-by: Jason Gunthorpe cxgb* changes look fine. Reviewed-by: Steve Wise -- 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