Skip to content

thunderbolt: Introducing Thunderbolt(TM) Networking

Amir Levy linux-pci lkml netdev 9 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest8 patches 19 repliesIn review
  2. v88 patches 11 repliesSuperseded
  3. v78 patches 4 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v68 patches10 repliesSuperseded
v58 patches11 repliesSuperseded
v47 patches9 repliesSuperseded
v38 patches12 repliesSuperseded
v28 patches3 repliesSuperseded
v16 patches16 repliesSuperseded

Changes in v9 from the cover letter

- Added support for more Thunderbolt device IDs

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8thunderbolt: Macro renamedrivers/thunderbolt/nhi_regs.h+3 -30 replies
2/8thunderbolt: Updating the register definitionsdrivers/thunderbolt/nhi_regs.h+109 -00 replies
3/8thunderbolt: Communication with the ICM (firmware)drivers/thunderbolt/icm/Makefile drivers/thunderbolt/icm/icm_nhi.c drivers/thunderbolt/icm/icm_nhi.h +1 more+1561 -00 replies
4/8thunderbolt: Networking state machinedrivers/thunderbolt/icm/Makefile drivers/thunderbolt/icm/icm_nhi.c drivers/thunderbolt/icm/net.c +1 more+1109 -80 replies
5/8thunderbolt: Networking transmit and receivedrivers/thunderbolt/icm/icm_nhi.c drivers/thunderbolt/icm/net.c+1486 -00 replies
6/8thunderbolt: Kconfig for Thunderbolt Networkingdrivers/thunderbolt/Kconfig drivers/thunderbolt/Makefile+25 -50 replies
7/8thunderbolt: Networking docDocumentation/00-INDEX Documentation/thunderbolt/networking.txt+134 -04 replies
8/8thunderbolt: Adding maintainer entryMAINTAINERS+7 -10 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndreas NoeverMario LimoncielloSimon Guinot
SeriesA-b T-b T-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v9 thread

Cover letter [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

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.

Changes since v8:
- Added support for more Thunderbolt device IDs

These patches were pushed to GitHub where they can be reviewed more comfortably with green/red highlighting:
https://github.com/01org/thunderbolt-software-kernel-tree

Daemon code:
https://github.com/01org/thunderbolt-software-daemon

For reference, here's a link to version 8:
[v8]: https://lkml.org/lkml/2016/9/28/378

Amir Levy (8):
thunderbolt: Macro rename
thunderbolt: Updating the register definitions
thunderbolt: Communication with the ICM (firmware)
thunderbolt: Networking state machine
thunderbolt: Networking transmit and receive
thunderbolt: Kconfig for Thunderbolt Networking
thunderbolt: Networking doc
thunderbolt: Adding maintainer entry

 Documentation/00-INDEX                   |    2 +
 Documentation/thunderbolt/networking.txt |  132 ++
 MAINTAINERS                              |    8 +-
 drivers/thunderbolt/Kconfig              |   27 +-
 drivers/thunderbolt/Makefile             |    3 +-
 drivers/thunderbolt/icm/Makefile         |    2 +
 drivers/thunderbolt/icm/icm_nhi.c        | 1520 ++++++++++++++++++++
 drivers/thunderbolt/icm/icm_nhi.h        |   85 ++
 drivers/thunderbolt/icm/net.c            | 2254 ++++++++++++++++++++++++++++++
 drivers/thunderbolt/icm/net.h            |  287 ++++
 drivers/thunderbolt/nhi_regs.h           |  115 +-
 11 files changed, 4426 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/thunderbolt/networking.txt
 create mode 100644 drivers/thunderbolt/icm/Makefile
 create mode 100644 drivers/thunderbolt/icm/icm_nhi.c
 create mode 100644 drivers/thunderbolt/icm/icm_nhi.h
 create mode 100644 drivers/thunderbolt/icm/net.c
 create mode 100644 drivers/thunderbolt/icm/net.h
Signature · 1 line
2.7.4