aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/queueing.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* queueing: more reasonable allocator function conventionJason A. Donenfeld2019-02-031-2/+2
|
* global: update copyrightJason A. Donenfeld2019-01-071-1/+1
|
* global: give if statements brackets and other cleanupsJason A. Donenfeld2018-10-091-1/+2
|
* global: more nitsJason A. Donenfeld2018-10-081-1/+1
|
* global: prefix all functions with wg_Jason A. Donenfeld2018-10-021-5/+5
| | | | | | | | | | | | | I understand why this must be done, though I'm not so happy about having to do it. In some places, it puts us over 80 chars and we have to break lines up in further ugly ways. And in general, I think this makes things harder to read. Yet another thing we must do to please upstream. Maybe this can be replaced in the future by some kind of automatic module namespacing logic in the linker, or even combined with LTO and aggressive symbol stripping. Suggested-by: Andrew Lunn <andrew@lunn.ch>
* global: put SPDX identifier on its own lineJason A. Donenfeld2018-09-201-2/+2
| | | | | The kernel has very specific rules correlating file type with comment type, and also SPDX identifiers can't be merged with other comments.
* global: run through clang-formatJason A. Donenfeld2018-08-281-5/+9
| | | | | | | This is the worst commit in the whole repo, making the code much less readable, but so it goes with upstream maintainers. We are now woefully wrapped at 80 columns.
* receive: use NAPI on the receive pathJonathan Neuschäfer2018-07-081-6/+8
| | | | | | Suggested-by: Jason A. Donenfeld <Jason@zx2c4.com> [Jason: fixed up the flushing of the rx_queue in peer_remove] Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
* queueing: remove useless spinlocks on scJason A. Donenfeld2018-06-161-1/+1
| | | | Since these are the only consumers, there's no need for locking.
* global: year bumpJason A. Donenfeld2018-01-031-1/+1
|
* global: add SPDX tags to all filesGreg Kroah-Hartman2017-12-091-1/+4
| | | | | | | | | | | | | It's good to have SPDX identifiers in all files as the Linux kernel developers are working to add these identifiers to all files. Update all files with the correct SPDX license identifier based on the license text of the project or based on the license in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Modified-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: infuriating kernel iterator styleJason A. Donenfeld2017-10-311-1/+1
| | | | | | | | | | | | | | | | | One types: for (i = 0 ... So one should also type: for_each_obj (obj ... But the upstream kernel style guidelines are insane, and so we must instead do: for_each_obj(obj ... Ugly, but one must choose his battles wisely.
* queueing: move from ctx to cbJason A. Donenfeld2017-10-051-16/+0
|
* queueing: use ptr_ring instead of linked listsJason A. Donenfeld2017-10-051-4/+15
|
* global: add space around variable declarationsJason A. Donenfeld2017-10-031-0/+2
|
* queueing: more standard init/uninit namesJason A. Donenfeld2017-09-251-2/+2
|
* queue: entirely rework parallel systemJason A. Donenfeld2017-09-181-0/+46
This removes our dependency on padata and moves to a different mode of multiprocessing that is more efficient. This began as Samuel Holland's GSoC project and was gradually reworked/redesigned/rebased into this present commit, which is a combination of his initial contribution and my subsequent rewriting and redesigning.