-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A small quirk is required to properly list default routes. rte_rib_get_nxt does not return a default route since it will only return routes that have larger prefixes/depths than the one passed as parameter. This probably warrants a fix in rte_rib but it is not trivial. In the meantime, add an explicit rte_rib_lookup_exact() for 0.0.0.0/0 and include it if it returns a route entry. Link: http://inbox.dpdk.org/dev/[email protected]/ Signed-off-by: Robin Jarry <[email protected]>
- Loading branch information
Showing
3 changed files
with
50 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,4 @@ | |
#define BR_NO_ROUTE 0 | ||
#define BR_IP4_FIB_NAME "route4" | ||
|
||
struct rte_rcu_qsbr *br_route4_rcu(void); | ||
|
||
#endif |