In some setups multiple hard interfaces with similar link qualities or throughput values are available. But people have expressed the desire to consider one of them as a backup only. Some creative solutions are currently in use: Such people are configuring multiple batman-adv mesh/soft interfaces, wire them together with some veth pairs and then tune the hop penalty to achieve an effect similar to a tunable per interface hop penalty. This patch introduces a new, configurable, per hard interface hop penalty to simplify such setups.
Showing the changes to include/uapi/linux (1 of 6 files). Show all
Unified · Split
| @@ -427,7 +427,8 @@ enum batadv_nl_attrs { · 426 unmodified lines | ||
| 427 | 427 | |
| 428 | 428 | /** |
| 429 | 429 | * @BATADV_ATTR_HOP_PENALTY: defines the penalty which will be applied |
| 430 | − * to an originator message's tq-field on every hop. | |
| 430 | + * to an originator message's tq-field on every hop and/or per | |
| 431 | + * hard interface | |
| 431 | 432 | */ |
| 432 | 433 | BATADV_ATTR_HOP_PENALTY, |
| 433 | 434 | |