Since the kernel options ROUTE_MPATH and FIB_ALGO are enabled
per default for a while, it's good to have some use facing
documetation about the general functionality of multipath
routing and fib lookup algorithms.
Details
- Reviewers
melifaro pauamma_gundo.com - Group Reviewers
manpages - Commits
- rG2ebf1ef8825f: route.8: Fix mandoc warnings
rG49a096e889c4: route.8: Add information about ROUTE_MPATH and FIB_ALGO
rGca1b471b50ee: route.8: Fix mandoc warnings
rGafca4c000b72: route.8: Add information about ROUTE_MPATH and FIB_ALGO
rG6dbfbe6e11a0: route.8: Fix mandoc warnings
rGb06338167d64: route.8: Add information about ROUTE_MPATH and FIB_ALGO
mandoc output review and 'mandoc -Tlint' checks
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sbin/route/route.8 | ||
---|---|---|
137 | Maybe as a separate commit that fixes 9ec35e3cb46dd6268f3f6e88a8f33841dd4fa2b7 ? |
Address comments
sbin/route/route.8 | ||
---|---|---|
137 | Good catch, there are some more mandoc warnings I will address in a separate commit, once this differential has landed. | |
418 | I am not sure braces would make sense here. I would leave it like it is. | |
420 | I am not sure braces would make sense here. I would leave it like it is. | |
537 | There are also some mandoc warnings I would like to address, I remove that reference with them, but in a separate commit. |
First of all, thank you for taking care of documenting this type of changes!
I believe we almost forgot about DXR, something along the lines that it can be loaded with fib_dxr.ko.
Unfortunately, the best documentation I could find in base is in the code itself (and in the diff before it landed).
OK, that's interesting. I just look on a very recent stable/13 and there is the module not present. On a -CURRENT from yesterday it is. When loading the module a DXR algorithm is available for IPv4 in terms of
net.route.algo.inet.algo_list: dpdk_lpm4, bsearch4, radix4_lockless, radix4, dxr}
@melifaro can you give us a little bit more insight here?
Sorry for being late for the party, folks :-)
Thank you for improving route(8).
I have a couple of items in my queue for doing routing(4), routing(9) and nhop(9) for quite some time, but haven't worked on that a lot.
Meanwhile documenting some of the stuff here is awesome, thank you one again!
I have also confirmed it is present on 13.2-BETA3.
It is essentially another IPv4 lookup scheme developed by zec@ and luigi@ more info in the 2012 published paper, and the Phabricator review D-29821, designed as an alternative to using ASICs, targeting high-end routers.
I have not been able to test it, maybe olivier@ ?, but I think the idea here is to just mention its existence.
(Intentionally not tagging users/reviewers)
Just to note that @zec has committed 32b28e3ae28f4d48520ada6ca703b508da8761a7, with a very nice description about DXR.