summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MAINTAINERS8
-rwxr-xr-xdevtools/build-tags.sh2
-rw-r--r--doc/guides/prog_guide/env_abstraction_layer.rst2
-rw-r--r--lib/librte_eal/Makefile4
-rw-r--r--lib/librte_eal/freebsd/BSDmakefile.meson (renamed from lib/librte_eal/bsdapp/BSDmakefile.meson)0
-rw-r--r--lib/librte_eal/freebsd/Makefile (renamed from lib/librte_eal/bsdapp/Makefile)0
-rw-r--r--lib/librte_eal/freebsd/eal/Makefile (renamed from lib/librte_eal/bsdapp/eal/Makefile)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal.c (renamed from lib/librte_eal/bsdapp/eal/eal.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_alarm.c (renamed from lib/librte_eal/bsdapp/eal/eal_alarm.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_alarm_private.h (renamed from lib/librte_eal/bsdapp/eal/eal_alarm_private.h)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_cpuflags.c (renamed from lib/librte_eal/bsdapp/eal/eal_cpuflags.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_debug.c (renamed from lib/librte_eal/bsdapp/eal/eal_debug.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_dev.c (renamed from lib/librte_eal/bsdapp/eal/eal_dev.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_hugepage_info.c (renamed from lib/librte_eal/bsdapp/eal/eal_hugepage_info.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_interrupts.c (renamed from lib/librte_eal/bsdapp/eal/eal_interrupts.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_lcore.c (renamed from lib/librte_eal/bsdapp/eal/eal_lcore.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_memalloc.c (renamed from lib/librte_eal/bsdapp/eal/eal_memalloc.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_memory.c (renamed from lib/librte_eal/bsdapp/eal/eal_memory.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_thread.c (renamed from lib/librte_eal/bsdapp/eal/eal_thread.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/eal_timer.c (renamed from lib/librte_eal/bsdapp/eal/eal_timer.c)0
-rw-r--r--lib/librte_eal/freebsd/eal/meson.build (renamed from lib/librte_eal/bsdapp/eal/meson.build)0
-rw-r--r--lib/librte_eal/meson.build2
22 files changed, 9 insertions, 9 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 097cfb4..d1e624c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -113,7 +113,7 @@ F: doc/guides/prog_guide/ext_app_lib_make_help.rst
Meson build
M: Bruce Richardson <bruce.richardson@intel.com>
F: meson.build
-F: lib/librte_eal/bsdapp/BSDmakefile.meson
+F: lib/librte_eal/freebsd/BSDmakefile.meson
F: meson_options.txt
F: config/rte_config.h
F: buildtools/gen-pmdinfo-cfile.sh
@@ -174,7 +174,7 @@ F: lib/librte_eal/common/eal_common_fbarray.c
F: lib/librte_eal/common/eal_common_mem*
F: lib/librte_eal/common/eal_hugepages.h
F: lib/librte_eal/linuxapp/eal/eal_mem*
-F: lib/librte_eal/bsdapp/eal/eal_mem*
+F: lib/librte_eal/freebsd/eal/eal_mem*
F: doc/guides/prog_guide/env_abstraction_layer.rst
F: app/test/test_external_mem.c
F: app/test/test_func_reentrancy.c
@@ -260,8 +260,8 @@ F: drivers/bus/pci/linux/*vfio*
FreeBSD EAL (with overlaps)
M: Bruce Richardson <bruce.richardson@intel.com>
-F: lib/librte_eal/bsdapp/Makefile
-F: lib/librte_eal/bsdapp/eal/
+F: lib/librte_eal/freebsd/Makefile
+F: lib/librte_eal/freebsd/eal/
F: doc/guides/freebsd_gsg/
FreeBSD contigmem
diff --git a/devtools/build-tags.sh b/devtools/build-tags.sh
index 03ba185..3a98e9b 100755
--- a/devtools/build-tags.sh
+++ b/devtools/build-tags.sh
@@ -72,7 +72,7 @@ linux_sources()
bsd_sources()
{
- find_sources "lib/librte_eal/bsdapp" '*.[chS]'
+ find_sources "lib/librte_eal/freebsd" '*.[chS]'
}
arm_common()
diff --git a/doc/guides/prog_guide/env_abstraction_layer.rst b/doc/guides/prog_guide/env_abstraction_layer.rst
index 67b45ba..73436b0 100644
--- a/doc/guides/prog_guide/env_abstraction_layer.rst
+++ b/doc/guides/prog_guide/env_abstraction_layer.rst
@@ -349,7 +349,7 @@ EAL provides the event APIs for this event-driven thread mode.
Taking linuxapp as an example, the implementation relies on epoll. Each thread can monitor an epoll instance
in which all the wake-up events' file descriptors are added. The event file descriptors are created and mapped to
the interrupt vectors according to the UIO/VFIO spec.
-From bsdapp's perspective, kqueue is the alternative way, but not implemented yet.
+From FreeBSD's perspective, kqueue is the alternative way, but not implemented yet.
EAL initializes the mapping between event file descriptors and interrupt vectors, while each device initializes the mapping
between interrupt vectors and queues. In this way, EAL actually is unaware of the interrupt cause on the specific vector.
diff --git a/lib/librte_eal/Makefile b/lib/librte_eal/Makefile
index ccd45cb..39d64bb 100644
--- a/lib/librte_eal/Makefile
+++ b/lib/librte_eal/Makefile
@@ -6,7 +6,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
DIRS-y += common
DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += linuxapp
DEPDIRS-linuxapp := common
-DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += bsdapp
-DEPDIRS-bsdapp := common
+DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += freebsd
+DEPDIRS-freebsd := common
include $(RTE_SDK)/mk/rte.subdir.mk
diff --git a/lib/librte_eal/bsdapp/BSDmakefile.meson b/lib/librte_eal/freebsd/BSDmakefile.meson
index 42f5b2b..42f5b2b 100644
--- a/lib/librte_eal/bsdapp/BSDmakefile.meson
+++ b/lib/librte_eal/freebsd/BSDmakefile.meson
diff --git a/lib/librte_eal/bsdapp/Makefile b/lib/librte_eal/freebsd/Makefile
index 5b06b21..5b06b21 100644
--- a/lib/librte_eal/bsdapp/Makefile
+++ b/lib/librte_eal/freebsd/Makefile
diff --git a/lib/librte_eal/bsdapp/eal/Makefile b/lib/librte_eal/freebsd/eal/Makefile
index bfeddaa..bfeddaa 100644
--- a/lib/librte_eal/bsdapp/eal/Makefile
+++ b/lib/librte_eal/freebsd/eal/Makefile
diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/freebsd/eal/eal.c
index 4e86b10..4e86b10 100644
--- a/lib/librte_eal/bsdapp/eal/eal.c
+++ b/lib/librte_eal/freebsd/eal/eal.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_alarm.c b/lib/librte_eal/freebsd/eal/eal_alarm.c
index 51ea4b8..51ea4b8 100644
--- a/lib/librte_eal/bsdapp/eal/eal_alarm.c
+++ b/lib/librte_eal/freebsd/eal/eal_alarm.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_alarm_private.h b/lib/librte_eal/freebsd/eal/eal_alarm_private.h
index 65c7115..65c7115 100644
--- a/lib/librte_eal/bsdapp/eal/eal_alarm_private.h
+++ b/lib/librte_eal/freebsd/eal/eal_alarm_private.h
diff --git a/lib/librte_eal/bsdapp/eal/eal_cpuflags.c b/lib/librte_eal/freebsd/eal/eal_cpuflags.c
index 69b161e..69b161e 100644
--- a/lib/librte_eal/bsdapp/eal/eal_cpuflags.c
+++ b/lib/librte_eal/freebsd/eal/eal_cpuflags.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_debug.c b/lib/librte_eal/freebsd/eal/eal_debug.c
index 5d92500..5d92500 100644
--- a/lib/librte_eal/bsdapp/eal/eal_debug.c
+++ b/lib/librte_eal/freebsd/eal/eal_debug.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_dev.c b/lib/librte_eal/freebsd/eal/eal_dev.c
index 255d611..255d611 100644
--- a/lib/librte_eal/bsdapp/eal/eal_dev.c
+++ b/lib/librte_eal/freebsd/eal/eal_dev.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_hugepage_info.c b/lib/librte_eal/freebsd/eal/eal_hugepage_info.c
index 1e8f5df..1e8f5df 100644
--- a/lib/librte_eal/bsdapp/eal/eal_hugepage_info.c
+++ b/lib/librte_eal/freebsd/eal/eal_hugepage_info.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_interrupts.c b/lib/librte_eal/freebsd/eal/eal_interrupts.c
index 2feee2d..2feee2d 100644
--- a/lib/librte_eal/bsdapp/eal/eal_interrupts.c
+++ b/lib/librte_eal/freebsd/eal/eal_interrupts.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_lcore.c b/lib/librte_eal/freebsd/eal/eal_lcore.c
index d9ef4bc..d9ef4bc 100644
--- a/lib/librte_eal/bsdapp/eal/eal_lcore.c
+++ b/lib/librte_eal/freebsd/eal/eal_lcore.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_memalloc.c b/lib/librte_eal/freebsd/eal/eal_memalloc.c
index 6893448..6893448 100644
--- a/lib/librte_eal/bsdapp/eal/eal_memalloc.c
+++ b/lib/librte_eal/freebsd/eal/eal_memalloc.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_memory.c b/lib/librte_eal/freebsd/eal/eal_memory.c
index 4b092e1..4b092e1 100644
--- a/lib/librte_eal/bsdapp/eal/eal_memory.c
+++ b/lib/librte_eal/freebsd/eal/eal_memory.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_thread.c b/lib/librte_eal/freebsd/eal/eal_thread.c
index 309b587..309b587 100644
--- a/lib/librte_eal/bsdapp/eal/eal_thread.c
+++ b/lib/librte_eal/freebsd/eal/eal_thread.c
diff --git a/lib/librte_eal/bsdapp/eal/eal_timer.c b/lib/librte_eal/freebsd/eal/eal_timer.c
index beff755..beff755 100644
--- a/lib/librte_eal/bsdapp/eal/eal_timer.c
+++ b/lib/librte_eal/freebsd/eal/eal_timer.c
diff --git a/lib/librte_eal/bsdapp/eal/meson.build b/lib/librte_eal/freebsd/eal/meson.build
index 3945b52..3945b52 100644
--- a/lib/librte_eal/bsdapp/eal/meson.build
+++ b/lib/librte_eal/freebsd/eal/meson.build
diff --git a/lib/librte_eal/meson.build b/lib/librte_eal/meson.build
index 98c1d1f..4ae0efc 100644
--- a/lib/librte_eal/meson.build
+++ b/lib/librte_eal/meson.build
@@ -15,7 +15,7 @@ if host_machine.system() == 'linux'
elif host_machine.system() == 'freebsd'
dpdk_conf.set('RTE_EXEC_ENV_BSDAPP', 1)
- subdir('bsdapp/eal')
+ subdir('freebsd/eal')
else
error('unsupported system type "@0@"'.format(host_machine.system()))