From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754914AbdFWWCK (ORCPT ); Fri, 23 Jun 2017 18:02:10 -0400 Received: from esa4.dell-outbound.iphmx.com ([68.232.149.214]:2608 "EHLO esa4.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754118AbdFWWCJ (ORCPT ); Fri, 23 Jun 2017 18:02:09 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd03.lss.emc.com v5NM22Gd009159 From: "Allen Hubbe" To: "'Logan Gunthorpe'" , "'Serge Semin'" Cc: "'Jon Mason'" , , , "'Dave Jiang'" , "'Kurt Schwemmer'" , "'Stephen Bates'" , "'Greg Kroah-Hartman'" References: <9615f074-5b81-210b-eb88-218a59d65198@deltatee.com> <000001d2eb85$daecdea0$90c69be0$@dell.com> <8a1ff94c-8689-0d4c-cc33-7b495daa065a@deltatee.com> <000101d2eba4$b45b1e40$1d115ac0$@dell.com> <000201d2eba8$dade4ac0$909ae040$@dell.com> <4d932597-3592-2ce1-5a5f-cb5ba36a3a93@deltatee.com> <000001d2ec23$2bd9f300$838dd900$@dell.com> <5aa9c438-e152-4caa-2c6d-cbbd130a0eb2@deltatee.com> <000101d2ec53$f2830840$d78918c0$@dell.com> <20170623214708.GA26488@mobilestation> <99f37cec-993d-9c9c-c602-310700a1659c@deltatee.com> In-Reply-To: <99f37cec-993d-9c9c-c602-310700a1659c@deltatee.com> Subject: RE: New NTB API Issue Date: Fri, 23 Jun 2017 18:01:50 -0400 Message-ID: <000201d2ec6c$52b655b0$f8230110$@dell.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHS63McR9kZVmncfUmZ30VT98lohaIxNz3lgAAzH2CAAEzugP//vSvQgABLPwCAAKeOIIAAhrKA///PftCAAIM7AIAAA4oA//+9HuA= Content-Language: en-us X-RSA-Classifications: public X-Sentrion-Hostname: mailuogwprd03.lss.emc.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Logan Gunthorpe > Hey, > > Thanks Serge for the detailed explanation. This is pretty much exactly > as I had thought it should be interpreted. My only problem remains that > my hardware can't provide ntb_mw_get_align until the port it is asking > about has configured itself. The easiest way to solve this is to only > allow access when the link to that port is up. It's not a complicated > change and would actually simplify ntb_transport and ntb_perf a little. > > Is this ok with you Allen? If it is, I can include a patch in my next > switchtec submission. Ok. > > Thanks, > > Logan From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.dell-outbound.iphmx.com (esa2.dell-outbound.iphmx.com. [68.232.149.220]) by gmr-mx.google.com with ESMTPS id p67si77484ywg.9.2017.06.23.15.02.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Jun 2017 15:02:18 -0700 (PDT) From: "Allen Hubbe" References: <9615f074-5b81-210b-eb88-218a59d65198@deltatee.com> <000001d2eb85$daecdea0$90c69be0$@dell.com> <8a1ff94c-8689-0d4c-cc33-7b495daa065a@deltatee.com> <000101d2eba4$b45b1e40$1d115ac0$@dell.com> <000201d2eba8$dade4ac0$909ae040$@dell.com> <4d932597-3592-2ce1-5a5f-cb5ba36a3a93@deltatee.com> <000001d2ec23$2bd9f300$838dd900$@dell.com> <5aa9c438-e152-4caa-2c6d-cbbd130a0eb2@deltatee.com> <000101d2ec53$f2830840$d78918c0$@dell.com> <20170623214708.GA26488@mobilestation> <99f37cec-993d-9c9c-c602-310700a1659c@deltatee.com> In-Reply-To: <99f37cec-993d-9c9c-c602-310700a1659c@deltatee.com> Subject: RE: New NTB API Issue Date: Fri, 23 Jun 2017 18:01:50 -0400 Message-ID: <000201d2ec6c$52b655b0$f8230110$@dell.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Language: en-us To: 'Logan Gunthorpe' , 'Serge Semin' Cc: 'Jon Mason' , linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org, 'Dave Jiang' , 'Kurt Schwemmer' , 'Stephen Bates' , 'Greg Kroah-Hartman' List-ID: From: Logan Gunthorpe > Hey, > > Thanks Serge for the detailed explanation. This is pretty much exactly > as I had thought it should be interpreted. My only problem remains that > my hardware can't provide ntb_mw_get_align until the port it is asking > about has configured itself. The easiest way to solve this is to only > allow access when the link to that port is up. It's not a complicated > change and would actually simplify ntb_transport and ntb_perf a little. > > Is this ok with you Allen? If it is, I can include a patch in my next > switchtec submission. Ok. > > Thanks, > > Logan