netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC v1 0/3] Support for tap user-space access with veth interfaces
@ 2017-09-07  0:34 sainath.grandhi
  2017-09-07  0:34 ` [PATCH RFC v1 1/3] net: Adding API to parse IFLA_LINKINFO attribute sainath.grandhi
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: sainath.grandhi @ 2017-09-07  0:34 UTC (permalink / raw)
  To: netdev; +Cc: davem, Sainath Grandhi

From: Sainath Grandhi <sainath.grandhi@intel.com>

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-10-09 21:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-07  0:34 [PATCH RFC v1 0/3] Support for tap user-space access with veth interfaces sainath.grandhi
2017-09-07  0:34 ` [PATCH RFC v1 1/3] net: Adding API to parse IFLA_LINKINFO attribute sainath.grandhi
2017-09-07  0:34 ` [PATCH RFC v1 2/3] net: Abstracting out common routines from veth for use by vethtap sainath.grandhi
2017-09-07  0:34 ` [PATCH RFC v1 3/3] vethtap: veth based tap driver sainath.grandhi
2017-09-14  4:12 ` [PATCH RFC v1 0/3] Support for tap user-space access with veth interfaces Jason Wang
2017-09-20  2:38 ` Grandhi, Sainath
2017-10-09 21:51 ` Grandhi, Sainath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).