From 4a94cd26efbb37b01085b99e0de29d4b4cbfe234 Mon Sep 17 00:00:00 2001 From: Miklos Tirpak Date: Fri, 20 Dec 2019 11:55:43 +0100 Subject: fib: use 32 bits per-source reference counter The 16 bits reference counter limited the number of interfaces per FIB table to 65K from a given source. Some use cases, for example GTP-U tunnels require much more interfaces than that. This change increases the size of the reference counter to 32 bits. Type: fix Signed-off-by: Miklos Tirpak Change-Id: I944a98513018840f904f2808c2a1e963b37886cc --- src/vnet/fib/fib_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/fib/fib_table.h') diff --git a/src/vnet/fib/fib_table.h b/src/vnet/fib/fib_table.h index a11f0560338..7f18188bdb3 100644 --- a/src/vnet/fib/fib_table.h +++ b/src/vnet/fib/fib_table.h @@ -83,7 +83,7 @@ typedef struct fib_table_t_ /** * per-source number of locks on the table */ - u16 *ft_locks; + u32 *ft_locks; u32 ft_total_locks; /** -- cgit 1.2.3-korg