]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/net/Kconfig
net: Add support for networking over Thunderbolt cable
authorAmir Levy <amir.jer.levy@intel.com>
Mon, 2 Oct 2017 10:38:45 +0000 (13:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Oct 2017 18:24:42 +0000 (11:24 -0700)
commite69b6c02b4c3b8d03be7136f90dd9551ad5a5a5e
treef337124015e9ad1387ee02f946ea37be8684d398
parent467cd25bf2aec14c2e2990512248b72f46f94c53
net: Add support for networking over Thunderbolt cable

ThunderboltIP is a protocol created by Apple to tunnel IP/ethernet
traffic over a Thunderbolt cable. The protocol consists of configuration
phase where each side sends ThunderboltIP login packets (the protocol is
determined by UUID in the XDomain packet header) over the configuration
channel. Once both sides get positive acknowledgment to their login
packet, they configure high-speed DMA path accordingly. This DMA path is
then used to transmit and receive networking traffic.

This patch creates a virtual ethernet interface the host software can
use in the same way as any other networking interface. Once the
interface is brought up successfully network packets get tunneled over
the Thunderbolt cable to the remote host and back.

The connection is terminated by sending a ThunderboltIP logout packet
over the configuration channel. We do this when the network interface is
brought down by user or the driver is unloaded.

Signed-off-by: Amir Levy <amir.jer.levy@intel.com>
Signed-off-by: Michael Jamet <michael.jamet@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/admin-guide/thunderbolt.rst
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/thunderbolt.c [new file with mode: 0644]