Return-Path: Received: from mail-ob0-f181.google.com ([209.85.214.181]:32897 "EHLO mail-ob0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752778AbbC0Q7b (ORCPT ); Fri, 27 Mar 2015 12:59:31 -0400 Received: by obvd1 with SMTP id d1so11939276obv.0 for ; Fri, 27 Mar 2015 09:59:30 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20150327163219.GD28412@obsidianresearch.com> References: <551579CA.4030901@profitbricks.com> <55157AEB.7020705@profitbricks.com> <20150327163219.GD28412@obsidianresearch.com> Date: Fri, 27 Mar 2015 17:59:30 +0100 Message-ID: Subject: Re: [RFC PATCH 04/11] IB/Verbs: Use management helper cap_smi() for smi-check From: Yun Wang To: Jason Gunthorpe Cc: Roland Dreier , Sean Hefty , Hal Rosenstock , Ira Weiny , "linux-rdma@vger.kernel.org" , linux-kernel , linux-nfs@vger.kernel.org, netdev@vger.kernel.org, "J. Bruce Fields" , Trond Myklebust , "David S. Miller" , Or Gerlitz , Moni Shoua , PJ Waskiewicz , Tatyana Nikolova , Yan Burman , Jack Morgenstein , Bart Van Assche , Yann Droneaud , Colin Ian King , Majd Dibbiny , Jiri Kosina , Matan Barak , Alex Estrin , Doug Ledford , Eric Dumazet , Erez Shitrit , Sagi Grimberg , Haggai Eran , Shachar Raindel , Mike Marciniszyn , Steve Wise , Tom Tucker , Chuck Lever Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: Make sense to me if opa smi will be handled differently, will be changed in next version :-) Regards, Michael Wang On Fri, Mar 27, 2015 at 5:32 PM, Jason Gunthorpe wrote: > On Fri, Mar 27, 2015 at 04:44:43PM +0100, Michael Wang wrote: >> >> Introduce helper cap_smi() to help us check if the port of an >> IB device support Subnet Management Interface. > > This and most of the others should be qualified with 'cap_ib_smi' > since we already know we will need 'cap_opa_smi' someday > > Jason