RE: [PATCH RFC v1 0/3] Support for tap user-space access with veth interfaces
From: Grandhi, Sainath <hidden>
Date: 2017-09-20 02:38:13
Just a reminder for feedback.
-----Original Message-----
From: Grandhi, Sainath
Sent: Wednesday, September 06, 2017 5:34 PM
To: netdev@vger.kernel.org
Cc: davem@davemloft.net; Grandhi, Sainath <redacted>
Subject: [PATCH RFC v1 0/3] Support for tap user-space access with veth
interfaces
From: Sainath Grandhi <redacted>
This patchset adds a tap device driver for veth virtual network interface.
With this implementation, tap character interface can be added only to the peer
veth interface. Adding tap interface to veth is for usecases that forwards
packets between host and VMs. This eliminates the need for an additional
software bridge. This can be extended to create both the peer interfaces as tap
interfaces. These patches are a step in that direction.
Sainath Grandhi (3):
net: Adding API to parse IFLA_LINKINFO attribute
net: Abstracting out common routines from veth for use by vethtap
vethtap: veth based tap driver
drivers/net/Kconfig | 1 +
drivers/net/Makefile | 2 +
drivers/net/{veth.c => veth_main.c} | 80 ++++++++++---
drivers/net/vethtap.c | 216 ++++++++++++++++++++++++++++++++++++
include/linux/if_veth.h | 13 +++
include/net/rtnetlink.h | 3 +
net/core/rtnetlink.c | 8 ++
7 files changed, 308 insertions(+), 15 deletions(-) rename drivers/net/{veth.c =>
veth_main.c} (89%) create mode 100644 drivers/net/vethtap.c create mode
100644 include/linux/if_veth.h
--
2.7.4