#
68cbb072 |
|
25-Apr-2024 |
Brooks Davis <brooks@FreeBSD.org> |
Revert "config.mk: Add MK_VIMAGE knob" This commit broke "make makeman" checks in github CI due to a lack of option description files. The split between VIMAGE and VIMAGE_SUPPORT is not clearly justified and the code is broken because there is no opt_vimage.h (it's in opt_global.h). This reverts commit 22ca6db50f4e6bd75a141f57cf953d8de6531a06.
|
#
22ca6db5 |
|
09-Apr-2024 |
Stephen J. Kiernan <stevek@FreeBSD.org> |
config.mk: Add MK_VIMAGE knob Default to VIMAGE as yes. Add VIMAGE to __DEFAULT_DEPENDENT_OPTIONS (to define VIMAGE_SUPPORT) Only output VIMAGE to opt_global.h when VIMAGE support is wanted. Obtained from: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D39636
|
#
031beb4e |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line sh pattern Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
#
4355ab6f |
|
24-Oct-2022 |
Warner Losh <imp@FreeBSD.org> |
config.mk: All options in DEFAULTS are now defined in opt_global.h To simplify management of all the options that should be enabled for the different architectures, adopt the convention that all options listed in DEFAULTS will be #defined to 1 in opt_global.h for untied builds. Except for GEOM_* and ISAPNP, they are all in opt_global.h. ISAPNP is a opt_dontuse.h, so only filter GEOM_*. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D37108
|
#
ff8d9d9c |
|
05-Apr-2022 |
Warner Losh <imp@FreeBSD.org> |
config.mk: Add opt_platform.h support opt_platform.h is now included from miivar.h, so add support for generating it in the standalone build case. Sponsored by: Netflix
|
#
c09981f1 |
|
30-Dec-2021 |
Warner Losh <imp@FreeBSD.org> |
mips: Remove sys/mips Remove sys/mips as the next step of decomissioning mips from the tree. Remove mips special cases from the kernel make files. Remove the mips specific linker scripts. Sponsored by: Netflix
|
#
79ddb55c |
|
25-Jun-2020 |
Mark Johnston <markj@FreeBSD.org> |
Add SCTP_SUPPORT handling to config.mk. Reviewed by: jhb, tuexen MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25402
|
#
1319a761 |
|
29-May-2020 |
John Baldwin <jhb@FreeBSD.org> |
Only build ipsec modules if the kernel includes IPSEC_SUPPORT. Honoring the kernel-supplied opt_ipsec.h in r361632 causes builds of ipsec modules to fail if the kernel doesn't include IPSEC_SUPPORT. However, the module can never be loaded into such a kernel, so only build the modules if the kernel includes IPSEC_SUPPORT. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D25059
|
#
4bcbd26f |
|
29-May-2020 |
John Baldwin <jhb@FreeBSD.org> |
Honor opt_ipsec.h from kernel builds. To make this simpler, set the default contents of opt_ipsec.h for standalone modules in sys/conf/config.mk. Reviewed by: imp MFC after: 2 weeks Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D25046
|
#
483d953a |
|
04-May-2020 |
John Baldwin <jhb@FreeBSD.org> |
Initial support for bhyve save and restore. Save and restore (also known as suspend and resume) permits a snapshot to be taken of a guest's state that can later be resumed. In the current implementation, bhyve(8) creates a UNIX domain socket that is used by bhyvectl(8) to send a request to save a snapshot (and optionally exit after the snapshot has been taken). A snapshot currently consists of two files: the first holds a copy of guest RAM, and the second file holds other guest state such as vCPU register values and device model state. To resume a guest, bhyve(8) must be started with a matching pair of command line arguments to instantiate the same set of device models as well as a pointer to the saved snapshot. While the current implementation is useful for several uses cases, it has a few limitations. The file format for saving the guest state is tied to the ABI of internal bhyve structures and is not self-describing (in that it does not communicate the set of device models present in the system). In addition, the state saved for some device models closely matches the internal data structures which might prove a challenge for compatibility of snapshot files across a range of bhyve versions. The file format also does not currently support versioning of individual chunks of state. As a result, the current file format is not a fixed binary format and future revisions to save and restore will break binary compatiblity of snapshot files. The goal is to move to a more flexible format that adds versioning, etc. and at that point to commit to providing a reasonable level of compatibility. As a result, the current implementation is not enabled by default. It can be enabled via the WITH_BHYVE_SNAPSHOT=yes option for userland builds, and the kernel option BHYVE_SHAPSHOT. Submitted by: Mihai Tiganus, Flavius Anton, Darius Mihai Submitted by: Elena Mihailescu, Mihai Carabas, Sergiu Weisz Relnotes: yes Sponsored by: University Politehnica of Bucharest Sponsored by: Matthew Grooms (student scholarships) Sponsored by: iXsystems Differential Revision: https://reviews.freebsd.org/D19495
|
#
a4b3b535 |
|
05-Feb-2020 |
Mark Johnston <markj@FreeBSD.org> |
Define SMP for standalone module builds. Suggested and reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D23519
|
#
7df58aa8 |
|
29-Jan-2020 |
Kyle Evans <kevans@FreeBSD.org> |
config.mk: #define MAC as well MAC is also almost universally a default; every GENERIC includes it, and it's std.armv[67]. mips is again the oddball here with it only being included in ERL/OCTEON1. The only module currently working around this one is mac_veriexec, but it looks like nothing it builds actually uses the MAC definition. Downstream consumers enabling MAC in mips using mac_veriexec may be advised to do something differently here in config.mk.
|
#
861526b5 |
|
29-Jan-2020 |
Kyle Evans <kevans@FreeBSD.org> |
mips: unbreak module builds after r357265 Touch opt_global.h to make sure it exists... Pointy hat: kevans
|
#
0c4c5948 |
|
29-Jan-2020 |
Kyle Evans <kevans@FreeBSD.org> |
kmod build: start generating opt_global.h, include it For untied module builds, we'll generate opt_foo headers if they're included in SRCS. However, options that would normally be represented in opt_global.h aren't properly represented. Start generating opt_global.h with #define VIMAGE for !mips since it's almost universally a project default and right now kmods must hack it in themselves in order to be properly compiled for the default kernel. For example, ^/sys/modules/pf/Makefile Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D23345
|
#
eec0e91e |
|
19-Jul-2019 |
Warner Losh <imp@FreeBSD.org> |
Add comments about KERN_OPT here.
|
#
4945f79a |
|
20-Jan-2019 |
Andriy Voskoboinyk <avos@FreeBSD.org> |
Remove IEEE80211_AMPDU_AGE config option. It is noop since r297774.
|
#
d395e093 |
|
09-Mar-2018 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Reduce overhead for simple 'make -V' lookups by avoiding 'find sys/'. Setting -DNO_SKIP_MPATH can be used for debugging. Reported by: bde MFC after: 2 weeks Sponsored by: Dell EMC
|
#
e2e6a2a1 |
|
04-Jun-2017 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Revert r319053 due to lack of sence. As pointed out by kib@ opt_global.h contains such fundamental settings as e.g. SMP option and fake opt_global.h almost never match real configured kernels. Reported by: kib@
|
#
9ecc1abc |
|
28-May-2017 |
Dmitry Chagin <dchagin@FreeBSD.org> |
On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user. Also fix getrandom() if Linuxulator modules are built without the kernel. PR: 219464 Submitted by: Maciej Pasternacki Reported by: Maciej Pasternacki MFC after: 1 week
|
#
a7dc3128 |
|
24-Apr-2017 |
Brooks Davis <brooks@FreeBSD.org> |
Remove the NATM framework including the en(4), fatm(4), hatm(4), and patm(4) devices. Maintaining an address family and framework has real costs when we make infrastructure improvements. In the case of NATM we support no devices manufactured in the last 20 years and some will not even work in modern motherboards (some newer devices that patm(4) could be updated to support apparently exist, but we do not currently have support). With this change, support remains for some netgraph modules that don't require NATM support code. It is unclear if all these should remain, though ng_atmllc certainly stands alone. Note well: FreeBSD 11 supports NATM and will continue to do so until at least September 30, 2021. Improvements to the code in FreeBSD 11 are certainly welcome. Reviewed by: philip Approved by: harti
|
#
2379d1d6 |
|
25-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Move inclusion of opt_printf.h around so that we can compile all the SCSI modules outside of a sub-build from the kernel. Differential Revision: https://reviews.freebsd.org/D9653 Sponsored by: Netflix
|
#
86d99b68 |
|
16-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Remove EISA bus support for add-in cards. Remove related kernel and compile options. Remove doxygen pointers to now deleted files. Remove EISA and VME as examples in bus_space.9. Retained EISA mode code for IO PIC and MPTABLES because that's not EISA bus, per se, and some people have abused EISA to mean "EISA-like behavior as opposed to ISA" rather than using it for EISA add-in cards. Relnotes: yes
|
#
2b375b4e |
|
27-Jan-2017 |
Yoshihiro Takahashi <nyan@FreeBSD.org> |
Remove pc98 support completely. I thank all developers and contributors for pc98. Relnotes: yes
|
#
f3e7afe2 |
|
18-Jan-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Implement kernel support for hardware rate limited sockets. - Add RATELIMIT kernel configuration keyword which must be set to enable the new functionality. - Add support for hardware driven, Receive Side Scaling, RSS aware, rate limited sendqueues and expose the functionality through the already established SO_MAX_PACING_RATE setsockopt(). The API support rates in the range from 1 to 4Gbytes/s which are suitable for regular TCP and UDP streams. The setsockopt(2) manual page has been updated. - Add rate limit function callback API to "struct ifnet" which supports the following operations: if_snd_tag_alloc(), if_snd_tag_modify(), if_snd_tag_query() and if_snd_tag_free(). - Add support to ifconfig to view, set and clear the IFCAP_TXRTLMT flag, which tells if a network driver supports rate limiting or not. - This patch also adds support for rate limiting through VLAN and LAGG intermediate network devices. - How rate limiting works: 1) The userspace application calls setsockopt() after accepting or making a new connection to set the rate which is then stored in the socket structure in the kernel. Later on when packets are transmitted a check is made in the transmit path for rate changes. A rate change implies a non-blocking ifp->if_snd_tag_alloc() call will be made to the destination network interface, which then sets up a custom sendqueue with the given rate limitation parameter. A "struct m_snd_tag" pointer is returned which serves as a "snd_tag" hint in the m_pkthdr for the subsequently transmitted mbufs. 2) When the network driver sees the "m->m_pkthdr.snd_tag" different from NULL, it will move the packets into a designated rate limited sendqueue given by the snd_tag pointer. It is up to the individual drivers how the rate limited traffic will be rate limited. 3) Route changes are detected by the NIC drivers in the ifp->if_transmit() routine when the ifnet pointer in the incoming snd_tag mismatches the one of the network interface. The network adapter frees the mbuf and returns EAGAIN which causes the ip_output() to release and clear the send tag. Upon next ip_output() a new "snd_tag" will be tried allocated. 4) When the PCB is detached the custom sendqueue will be released by a non-blocking ifp->if_snd_tag_free() call to the currently bound network interface. Reviewed by: wblock (manpages), adrian, gallatin, scottl (network) Differential Revision: https://reviews.freebsd.org/D3687 Sponsored by: Mellanox Technologies MFC after: 3 months
|
#
f5dac37f |
|
22-Jul-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Don't run find(1) for __MPATH with NO_MODULES set. It's a waste of time when it won't be used. Submitted by: bde MFC after: 3 days
|
#
ec4047ad |
|
12-Mar-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Reduce duplicated logic from r291744. Sponsored by: EMC / Isilon Storage Division
|
#
ebf5587e |
|
12-Mar-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Stop looking up these values in every subdir on install. This was slowing down installkernel since it was rerunning this in every module directory. Sponsored by: EMC / Isilon Storage Division
|
#
35c4406d |
|
18-Feb-2015 |
Warner Losh <imp@FreeBSD.org> |
Populate new KERN_OPTS from all the opt_*.h files in KERNBUILDDIR. Come up with some sensible defaults (though listing them in kmod.mk may be unwise -- we have no easy way to know what are the best sensible defaults for everything so we just catch the big stuff). Append SRCS.${opt} for each option in KERN_OPTS to SRCS to allow easy conditional compilation. Append any notion of KERN_OPTS_EXTRA to the list of kernel opts. Differential Revision: https://reviews.freebsd.org/D1530
|