Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1209251imm; Fri, 15 Jun 2018 13:03:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJskmu17AaCG5qrVWf98yZ5B3e5vkRNVhj0HbA5dF6LdVyDJlLDBeL8o6yOR5Yyo+ETAa1T X-Received: by 2002:a62:9d82:: with SMTP id a2-v6mr3423134pfk.223.1529093003861; Fri, 15 Jun 2018 13:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529093003; cv=none; d=google.com; s=arc-20160816; b=smevdsN1V+mutMtLrumI+7D9hmwxjEKClq+c17SXl/UuPdeoAw0fMjY6L3lnvjXSXk gbXUBZPx0QRB9r5aTdVOV73M8QRAe7GO+UnbBeNBQq1qiFdzAefebak4YSWKw7PNWfxe qUDV3vZZK4JUJsgPrngxiVLJeWOwJJG6ySdnYgfh5w8Svd9WOQVA9ZSVodlHb9ChAgwx tZjl/muLjkIpmBJYrnA1YGlj1SvvGcUgCp4QjFe6AwUOTn5SJZd4YxxDNeSZSd7EsraC 9RVz3n+7jzSbFp4Pkcoggvu06nOgp1TwXjliB2bboXxD7WisbT5EyobDm4y8ZIGowCil EidQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:arc-authentication-results; bh=pKU6ABrgCQVux8sBYiPgMtDwM+I/smzDbyrbZrlBRJ8=; b=M1C++a5NIjxNC1VkXJQa5e0QcWoQ/b0iXsOVi6tRk4w1WQ4AS9vmwt0JuK1pNcksTc 8ZvXwUB+75ksyq9fEPZyz18srWe7uvZm6E0Ge7k6o8ARXKcf2DtUsHBuYZKkvvfg14H3 09TK3J/5PqyB4dX4WFi9JVl1zx9PqUQtgac9RP6Yoe8iepi7wIPNYRUh6YoAaRXH2OEH SLXuaZucnj8e0I2ulYvTczRc41Gh3RFO174JjrWjzdYEDoq8CYk4Fw1RlRpdtr8/pScJ BCUOWueYbAr9P6HVuE/qSaqbeZffGz6kDZw+O9XWb0ZAK+6L4G3aCiHlYr5QpxRstfQP 00gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e82-v6si9113296pfm.220.2018.06.15.13.03.09; Fri, 15 Jun 2018 13:03:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966375AbeFOUB3 (ORCPT + 99 others); Fri, 15 Jun 2018 16:01:29 -0400 Received: from ale.deltatee.com ([207.54.116.67]:52810 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966117AbeFOUB2 (ORCPT ); Fri, 15 Jun 2018 16:01:28 -0400 Received: from guinness.priv.deltatee.com ([172.16.1.162]) by ale.deltatee.com with esmtp (Exim 4.89) (envelope-from ) id 1fTuuS-00073F-Jp; Fri, 15 Jun 2018 14:01:25 -0600 To: Serge Semin Cc: linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com, Jon Mason , Dave Jiang , Allen Hubbe , Shyam Sundar S K , Shuah Khan References: <20180609000819.13883-1-logang@deltatee.com> <20180609000819.13883-8-logang@deltatee.com> <20180615195030.GA25303@mobilestation> From: Logan Gunthorpe Message-ID: <627b30c0-fb98-08a7-9a09-a5f45368740c@deltatee.com> Date: Fri, 15 Jun 2018 14:01:24 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180615195030.GA25303@mobilestation> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: shuah@kernel.org, Shyam-sundar.S-k@amd.com, allenbh@gmail.com, dave.jiang@intel.com, jdmason@kudzu.us, linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org, fancer.lancer@gmail.com X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: [PATCH 6/8] NTB: perf: Fix support for hardware that doesn't have port numbers X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/06/18 01:50 PM, Serge Semin wrote: > On Fri, Jun 08, 2018 at 06:08:17PM -0600, Logan Gunthorpe wrote: >> Legacy drivers do not have port numbers (but is reliably only two ports) >> and was broken by the recent commit that added mult-port support to >> ntb_perf. This is especially important to support the cross link >> topology which is perfectly symmetric and cannot assign unique port >> numbers easily. >> > > Please, see the comment to the patch 3/8. I explained everything there > including the fact, that the Intel/AMD drivers do have unique port numbers > assigned. See my comments as to why this is impossible. Logan