net: Add support for NTB virtual ethernet device
Subsystems (4)
RFC v4 2/2 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]>
--- drivers/net/Kconfig | 4 + drivers/net/Makefile | 1 + drivers/net/ntb_netdev.c | 407 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 412 insertions(+) create mode 100644 drivers/net/ntb_netdev.c
drivers/net/Kconfig +4 -0
@@ -178,6 +178,10 @@ config NETPOLL_TRAP config NET_POLL_CONTROLLER def_bool NETPOLL +config NTB_NETDEV + tristate "Virtual Ethernet over NTB" + depends on NTB + config RIONET tristate "RapidIO Ethernet over messaging driver support" depends on RAPIDIO
drivers/net/Makefile +1 -0
@@ -69,3 +69,4 @@ obj-$(CONFIG_USB_IPHETH) += usb/ obj-$(CONFIG_USB_CDC_PHONET) += usb/ obj-$(CONFIG_HYPERV_NET) += hyperv/ +obj-$(CONFIG_NTB_NETDEV) += ntb_netdev.o
drivers/net/ntb_netdev.c new file +407 -0
407 lines not on this page · raw message
Signature · 1 line
1.7.9.5