21/04/2020 17:44, Medvedkin, Vladimir:
> Hi Yangchao,
>
> Thanks for the patch.
> This might be useful for control plane implementations that don't track
> inserted routes.
> I have just a one nit inlined below. Also, could you do the same for lpm6?
>
> P.S. Please have a look at rte_fib library
Hi Yangchao,
Thanks for the patch.
This might be useful for control plane implementations that don't track
inserted routes.
I have just a one nit inlined below. Also, could you do the same for lpm6?
P.S. Please have a look at rte_fib library, there are more optimizations
compared to lpm libra
Table entries do not need to be updated if the same rules can be found.
Signed-off-by: Yangchao Zhou
---
v1-v2: Skip updating when the next hop is the same as the current one
v2-v4: Coding style fix
---
lib/librte_lpm/rte_lpm.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/lib/lib
3 matches
Mail list logo