Skip to content

Commit

Permalink
router: slow-path in async packet processing (scionproto#4383)
Browse files Browse the repository at this point in the history
Add a low-priority slow path for special case packet handling, in
particular SCMP errors and traceroutes, for the the asynchronous packet
processing pipeline in the router added in scionproto#4351.

This is implementation part three of three described in the design
document (scionproto#4339, doc/dev/design/BorderRouter.rst).

Closes scionproto#4334
  • Loading branch information
rohrerj authored and jiceatscion committed Sep 28, 2023
1 parent 6dfff54 commit 31b03ec
Show file tree
Hide file tree
Showing 5 changed files with 545 additions and 281 deletions.
4 changes: 2 additions & 2 deletions doc/manuals/router.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ considers the following options.

.. option:: router.num_slow_processors = <int> (Default: 1)

Number of goroutines started for the slow-path processing. This feature will be implemented soon. Currently
this setting has no effect.
Number of goroutines started for the slow-path processing which includes all SCMP traffic and traceroutes.
A minimum of 1 slow-path processor is required.

.. option:: router.batch_size = <int> (Default: 256)

Expand Down
Loading

0 comments on commit 31b03ec

Please sign in to comment.