diff options
author | Tom Jones <thj@freebsd.org> | 2024-02-07 14:55:20 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-05-14 07:15:12 +0000 |
commit | 16cc51b88a16c14002aebcff9943167b75d79a92 (patch) | |
tree | 244bff2f124150c0eccfe28680a2878bfc5b21c9 /src/plugins/netmap/plugin.c | |
parent | 2516b1ac73cd0dd13ceb10bb8e7824ebc683dc34 (diff) |
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>
Diffstat (limited to 'src/plugins/netmap/plugin.c')
-rw-r--r-- | src/plugins/netmap/plugin.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/plugins/netmap/plugin.c b/src/plugins/netmap/plugin.c new file mode 100644 index 00000000000..1673225b683 --- /dev/null +++ b/src/plugins/netmap/plugin.c @@ -0,0 +1,16 @@ +/* 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. + * + */ + +#include <vlib/vlib.h> +#include <vnet/plugin/plugin.h> +#include <vpp/app/version.h> + +VLIB_PLUGIN_REGISTER () = { + .version = VPP_BUILD_VER, + .description = "netmap", +}; |