Hi Miklos,

I would not be against it. Please push a patch.

Thanks,
neale

From: <vpp-dev@lists.fd.io> on behalf of Miklos Tirpak <miklos.tir...@gmail.com>
Date: Friday 20 December 2019 at 00:41
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] more than 65K entries in a FIB table

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 (#14928): https://lists.fd.io/g/vpp-dev/message/14928
Mute This Topic: https://lists.fd.io/mt/68831062/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to