summaryrefslogtreecommitdiffstats
path: root/src/network/tc/tc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* network: traffic control: drop meta from QDisc and TClassYu Watanabe2022-02-261-189/+12
| | | | | Since #22248, it is not necessary to manage QDisc and TClass in same Set or Hashmap. Let's manage them independently.
* tree-wide: some coccinelle fixesLennart Poettering2022-02-161-2/+1
|
* network: tc: use hashmap to store traffic control settings in .network filesYu Watanabe2022-02-091-2/+2
| | | | As now each qdisc or tclass is configured when it is ready.
* network: tc: use request queue to configure traffic controlYu Watanabe2022-02-091-11/+65
| | | | But no dependency resolution is implemented.
* network: tc: monitor qdisc and tclassYu Watanabe2022-02-091-0/+77
|
* network: coding style fixesYu Watanabe2022-02-091-2/+2
|
* network: move logging from qdisc_configure()/tclass_configure() to the callerZbigniew Jędrzejewski-Szmek2022-01-051-1/+1
|
* Drop the text argument from assert_not_reached()Zbigniew Jędrzejewski-Szmek2021-08-031-3/+3
| | | | | | | | | | | | | | | | | In general we almost never hit those asserts in production code, so users see them very rarely, if ever. But either way, we just need something that users can pass to the developers. We have quite a few of those asserts, and some have fairly nice messages, but many are like "WTF?" or "???" or "unexpected something". The error that is printed includes the file location, and function name. In almost all functions there's at most one assert, so the function name alone is enough to identify the failure for a developer. So we don't get much extra from the message, and we might just as well drop them. Dropping them makes our code a tiny bit smaller, and most importantly, improves development experience by making it easy to insert such an assert in the code without thinking how to phrase the argument.
* network: do not configure static configs more than once simultaneouslyYu Watanabe2020-12-111-1/+8
|
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* network: rename network_verify_xxx() -> network_drop_invalid_xxx()Yu Watanabe2020-10-061-1/+1
| | | | As 'verify' implies a boolean result.
* network: introduce network_verify_traffic_control()Yu Watanabe2020-10-061-1/+12
|
* network: move link_configure_traffic_control()Yu Watanabe2020-10-061-1/+22
|
* network: introduce struct TClass to prepare for supporting tc classYu Watanabe2020-03-021-0/+8
|
* network: introduce TrafficControlKind to prepare for supporting tc classYu Watanabe2020-03-021-0/+41