Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932704AbbDWJbT (ORCPT ); Thu, 23 Apr 2015 05:31:19 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:36048 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751597AbbDWJbR (ORCPT ); Thu, 23 Apr 2015 05:31:17 -0400 Message-ID: <5538BBE1.6060400@profitbricks.com> Date: Thu, 23 Apr 2015 11:31:13 +0200 From: Michael Wang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "ira.weiny" CC: Jason Gunthorpe , Roland Dreier , Sean Hefty , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, hal@dev.mellanox.co.il, Tom Tucker , Steve Wise , Hoang-Nam Nguyen , Christoph Raisch , Mike Marciniszyn , Eli Cohen , Faisal Latif , Jack Morgenstein , Or Gerlitz , Haggai Eran , Tom Talpey , Doug Ledford Subject: Re: [PATCH v5 22/27] IB/Verbs: Use management helper cap_ipoib() References: <5534B8C9.506@profitbricks.com> <5534BBC2.4010902@profitbricks.com> <20150422054058.GB29609@obsidianresearch.com> <553760A8.2090802@profitbricks.com> <20150422164512.GC1494@phlsvsds.ph.intel.com> In-Reply-To: <20150422164512.GC1494@phlsvsds.ph.intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1297 Lines: 46 On 04/22/2015 06:45 PM, ira.weiny wrote: > On Wed, Apr 22, 2015 at 10:49:44AM +0200, Michael Wang wrote: >> >> On 04/22/2015 07:40 AM, Jason Gunthorpe wrote: >>> On Mon, Apr 20, 2015 at 10:41:38AM +0200, Michael Wang wrote: >>> >>>> Introduce helper cap_ipoib() to help us check if the port of an >>>> IB device support IP over Infiniband. >>> >>> I thought we were dropping this in favor of listing the actual >>> features the ULP required unconditionally? One of my messages had the >>> start of a list.. > > ??? I forget. I was arguing that we should not have it. But I thought others > disagreed with me so it was left in. > > V4 of this patch had no responses. > > https://www.mail-archive.com/linux-rdma@vger.kernel.org/msg24040.html > > Jason, I can't find the email where you mentioned a list? I don't see a list too :-P but agreed the ULP reform idea, the check should be ipoib_init() { if (device don't suport SA or IB CM or...) return error; ... } So I'll put the reform to that series. Regards, Michael Wang > > Ira > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/