Files
vpp/src/plugins/netmap/CMakeLists.txt
Tom Jones 16cc51b88a netmap: Reinstate and update netmap plugin
Thet netmap plugin was moved to depreciated in commit 998b8fe.

On FreeBSD netmap offers a natively supported kernel interface for
userspace networking and enables VPP without the use of DPDK.

Reinstate the netmap plugin and adapt it to the newer plugin interface.

Type: improvement
Change-Id: I113daa33a490f04cbb29909f9789fa66284ac80e
Signed-off-by: Tom Jones <thj@freebsd.org>
2024-05-14 07:15:12 +00:00

33 lines
575 B
CMake

# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2024 Tom Jones <thj@freebsd.org>
#
# This software was developed by Tom Jones <thj@freebsd.org> under sponsorship
# from the FreeBSD Foundation.
#
if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
message(WARNING "Netmap is only currently support on FreeBSD - netmap plugin disabled")
return()
endif()
add_vpp_plugin(netmap
SOURCES
plugin.c
netmap.c
node.c
device.c
cli.c
netmap_api.c
MULTIARCH_SOURCES
node.c
device.c
INSTALL_HEADERS
netmap.h
net_netmap.h
API_FILES
netmap.api
)