Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1575163
| From | Sainath Grandhi <sainath.grandhi@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCHv4 0/7] Refactor macvtap to re-use tap functionality by other virtual intefaces |
| Date | 2017-02-06 22:40 +0100 |
| Message-ID | <t7ZaW-214-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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 | 1268 ++++++++++++++++++++++++++++++++++++++ drivers/vhost/Kconfig | 2 +- drivers/vhost/net.c | 3 +- include/linux/if_macvlan.h | 17 +- include/linux/if_tap.h | 75 +++ 14 files changed, 1698 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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCHv4 0/7] Refactor macvtap to re-use tap functionality by other virtual intefaces Sainath Grandhi <sainath.grandhi@intel.com> - 2017-02-06 22:40 +0100
[PATCHv4 1/7] tap: Refactoring macvtap.c Sainath Grandhi <sainath.grandhi@intel.com> - 2017-02-06 22:40 +0100
[PATCHv4 3/7] tap: Tap character device creation/destroy API Sainath Grandhi <sainath.grandhi@intel.com> - 2017-02-06 22:40 +0100
[PATCHv4 7/7] ipvtap: IP-VLAN based tap driver Sainath Grandhi <sainath.grandhi@intel.com> - 2017-02-06 22:40 +0100
[PATCHv4 4/7] tap: Abstract type of virtual interface from tap implementation Sainath Grandhi <sainath.grandhi@intel.com> - 2017-02-06 22:40 +0100
[PATCHv4 5/7] tap: Extending tap device create/destroy APIs Sainath Grandhi <sainath.grandhi@intel.com> - 2017-02-06 22:40 +0100
[PATCHv4 2/7] tap: Renaming tap related APIs, data structures, macros Sainath Grandhi <sainath.grandhi@intel.com> - 2017-02-06 22:40 +0100
Re: [PATCHv4 0/7] Refactor macvtap to re-use tap functionality by other virtual intefaces David Miller <davem@davemloft.net> - 2017-02-07 19:30 +0100
RE: [PATCHv4 0/7] Refactor macvtap to re-use tap functionality by other virtual intefaces "Grandhi, Sainath" <sainath.grandhi@intel.com> - 2017-02-08 22:50 +0100
csiph-web