aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-12-04 15:25:58 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-12-04 17:08:28 +0000
commitc99b4cd1c3aae9ca3bda0595a5cce4ea5e6ba84f (patch)
tree7364a65a5790a43a63f2fe3f231fd0094a962e11 /src/vnet/devices
parentffffb15fb5d6dcd5f0afd69652aa33a4e9894152 (diff)
tap_v2: move code to vnet/devices/tap
virtio backend stays in vnet/devices/virtio Change-Id: Idbf04f1c645a809ed408670ba330662859fe9309 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/devices')
-rw-r--r--src/vnet/devices/tap/cli.c (renamed from src/vnet/devices/virtio/cli.c)2
-rw-r--r--src/vnet/devices/tap/tap.c (renamed from src/vnet/devices/virtio/tap.c)2
-rw-r--r--src/vnet/devices/tap/tap.h (renamed from src/vnet/devices/virtio/tap.h)0
-rw-r--r--src/vnet/devices/tap/tapv2.api (renamed from src/vnet/devices/virtio/tapv2.api)0
-rw-r--r--src/vnet/devices/tap/tapv2_api.c (renamed from src/vnet/devices/virtio/tapv2_api.c)2
5 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/devices/virtio/cli.c b/src/vnet/devices/tap/cli.c
index efd14355627..f7fc1e63be7 100644
--- a/src/vnet/devices/virtio/cli.c
+++ b/src/vnet/devices/tap/cli.c
@@ -28,7 +28,7 @@
#include <linux/virtio_net.h>
#include <linux/vhost.h>
#include <vnet/devices/virtio/virtio.h>
-#include <vnet/devices/virtio/tap.h>
+#include <vnet/devices/tap/tap.h>
static clib_error_t *
tap_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
diff --git a/src/vnet/devices/virtio/tap.c b/src/vnet/devices/tap/tap.c
index 0eaaf2771cc..b4004f70189 100644
--- a/src/vnet/devices/virtio/tap.c
+++ b/src/vnet/devices/tap/tap.c
@@ -35,7 +35,7 @@
#include <vnet/ip/ip6_packet.h>
#include <vnet/devices/netlink.h>
#include <vnet/devices/virtio/virtio.h>
-#include <vnet/devices/virtio/tap.h>
+#include <vnet/devices/tap/tap.h>
#define _IOCTL(fd,a,...) \
if (ioctl (fd, a, __VA_ARGS__) < 0) \
diff --git a/src/vnet/devices/virtio/tap.h b/src/vnet/devices/tap/tap.h
index 0e0f8cb4056..0e0f8cb4056 100644
--- a/src/vnet/devices/virtio/tap.h
+++ b/src/vnet/devices/tap/tap.h
diff --git a/src/vnet/devices/virtio/tapv2.api b/src/vnet/devices/tap/tapv2.api
index 03788607fe5..03788607fe5 100644
--- a/src/vnet/devices/virtio/tapv2.api
+++ b/src/vnet/devices/tap/tapv2.api
diff --git a/src/vnet/devices/virtio/tapv2_api.c b/src/vnet/devices/tap/tapv2_api.c
index 7a6adca083f..2d4d241a3dc 100644
--- a/src/vnet/devices/virtio/tapv2_api.c
+++ b/src/vnet/devices/tap/tapv2_api.c
@@ -42,7 +42,7 @@
#undef vl_printfun
#include <vlibapi/api_helper_macros.h>
-#include <vnet/devices/virtio/tap.h>
+#include <vnet/devices/tap/tap.h>
#define foreach_tapv2_api_msg \
_(TAP_CREATE_V2, tap_create_v2) \