Skip to content

Commit

Permalink
YAML API: Add cwnd property of route
Browse files Browse the repository at this point in the history
Signed-off-by: Gris Ge <fge@redhat.com>
  • Loading branch information
cathay4t committed Mar 21, 2024
1 parent 76c7b5a commit 8855058
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions devel/yaml_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1520,6 +1520,13 @@ Each route entry could have these parameters:
route, it will only delete routes __without__ `next-hop-address`.
* `metric`: Integer. Set to -1 for let backend decide.
* `table-id`: Integer. Set to 0 for main table id 254.
* `cwnd`: Integer. TCP congestion window. According to linux kernel, The
`cwnd` property of route requires the `lock cwnd` flag been set at the same
time, otherwise the `cwnd` will take effect. Hence, on querying, nmstate
treat routes without `lock cwnd` flag as empty `cwnd`. When applying,
nmstate backend always set `lock cwnd`. If you want to modify existing
`cwnd`, like modifying other route properties, you need to mark old
route as `state: absnet` and append new route.

## Route Rules

Expand Down

0 comments on commit 8855058

Please sign in to comment.