freebsd with flexible iflib nic queues
Go to file
Alexander V. Chernikov 04ce393f6c netlink: add netlink KPI to the kernel by default
This change does the following:

Base Netlink KPIs (ability to register the family, parse and/or
 write a Netlink message) are always present in the kernel. Specifically,
* Implementation of genetlink family/group registration/removal,
  some base accessors (netlink_generic_kpi.c, 260 LoC) are compiled in
  unconditionally.
* Basic TLV parser functions (netlink_message_parser.c, 507 LoC) are
  compiled in unconditionally.
* Glue functions (netlink<>rtsock), malloc/core sysctl definitions
 (netlink_glue.c, 259 LoC) are compiled in unconditionally.
* The rest of the KPI _functions_ are defined in the netlink_glue.c,
 but their implementation calls a pointer to either the stub function
 or the actual function, depending on whether the module is loaded or not.

This approach allows to have only 1k LoC out of ~3.7k LoC (current
 sys/netlink implementation) in the kernel, which will not grow further.
It also allows for the generic netlink kernel customers to load
 successfully without requiring Netlink module and operate correctly
 once Netlink module is loaded.

Reviewed by:	imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D39269
2023-04-03 04:12:57 -04:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github .github: Test DISK_IMAGE_TOOLS_BOOTSTRAP in CI 2023-04-03 04:10:16 -04:00
bin pkill: tests: do a pass for case-sensitive conflicts 2023-04-03 04:12:20 -04:00
cddl libdtrace: fix indendation in dt_printd() 2023-04-03 04:12:18 -04:00
contrib Import tzdata 2023b 2023-04-03 04:12:48 -04:00
crypto sftp: add description of memory leak fix 2023-04-03 04:12:27 -04:00
doxygen Vendor import of xz 5.4.2 (trimmed) 2023-04-03 04:12:15 -04:00
etc Reserve u2f group for FIDO/U2F key support (SSH, etc.) 2023-04-03 04:10:15 -04:00
gnu gnu diff3: apply patch to committed src, rather than at build time 2022-11-13 21:33:40 -05:00
include arpa: garbage collect ns_newmsg/ns_rdata decls 2023-04-03 04:12:28 -04:00
kerberos5 kerberos5: retire now-unused MIPS support 2022-11-02 13:16:18 -04:00
lib libc: Use secure_getenv(3) where appropriate 2023-04-03 04:12:57 -04:00
libexec rc: Chase bfb202c455 and remove ifconfig down/up for wpa_supplicant 2023-04-03 04:12:50 -04:00
release pkg-stage.sh: update port trailing version information 2023-04-03 04:12:19 -04:00
rescue rescue: Fix link order of SSL libraries and fetch. 2023-02-02 09:23:02 -08:00
sbin nvmecontrol(8): fix resv register -i synopsis 2023-04-03 04:12:57 -04:00
secure OpenSSL: Regen manual pages for OpenSSL 1.1.1t 2023-02-07 14:01:15 -05:00
share netlink: restrict default userland switch to netlink to i386/amd64. 2023-04-03 04:12:55 -04:00
src/liblzma/check Vendor import of xz 5.4.2 (trimmed) 2023-04-03 04:12:15 -04:00
stand amd64 loader: Use efiserialio for Hyper-V booted systems 2023-04-03 04:11:49 -04:00
sys netlink: add netlink KPI to the kernel by default 2023-04-03 04:12:57 -04:00
targets retire sconfig(8) ce(4)/cp(4) configuration tool 2022-12-13 15:25:13 -05:00
tests makefs: add missing break for 'g' case in tarfs test 2023-04-03 04:12:45 -04:00
tools netlink: add NETLINK/NETLINK_SUPPORT userland options. 2023-04-03 04:12:54 -04:00
usr.bin tftp tests: Fix a typo in the makefile 2023-04-03 04:12:55 -04:00
usr.sbin bhyve: add config option to modify LPC IDs 2023-04-03 04:12:56 -04:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml CI: Run pkgbase METALOG lint script 2023-04-03 04:10:16 -04:00
.clang-format clang-format: Add bitset loop macros 2021-09-21 12:08:01 -04:00
.git-blame-ignore-revs Add git-blame ignore file 2023-01-23 15:27:25 -05:00
.gitattributes
.gitignore .gitignore: Ignore LSP generated .cache 2023-04-03 04:09:56 -04:00
CONTRIBUTING.md CONTRIBUTING.md: Suggest using checkstyle9.pl 2023-04-03 04:12:53 -04:00
COPYRIGHT Happy New Year 2023! 2023-01-01 13:44:43 +08:00
iso3166.tab Import tzdata 2023a 2023-04-03 04:12:42 -04:00
LOCKS
MAINTAINERS MAINTAINERS+GitHub: Reflect ipfilter was moved from contrib to netpfil 2023-02-28 10:33:03 -08:00
Makefile Import tzdata 2023a 2023-04-03 04:12:42 -04:00
Makefile.inc1 Add new DISK_IMAGE_TOOLS_BOOTSTRAP option 2023-04-03 04:10:16 -04:00
Makefile.libcompat libcompat: avoid installing include files twice 2022-11-16 19:15:20 -05:00
Makefile.sys.inc
ObsoleteFiles.inc Remove libvmmapi.so.5 after the shlib version was bumped to 6. 2023-04-03 04:12:51 -04:00
README.md Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
RELNOTES RELNOTES: Add an entry for NFS server support in vnet prisons 2023-04-03 04:10:11 -04:00
ssh_config.0 Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
ssh-keygen.0 Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
ssh-keyscan.0 Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
sshd_config.0 Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
sshd.0 Vendor import of OpenSSH 9.3p1 2023-04-03 04:11:39 -04:00
UPDATING UPDATING: Document arm video devices renaming. 2023-04-03 04:11:47 -04:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

C/C++ CI Fuzzing Status Coverity Status

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.