Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3125705img; Mon, 25 Mar 2019 04:24:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwymMx1JW1RhNR4btO1kNIMS5gENInPjA9cCXTBmFIfu3Qbaz6lhrxCerop5T9NQJVxGKfr X-Received: by 2002:a62:480d:: with SMTP id v13mr23892420pfa.125.1553513070627; Mon, 25 Mar 2019 04:24:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553513070; cv=none; d=google.com; s=arc-20160816; b=qO7o+kP43SCIEJA2Zu5c2oX9H1I9Jfuv1ZnPWvYf4G7630mex9Bflhn0CLDFhYC0bp itABd4oUupQ9L+eXxonN+iEq2Bw3lhbRq7wKZNgmWth57cAj0Kzt6rKxsRxCYPnYrWw/ XjB550NZGwjz0Fc371FYGNT8/AfHlZV91nthNR7wANisQDTny+CeMpAbm/nEI63K90aP zKHlrZPGXhcH0Ji0MkRKhE1x5EGRovxobGq4qucP3YTUKJ75zsczVO1fspD2OnlqwfAd zleTS7BIozh9Y20BnsVeA3ck6FWwRCslNGQUXXrkpEB6R+vbFvLXEjmIncnqPTLk6nuv WEQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=LbpauiHtSC1jcIGvaR/gjxiHseEQ31G1ukPZOX1tN6o=; b=Iu+kJsGBh6/blXFKCLzJQehWJjXUdMDkBfJ8ZPC4Vs6qsTmioEe2gp5e78RUJt0R1/ Indnrag1k5uqB/TFqqTWHHmKFekH+QMbA+NquA7uYdcEQY+rEsLySaliXOxzxCoPwlli qwAdlCv1IeMZTmCPQVfR+nojCq6hJkN08qQYr06Rs2nCB/2ZbsL4kqv4C7Hx9DmwPbJQ Y8mKY6YGPyjnzAc0sMZQqvM9cCisU0tOFrDFjsarptxtnLPQpeB3mZ+IpbHZlUNh3fxR V/9TAV5vHtYIxfMt2diEkLjYnQvF0hY6XXS7we1NRw5nvMUMnm3VxmVOIKL8mjGlIcTJ qbYw== ARC-Authentication-Results: i=1; mx.google.com; spf=temperror (google.com: error in processing during lookup of linux-kernel-owner@vger.kernel.org: DNS error) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p24si11948758pfd.288.2019.03.25.04.24.15; Mon, 25 Mar 2019 04:24:30 -0700 (PDT) Received-SPF: temperror (google.com: error in processing during lookup of linux-kernel-owner@vger.kernel.org: DNS error) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=temperror (google.com: error in processing during lookup of linux-kernel-owner@vger.kernel.org: DNS error) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730918AbfCYLWL (ORCPT + 99 others); Mon, 25 Mar 2019 07:22:11 -0400 Received: from mga04.intel.com ([192.55.52.120]:63575 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730472AbfCYLWL (ORCPT ); Mon, 25 Mar 2019 07:22:11 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2019 04:22:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="137209955" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by fmsmga007.fm.intel.com with SMTP; 25 Mar 2019 04:22:07 -0700 Received: by lahna (sSMTP sendmail emulation); Mon, 25 Mar 2019 13:22:06 +0200 Date: Mon, 25 Mar 2019 13:22:06 +0200 From: Mika Westerberg To: Lukas Wunner Cc: linux-kernel@vger.kernel.org, Michael Jamet , Yehezkel Bernat , Andreas Noever , "David S . Miller" , Andy Shevchenko , netdev@vger.kernel.org Subject: Re: [PATCH v2 17/28] thunderbolt: Add support for full PCIe daisy chains Message-ID: <20190325112206.GH3622@lahna.fi.intel.com> References: <20190206131738.43696-1-mika.westerberg@linux.intel.com> <20190206131738.43696-18-mika.westerberg@linux.intel.com> <20190324113144.wubme46hby7rj6r2@wunner.de> <20190325095733.GC3622@lahna.fi.intel.com> <20190325111616.gjfkos666gz3blj2@wunner.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190325111616.gjfkos666gz3blj2@wunner.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 25, 2019 at 12:16:16PM +0100, Lukas Wunner wrote: > Yes, but my point is that it doesn't make much sense to establish a tunnel > between a switch and one of its parent switches unless that parent switch > is reachable from the root switch over a PCI tunnel or a series of PCI > tunnels. > > It may be worth checking that condition, or, if new tunnels are established > top-down in the daisy-chain and tunnel establishment has failed for a > switch, to not establish tunnels for switches beyond that one. OK, got it :)