diff options
author | Sainath Grandhi <sainath.grandhi@intel.com> | 2017-02-10 19:03:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-11 20:59:41 -0500 |
commit | 9a393b5d5988ea4eaa3e0da138321abe0dc03a68 (patch) | |
tree | 5a006ee32965ff9c76984aa7ce7c870d966be7ac /drivers/net/Kconfig | |
parent | d9f1f61c0801a73ff36d416a7ede54229b231e1d (diff) |
tap: tap as an independent module
This patch makes tap a separate module for other types of virtual interfaces, for example,
ipvlan to use.
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index a993cbeb9e0c..5763503fe4e6 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -135,6 +135,7 @@ config MACVTAP | |||
135 | tristate "MAC-VLAN based tap driver" | 135 | tristate "MAC-VLAN based tap driver" |
136 | depends on MACVLAN | 136 | depends on MACVLAN |
137 | depends on INET | 137 | depends on INET |
138 | select TAP | ||
138 | help | 139 | help |
139 | This adds a specialized tap character device driver that is based | 140 | This adds a specialized tap character device driver that is based |
140 | on the MAC-VLAN network interface, called macvtap. A macvtap device | 141 | on the MAC-VLAN network interface, called macvtap. A macvtap device |
@@ -287,6 +288,12 @@ config TUN | |||
287 | 288 | ||
288 | If you don't know what to use this for, you don't need it. | 289 | If you don't know what to use this for, you don't need it. |
289 | 290 | ||
291 | config TAP | ||
292 | tristate | ||
293 | ---help--- | ||
294 | This option is selected by any driver implementing tap user space | ||
295 | interface for a virtual interface to re-use core tap functionality. | ||
296 | |||
290 | config TUN_VNET_CROSS_LE | 297 | config TUN_VNET_CROSS_LE |
291 | bool "Support for cross-endian vnet headers on little-endian kernels" | 298 | bool "Support for cross-endian vnet headers on little-endian kernels" |
292 | default n | 299 | default n |