Skip to content

Commit 548c237

Browse files
Jon Masongregkh
Jon Mason
authored andcommitted
net: Add support for NTB virtual ethernet device
A virtual ethernet device that uses the NTB transport API to send/receive data. Signed-off-by: Jon Mason <[email protected]> Reviewed-by: Nicholas Bellinger <[email protected]> Acked-by: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent fce8a7b commit 548c237

File tree

4 files changed

+425
-0
lines changed

4 files changed

+425
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5398,6 +5398,7 @@ NTB DRIVER
53985398
M: Jon Mason <[email protected]>
53995399
S: Supported
54005400
F: drivers/ntb/
5401+
F: drivers/net/ntb_netdev.c
54015402
F: include/linux/ntb.h
54025403

54035404
NTFS FILESYSTEM

drivers/net/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ config NETPOLL_TRAP
189189
config NET_POLL_CONTROLLER
190190
def_bool NETPOLL
191191

192+
config NTB_NETDEV
193+
tristate "Virtual Ethernet over NTB"
194+
depends on NTB
195+
192196
config RIONET
193197
tristate "RapidIO Ethernet over messaging driver support"
194198
depends on RAPIDIO

drivers/net/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@ obj-$(CONFIG_USB_IPHETH) += usb/
7171
obj-$(CONFIG_USB_CDC_PHONET) += usb/
7272

7373
obj-$(CONFIG_HYPERV_NET) += hyperv/
74+
obj-$(CONFIG_NTB_NETDEV) += ntb_netdev.o

0 commit comments

Comments
 (0)