Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932411AbbD0Hlw (ORCPT ); Mon, 27 Apr 2015 03:41:52 -0400 Received: from mail-wg0-f54.google.com ([74.125.82.54]:35388 "EHLO mail-wg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932113AbbD0Hlq (ORCPT ); Mon, 27 Apr 2015 03:41:46 -0400 Message-ID: <553DE837.6010800@profitbricks.com> Date: Mon, 27 Apr 2015 09:41:43 +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: Jason Gunthorpe , Liran Liss CC: Roland Dreier , Sean Hefty , Hal Rosenstock , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Steve Wise , Tom Talpey , Doug Ledford , Ira Weiny , Tom Tucker , Hoang-Nam Nguyen , "raisch@de.ibm.com" , Mike Marciniszyn , Eli Cohen , Faisal Latif , Jack Morgenstein , Or Gerlitz , Haggai Eran Subject: Re: [PATCH v6 02/26] IB/Verbs: Implement raw management helpers References: <1429878230-11749-1-git-send-email-yun.wang@profitbricks.com> <1429878230-11749-3-git-send-email-yun.wang@profitbricks.com> <20150424162914.GA9305@obsidianresearch.com> In-Reply-To: <20150424162914.GA9305@obsidianresearch.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: 1146 Lines: 35 On 04/24/2015 06:29 PM, Jason Gunthorpe wrote: > On Fri, Apr 24, 2015 at 03:15:54PM +0000, Liran Liss wrote: >>> From: linux-rdma-owner@vger.kernel.org [mailto:linux-rdma- > >>> +static inline int rdma_tech_iboe(struct ib_device *device, u8 port_num) >>> +{ >>> + return device->query_transport(device, port_num) >>> + == RDMA_TRANSPORT_IBOE; >> >> Remove RDMA_TRANSPORT_IBOE. >> In the current code, the test should be: (IB transport && Ethernet link layer). > > No, if this rmda_tech stuff is to reflect the specification the port > implements, then RoCEE is a valid specification (IBA Annex A16), as it > RoCEEv2 (A17). > > This patch set is trying to drop then link layer concept entirely. I think a new enum on protocol could help solve the conflict in here, we can still get rid of the link layer meanwhile leave the legacy transport type alone :-) Regards, Michael Wang > > Jason > -- 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/