Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
netlink: move NETLINK define to opt_global.hMove the NETLINK define into opt_global.h so we can rely on it beingset correctly, without having to remember to include opt_netlink.h.This ensures tha
netlink: move NETLINK define to opt_global.hMove the NETLINK define into opt_global.h so we can rely on it beingset correctly, without having to remember to include opt_netlink.h.This ensures that the NETLINK define is correctly set. If not wemay end up with unloadable modules, due to missing symbols (such asnlmsg_get_group_writer).PR: 274306Reviewed by: imp, markjMFC after: 3 daysDifferential Revision: https://reviews.freebsd.org/D42179
show more ...
sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
ktest: make ktest work with Netlink loaded as a module.MFC after: 2 weeks
netlink: use netlink mbufs in the mbuf chains.Continue D40356 and switch the remaining parts of mbuf-relatedcode to the Netlink mbufs.Reviewed By: gallatinDifferential Revision: https://reviews
netlink: use netlink mbufs in the mbuf chains.Continue D40356 and switch the remaining parts of mbuf-relatedcode to the Netlink mbufs.Reviewed By: gallatinDifferential Revision: https://reviews.freebsd.org/D40368MFC after: 2 weeks
Testing: add framework for the kernel unit tests.This changes intends to reduce the bar to the kernel unit-testing by introducing a new kernel-testing framework ("ktest") based on Netlink, loadab
Testing: add framework for the kernel unit tests.This changes intends to reduce the bar to the kernel unit-testing by introducing a new kernel-testing framework ("ktest") based on Netlink, loadable test modules and python test suite integration.This framework provides the following features:* Integration to the FreeBSD test suite* Automatic test discovery* Automatic test module loading* Minimal boiler-plate code in both kernel and userland* Passing any metadata to the test* Convenient environment pre-setup using python testing framework* Streaming messages from the kernel to the userland* Running tests in the dedicated taskqueues* Skipping or parametrizing testsDifferential Revision: https://reviews.freebsd.org/D39385MFC after: 2 weeks