From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steve Wise" Subject: RE: [PATCH rdma-core 01/10] verbs: Change verbs_register_driver to accept the ops struct directly Date: Tue, 19 Sep 2017 16:31:26 -0500 Message-ID: <018201d3318e$a6641410$f32c3c30$@opengridcomputing.com> References: <1505855931-4956-1-git-send-email-jgunthorpe@obsidianresearch.com> <1505855931-4956-2-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: <1505855931-4956-2-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 Cc: 'Doug Ledford' , 'Yishai Hadas' , 'Devesh Sharma' , 'Mike Marciniszyn' , 'Dennis Dalessandro' , 'Lijun Ou' , "'Wei Hu(Xavier)'" , 'Tatyana Nikolova' , 'Vladimir Sokolovsky' , 'Ram Amrani' , 'Ariel Elior' , 'Moni Shoua' , 'Adit Ranadive' , "'moderated list:HF1 USERSPACE PROVIDER (for hf1.ko)'" , "'open list:IPATH/QIB USERSPACE PROVIDER (for ib_qib.ko)'" , pv-drivers@vmware. List-Id: linux-rdma@vger.kernel.org > > This is analogous to the kernel scheme where code describes a driver > with a static structure and then a helper macro registers that > driver with the core code. > > In this case we have an 'ops' that is both the 'driver' and 'device' > ops. > > This is preparation to add more steps to the device startup. Rework > all the providers to use this scheme. > > Signed-off-by: Jason Gunthorpe Cxgb bits looks ok. Acked-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