netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Wang <jasowang@redhat.com>
To: sainath.grandhi@intel.com, netdev@vger.kernel.org
Cc: davem@davemloft.net
Subject: Re: [PATCH RFC v1 0/3] Support for tap user-space access with veth interfaces
Date: Thu, 14 Sep 2017 12:12:50 +0800	[thread overview]
Message-ID: <64127ea9-7021-6af9-ff00-0f1e57d8c39b@redhat.com> (raw)
In-Reply-To: <1504744467-79590-1-git-send-email-sainath.grandhi@intel.com>



On 2017年09月07日 08:34, sainath.grandhi@intel.com wrote:
> 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
>

Interesting, plan to add vhost support for this? And we can enable 
zerocopy without any worries I think.

Thanks

  parent reply	other threads:[~2017-09-14  4:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Jason Wang [this message]
2017-09-20  2:38 ` [PATCH RFC v1 0/3] Support for tap user-space access with veth interfaces Grandhi, Sainath
2017-10-09 21:51 ` Grandhi, Sainath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=64127ea9-7021-6af9-ff00-0f1e57d8c39b@redhat.com \
    --to=jasowang@redhat.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=sainath.grandhi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).