Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933949AbcKIPnC convert rfc822-to-8bit (ORCPT ); Wed, 9 Nov 2016 10:43:02 -0500 Received: from mga05.intel.com ([192.55.52.43]:62425 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932531AbcKIPnA (ORCPT ); Wed, 9 Nov 2016 10:43:00 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,614,1473145200"; d="scan'208";a="29224945" From: "Levy, Amir (Jer)" To: Simon Guinot CC: "gregkh@linuxfoundation.org" , "andreas.noever@gmail.com" , "bhelgaas@google.com" , "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-doc@vger.kernel.org" , "mario_limonciello@dell.com" , thunderbolt-linux , "Westerberg, Mika" , "Winkler, Tomas" , "Zhang, Xiong Y" , "Jamet, Michael" Subject: RE: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking Thread-Topic: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking Thread-Index: AQHSOoO1E33Xz8/iJ0iynfF+yxmEQqDQlsUAgAArbLA= Date: Wed, 9 Nov 2016 15:42:53 +0000 Message-ID: References: <1478701208-4585-1-git-send-email-amir.jer.levy@intel.com> <20161109143632.GE6167@kw.sim.vm.gnt> In-Reply-To: <20161109143632.GE6167@kw.sim.vm.gnt> Accept-Language: he-IL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.184.70.11] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3851 Lines: 85 On Wed, Nov 9 2016, 04:36 PM, Simon Guinot wrote: > On Wed, Nov 09, 2016 at 04:20:00PM +0200, Amir Levy wrote: > > This driver enables Thunderbolt Networking on non-Apple platforms > > running Linux. > > > > Thunderbolt Networking provides peer-to-peer connections to transfer > > files between computers, perform PC migrations, and/or set up small > > workgroups with shared storage. > > > > This is a virtual connection that emulates an Ethernet adapter that > > enables Ethernet networking with the benefit of Thunderbolt > > superfast medium capability. > > > > Thunderbolt Networking enables two hosts and several devices that > > have a Thunderbolt controller to be connected together in a linear > > (Daisy > > chain) series from a single port. > > > > Thunderbolt Networking for Linux is compatible with Thunderbolt > > Networking on systems running macOS or Windows and also supports > > Thunderbolt generation 2 and 3 controllers. > > > > Note that all pre-existing Thunderbolt generation 3 features, such > > as USB, Display and other Thunderbolt device connectivity will > > continue to function exactly as they did prior to enabling Thunderbolt Networking. > > > > Code and Software Specifications: > > This kernel code creates a virtual ethernet device for computer to > > computer communication over a Thunderbolt cable. > > The new driver is a separate driver to the existing Thunderbolt driver. > > It is designed to work on systems running Linux that interface with > > Intel Connection Manager (ICM) firmware based Thunderbolt > > controllers that support Thunderbolt Networking. > > The kernel code operates in coordination with the Thunderbolt user- > > space daemon to implement full Thunderbolt networking functionality. > > > > Hardware Specifications: > > Thunderbolt Hardware specs have not yet been published but are used > > where necessary for register definitions. > > Hi Amir, > > I have an ASUS "All Series/Z87-DELUXE/QUAD" motherboard with a > Thunderbolt 2 "Falcon Ridge" chipset (device ID 156d). > > Is the thunderbolt-icm driver supposed to work with this chipset ? > Yes, the thunderbolt-icm supports Falcon Ridge, device ID 156c. 156d is the bridge - http://lxr.free-electrons.com/source/include/linux/pci_ids.h#L2619 > I have installed both a 4.8.6 Linux kernel (patched with your v9 > series) and the thunderbolt-software-daemon (27 october release) > inside a Debian system (Jessie). > > If I connect the ASUS motherboard with a MacBook Pro (Thunderbolt 2, > device ID 156c), I can see that the thunderbolt-icm driver is loaded > and that the thunderbolt-software-daemon is well started. But the > Ethernet interface is not created. > > I have attached to this email the syslog file. There is the logs from > both the kernel and the daemon inside. Note that the daemon logs are > everything but clear about what could be the issue. Maybe I missed > some kind of configuration ? But I failed to find any valuable > information about configuring the driver and/or the daemon in the various documentation files. > > Please, can you provide some guidance ? I'd really like to test your > patch series. First, thank you very much for willing to test it. Thunderbolt Networking support was added during Falcon Ridge, in the latest FR images. Do you know which Thunderbolt image version you have on your system? Currently I submitted only Thunderbolt Networking feature in Linux, and we plan to add more features like reading the image version and updating the image. If you don't know the image version, the only thing I can suggest is to load windows, install thunderbolt SW and check in the Thunderbolt application the image version. To know if image update is needed, you can check - https://thunderbolttechnology.net/updates > > Thanks in advance. > > Simon Thanks, Amir