linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/7] Refactor macvtap to re-use tap functionality by other virtual intefaces
@ 2017-01-30 19:11 Sainath Grandhi
  2017-01-30 19:11 ` [PATCHv3 1/7] tap: Refactoring macvtap.c Sainath Grandhi
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Sainath Grandhi @ 2017-01-30 19:11 UTC (permalink / raw)
  To: netdev; +Cc: davem, mahesh, linux-kernel, sainath.grandhi

Tap character devices can be implemented on other virtual interfaces like
ipvlan, similar to macvtap. Source code for tap functionality in macvtap
can be re-used for this purpose.

This patch series splits macvtap source into two modules, macvtap and tap.
This patch series also includes a patch for implementing tap character
device driver based on the IP-VLAN network interface, called ipvtap.

These patches are tested on x86 platform.

Sainath Grandhi (7):
  tap: Refactoring macvtap.c
  tap: Renaming tap related APIs, data structures, macros
  tap: Tap character device creation/destroy API
  tap: Abstract type of virtual interface from tap  implementation
  tap: Extending tap device create/destroy APIs
  tap: tap as an independent module
  ipvtap: IP-VLAN based tap driver

 drivers/net/Kconfig              |   28 +
 drivers/net/Makefile             |    2 +
 drivers/net/ipvlan/Makefile      |    1 +
 drivers/net/ipvlan/ipvlan.h      |    7 +
 drivers/net/ipvlan/ipvlan_core.c |    5 +-
 drivers/net/ipvlan/ipvlan_main.c |   27 +-
 drivers/net/ipvlan/ipvtap.c      |  241 ++++++++
 drivers/net/macvlan.c            |    2 +-
 drivers/net/macvtap.c            | 1229 ++-----------------------------------
 drivers/net/tap.c                | 1261 ++++++++++++++++++++++++++++++++++++++
 drivers/vhost/Kconfig            |    2 +-
 drivers/vhost/net.c              |    3 +-
 include/linux/if_macvlan.h       |   17 +-
 include/linux/if_tap.h           |   75 +++
 14 files changed, 1691 insertions(+), 1209 deletions(-)
 create mode 100644 drivers/net/ipvlan/ipvtap.c
 create mode 100644 drivers/net/tap.c
 create mode 100644 include/linux/if_tap.h

-- 
2.7.4

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCHv3 0/7] Refactor macvtap to re-use tap functionality by other virtual intefaces
@ 2017-01-25 21:25 Sainath Grandhi
  2017-01-25 21:25 ` [PATCHv3 2/7] TAP: Renaming tap related APIs, data structures, macros Sainath Grandhi
  0 siblings, 1 reply; 11+ messages in thread
From: Sainath Grandhi @ 2017-01-25 21:25 UTC (permalink / raw)
  To: netdev; +Cc: davem, mahesh, linux-kernel, sainath.grandhi

Tap character devices can be implemented on other virtual interfaces like
ipvlan, similar to macvtap. Source code for tap functionality in macvtap
can be re-used for this purpose.

This patch series splits macvtap source into two modules, macvtap and tap.
This patch series also includes a patch for implementing tap character
device driver based on the IP-VLAN network interface, called ipvtap.

These patches are tested on x86 platform.

Sainath Grandhi (7):
  TAP: Refactoring macvtap.c
  TAP: Renaming tap related APIs, data structures, macros
  TAP: Tap character device creation/destroy API
  TAP: Abstract type of virtual interface from tap  implementation
  TAP: Extending tap device create/destroy APIs
  TAP: tap as an independent module
  IPVTAP: IP-VLAN based tap driver

 drivers/net/Kconfig              |   28 +
 drivers/net/Makefile             |    2 +
 drivers/net/ipvlan/Makefile      |    1 +
 drivers/net/ipvlan/ipvlan.h      |    7 +
 drivers/net/ipvlan/ipvlan_core.c |    5 +-
 drivers/net/ipvlan/ipvlan_main.c |   27 +-
 drivers/net/ipvlan/ipvtap.c      |  241 ++++++++
 drivers/net/macvlan.c            |    2 +-
 drivers/net/macvtap.c            | 1229 ++-----------------------------------
 drivers/net/tap.c                | 1261 ++++++++++++++++++++++++++++++++++++++
 drivers/vhost/Kconfig            |    2 +-
 drivers/vhost/net.c              |    3 +-
 include/linux/if_macvlan.h       |   17 +-
 include/linux/if_tap.h           |   75 +++
 14 files changed, 1691 insertions(+), 1209 deletions(-)
 create mode 100644 drivers/net/ipvlan/ipvtap.c
 create mode 100644 drivers/net/tap.c
 create mode 100644 include/linux/if_tap.h

-- 
2.7.4

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

end of thread, other threads:[~2017-02-02 23:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-30 19:11 [PATCHv3 0/7] Refactor macvtap to re-use tap functionality by other virtual intefaces Sainath Grandhi
2017-01-30 19:11 ` [PATCHv3 1/7] tap: Refactoring macvtap.c Sainath Grandhi
2017-01-30 19:11 ` [PATCHv3 2/7] tap: Renaming tap related APIs, data structures, macros Sainath Grandhi
2017-01-30 19:11 ` [PATCHv3 3/7] tap: Tap character device creation/destroy API Sainath Grandhi
2017-01-30 19:11 ` [PATCHv3 4/7] tap: Abstract type of virtual interface from tap implementation Sainath Grandhi
2017-01-30 19:12 ` [PATCHv3 5/7] tap: Extending tap device create/destroy APIs Sainath Grandhi
2017-01-31 17:51   ` David Miller
2017-02-02 23:22     ` Grandhi, Sainath
2017-01-30 19:12 ` [PATCHv3 6/7] tap: tap as an independent module Sainath Grandhi
2017-01-30 19:12 ` [PATCHv3 7/7] ipvtap: IP-VLAN based tap driver Sainath Grandhi
  -- strict thread matches above, loose matches on Subject: below --
2017-01-25 21:25 [PATCHv3 0/7] Refactor macvtap to re-use tap functionality by other virtual intefaces Sainath Grandhi
2017-01-25 21:25 ` [PATCHv3 2/7] TAP: Renaming tap related APIs, data structures, macros Sainath Grandhi

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).