summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2024-06-25 12:52:55 +0000
committerDave Wallace <dwallacelf@gmail.com>2024-06-25 18:16:33 +0000
commit3eb91a5d62d4cc80f8390e25306397f86c1ae7df (patch)
tree1824a40294368a93d534df91756f980af1c92680 /src/vnet
parent5677c8ac4bb023d45cb41e8b3e3288a0323b7d7b (diff)
dev: move bus code to bus/
Type: refactor Change-Id: If3a195f1ea600bfd621717f333af1b1273ab0807 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/CMakeLists.txt12
-rw-r--r--src/vnet/dev/bus/pci.c (renamed from src/vnet/dev/pci.c)2
-rw-r--r--src/vnet/dev/bus/pci.h (renamed from src/vnet/dev/pci.h)0
3 files changed, 12 insertions, 2 deletions
diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt
index 0554e2f0f60..01958225343 100644
--- a/src/vnet/CMakeLists.txt
+++ b/src/vnet/CMakeLists.txt
@@ -28,6 +28,7 @@ list(APPEND VNET_SOURCES
devices/netlink.c
dev/api.c
dev/args.c
+ dev/bus/pci.c
dev/cli.c
dev/config.c
dev/counters.c
@@ -36,7 +37,6 @@ list(APPEND VNET_SOURCES
dev/error.c
dev/format.c
dev/handlers.c
- dev/pci.c
dev/port.c
dev/process.c
dev/queue.c
@@ -74,7 +74,17 @@ list(APPEND VNET_HEADERS
config.h
devices/devices.h
devices/netlink.h
+ dev/api.h
+ dev/args.h
+ dev/bus/pci.h
+ dev/counters.h
dev/dev.h
+ dev/dev_funcs.h
+ dev/errors.h
+ dev/log.h
+ dev/mgmt.h
+ dev/process.h
+ dev/types.h
flow/flow.h
global_funcs.h
interface/rx_queue_funcs.h
diff --git a/src/vnet/dev/pci.c b/src/vnet/dev/bus/pci.c
index 3cc0cba5003..4bb8660f4b4 100644
--- a/src/vnet/dev/pci.c
+++ b/src/vnet/dev/bus/pci.c
@@ -4,7 +4,7 @@
#include <vnet/vnet.h>
#include <vnet/dev/dev.h>
-#include <vnet/dev/pci.h>
+#include <vnet/dev/bus/pci.h>
#include <vnet/dev/log.h>
#include <vlib/unix/unix.h>
diff --git a/src/vnet/dev/pci.h b/src/vnet/dev/bus/pci.h
index ce9a53aa273..ce9a53aa273 100644
--- a/src/vnet/dev/pci.h
+++ b/src/vnet/dev/bus/pci.h