0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-18 18:08:45 +00:00
Commit Graph

5145 Commits

Author SHA1 Message Date
Maria Matejka
5eea993f60 Flock tests: cleanup on crash 2024-07-22 10:18:41 +02:00
Maria Matejka
41bd2d0cd7 Flock: bgp_secondary: test finalized 2024-07-19 20:10:40 +02:00
Maria Matejka
1eefc350be Flock tests and CLI: checking show route all 2024-07-19 19:28:19 +02:00
Maria Matejka
48dccde2ab Flock tests and CLI: now we're saving and checking show route output 2024-07-19 17:00:30 +02:00
Maria Matejka
fce146cb61 CLI module: basic show route parsing 2024-07-18 23:34:07 +02:00
Maria Matejka
1adb4e7a90 Flock tests: more abstraction on route dumping 2024-07-13 18:47:22 +02:00
Maria Matejka
369962bdbc Flock test: Cleanup of development remnants.
TODO next phase: implement show-route parsing in Python,
output dumping and checking

After that, make this behave like an actual test.
2024-07-13 17:38:07 +02:00
Maria Matejka
d544213200 Flock test: integrated with Makefile 2024-07-13 17:38:07 +02:00
Maria Matejka
62145d087b Flock tests: encapsulated config and cleanup 2024-07-12 19:56:04 +02:00
Maria Matejka
db8d849756 Flock tests: Adding necessary cleanup routines 2024-07-12 19:03:17 +02:00
Maria Matejka
d84d2d64cd Flock tests: autonumbering links hidden into the lib 2024-07-12 18:45:53 +02:00
Maria Matejka
f98bc285c4 Flock tests: BIRD binaries copied by the library 2024-07-12 18:14:58 +02:00
Maria Matejka
ca431d04d9 Flock tests: BIRDInstance class for MinimalistMachines running BIRD 2024-07-11 23:06:14 +02:00
Maria Matejka
971a1e2792 Flock tests: moving machine creation boilerplate to a separate module 2024-07-11 22:31:06 +02:00
Maria Matejka
7e9a5a44af CLI module: sending enable, disable and show route
No parsing yet
2024-07-11 15:29:28 +02:00
Maria Matejka
c87ff6088a Flock: First try on CLI module, now sending just the down command 2024-07-10 15:41:20 +02:00
Maria Matejka
5aaa8ea226 Flock tests: create simple environment
This is a first try on adapting Flock on cf-bgp-secondary
from bird-tools.
2024-07-10 12:45:51 +02:00
Maria Matejka
e787a9210f NEWS and version update 2024-07-01 15:34:06 +02:00
Maria Matejka
5ea6423cb9 Fixed secondary route export 2024-06-28 22:03:45 +02:00
Maria Matejka
d53582c9a1 show threads: displaying the same thread id's as in log 2024-06-28 22:03:45 +02:00
Maria Matejka
c2480ff533 Export: Throw a warning instead of crashing on export_accepted_map inconsistency 2024-06-28 22:03:45 +02:00
Maria Matejka
edffd82057 Config undo queuing bug fixed 2024-06-28 22:03:45 +02:00
Maria Matejka
45fb9742f0 BGP runs TX as a deferred routine
This should help flushing the tx buffers as soon as possible.
2024-06-28 22:03:45 +02:00
Maria Matejka
6eea722d3f Forbid locking altogether when RCU reader is active 2024-06-28 22:03:45 +02:00
Maria Matejka
1e77e6e1b2 Flush deferred calls directly after the loop finished its one run 2024-06-28 22:03:45 +02:00
Maria Matejka
865bab6237 IO: Allow to take new loops if the thread is hot, but only one at time 2024-06-28 22:03:45 +02:00
Maria Matejka
18d069d663 Even on shutdown we should try to pass the freed memory to others 2024-06-27 08:22:15 +02:00
Maria Matejka
af73cc4215 Allocator now reports cold pages 2024-06-26 20:45:54 +02:00
Maria Matejka
aa11e82174 Filter unit test uncertainty hack 2024-06-26 18:30:17 +02:00
Maria Matejka
be2ba84e50 Tame improper xmalloc warning 2024-06-26 17:21:26 +02:00
Maria Matejka
b797444e94 Merge commit 'b95dc8f29f18eb177f91fdc4bf0716fac9b15366' into mq-config-ref
Also converted all _Bool's to bool.
2024-06-26 17:19:24 +02:00
Maria Matejka
16e53f3f30 channel roa reload debug message 2024-06-26 15:13:12 +02:00
Maria Matejka
2a6fe617b1 IO: allow for faster loop dropping 2024-06-26 11:30:48 +02:00
Maria Matejka
a4a7e09478 Revert "BGP: Export uses common attribute cache"
This reverts commit d01a7c2bda.

It seems that the performance penalty in global ea cache is actually
very high so returning back to local attribute caches in every BGP.
2024-06-26 11:30:48 +02:00
Maria Matejka
a9534186f1 Fixed fast subsequent reconfigurations bug 2024-06-26 11:30:41 +02:00
Maria Matejka
7d455d64ca Remove spinlock debug structures in production build 2024-06-26 11:30:41 +02:00
Maria Matejka
5b7fd453d4 BGP: show proto info crash fix if BGP is down 2024-06-26 11:30:41 +02:00
Maria Matejka
9f7874a5c9 BGP: using closer pointer for netindex hash than all the way to the table 2024-06-26 11:30:41 +02:00
Maria Matejka
8e67cba528 Linpool: allocation split to fast and slow 2024-06-26 11:30:41 +02:00
Maria Matejka
3d45539455 ROA aggregator uses its own rte source instead of recycling 2024-06-26 11:29:43 +02:00
Maria Matejka
6f981969bb RCU read lock optimization 2024-06-26 11:29:43 +02:00
Maria Matejka
d23db54da0 ROA: Switching off digestor splitting 2024-06-26 11:29:43 +02:00
Maria Matejka
4998ca5554 Route attribute usecount doesn't need to synchronize on unlock 2024-06-26 11:29:43 +02:00
Maria Matejka
2c4b368176 RPKI socket read is prioritized over other sockets 2024-06-26 11:29:43 +02:00
Maria Matejka
f9b46a1ba1 Refeed done hooks are called in the same order as the requests came in 2024-06-26 11:29:43 +02:00
Maria Matejka
0b6e752bd9 Conflating multiple partial ROA reload requests together 2024-06-26 11:29:43 +02:00
Maria Matejka
bd44a13ce5 Spinhash main lock removed
Spinhash now uses RCU instead to guard cur-new exchanges to avoid
excessive synchronization and cache misses on the main spinlock.
2024-06-26 11:29:12 +02:00
Maria Matejka
282066ee29 Moved the cork thresholds massively up
This allows for more efficient import and export bundling, including
best route export and next hop resolution.
2024-06-26 11:29:12 +02:00
Maria Matejka
9be90c0f84 Fixed a race condition in rcu-domain blocking 2024-06-19 12:36:55 +02:00
Maria Matejka
67875e76d9 Safer cleanup of table auxiliary routines 2024-06-19 12:36:55 +02:00