Hi,
the FIB table implements two reference counters:
/**
* per-source number of locks on the table
*/
u16 *ft_locks;
u32 ft_total_locks;
While trying to add lots of GTP-U tunnels, which creates a new interface
for each tunnel in a FIB table, we have reached the u16 limit very fast.
Our requirement would be in the million range.
Would you be against of changing the per-source ft_locks to u32?
It increases the memory footprint, but I can hardly imagine having
hundreds of thousands of FIB tables. Adding that many entries into a
single, or few FIB tables is a valid case though.
If you agree, I can create a pull request.
Thanks,
Miklos
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14925): https://lists.fd.io/g/vpp-dev/message/14925
Mute This Topic: https://lists.fd.io/mt/68831062/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-