For the record: As mentioned into the mailing-list , adding "options RADIX_MPATH" doesn't allow any more to use ECMP.
The new ip_tryforward (like the previous fastforward) didn't support ECMP: a FreeBSD router sticks to its first route entry and never try the second entry.
Created attachment 206809 [details]
@Olivier I assume this is still an issue in stable/11,12 and CURRENT, can you confirm?
^Triage: Attach patch from Ermal (eri@) on the mailing list thread, which may (likely?) need a re-base against latest CURRENT
Add ae@ to CC as they mentioned some code would need to be written (which was), in case they can assist with review
(In reply to Kubilay Kocak from comment #1)
Yes this is still in issue on stable/11/12/current.
Created attachment 208751 [details]
add radix_mpath.h back
IPSEC policy or set sendredirect to "1" would disable tryforward(). Then the packet will fall into the slowpath. AKA. normal ip_input process. But ip_input.c missed some .h files, eg. radix_mpath.h, then ECMP is broken.
Set sendredirect to "1" is not a good idea for a router, so I add "fastforwarding" back. Now you can set it to "0" to disable fastpath.
The attached patch I've tested on FB12-stable r354079 is passed.