tap_v2: move code to vnet/devices/tap
[vpp.git] / src / vnet.am
index 72e67dc..a4817f2 100644 (file)
@@ -34,6 +34,7 @@ libvnet_la_SOURCES +=                         \
   vnet/buffer.c                                        \
   vnet/config.c                                        \
   vnet/devices/devices.c                       \
+  vnet/devices/netlink.c                       \
   vnet/handoff.c                               \
   vnet/interface.c                             \
   vnet/interface_api.c                         \
@@ -48,6 +49,7 @@ nobase_include_HEADERS +=                     \
   vnet/buffer.h                                        \
   vnet/config.h                                        \
   vnet/devices/devices.h                       \
+  vnet/devices/netlink.h                       \
   vnet/global_funcs.h                          \
   vnet/handoff.h                               \
   vnet/interface.h                             \
@@ -867,16 +869,36 @@ API_FILES += vnet/pg/pg.api
 # virtio
 ########################################
 
-libvnet_la_SOURCES +=       \
-  vnet/devices/virtio/vhost-user.c     \
-  vnet/devices/virtio/vhost_user_api.c
+libvnet_la_SOURCES +=                          \
+  vnet/devices/virtio/device.c                 \
+  vnet/devices/virtio/node.c                   \
+  vnet/devices/virtio/vhost-user.c             \
+  vnet/devices/virtio/vhost_user_api.c         \
+  vnet/devices/virtio/virtio.c
+
 
-nobase_include_HEADERS +=     \
-  vnet/devices/virtio/vhost-user.h     \
+nobase_include_HEADERS +=                      \
+  vnet/devices/virtio/virtio.h                 \
+  vnet/devices/virtio/vhost-user.h             \
   vnet/devices/virtio/vhost_user.api.h
 
 API_FILES += vnet/devices/virtio/vhost_user.api
 
+########################################
+# tap interface (with virtio backend)
+########################################
+
+libvnet_la_SOURCES +=                          \
+  vnet/devices/tap/cli.c                       \
+  vnet/devices/tap/tap.c                       \
+  vnet/devices/tap/tapv2_api.c
+
+nobase_include_HEADERS +=                      \
+  vnet/devices/tap/tap.h                       \
+  vnet/devices/tap/tapv2.api.h
+
+API_FILES += vnet/devices/tap/tapv2.api
+
 ########################################
 # ssvm ethernet
 ########################################