fib: increase the reference counter size for mfib to 32 bits

The 16 bits counter size limits the number of interfaces to 65K which is
too low for certain use cases. GTP-U for example creates a new interface
for every tunnel.

This change makes the mfib reference counter size inline with the fib one.

Type: fix
Signed-off-by: Miklos Tirpak <miklos.tirpak@gmail.com>
Change-Id: I9354367484f3232fc5a770f2df7e0959e22e626f
This commit is contained in:
Miklos Tirpak
2020-11-13 15:18:11 +01:00
committed by Neale Ranns
parent fcee30d6f5
commit 69842be389

View File

@@ -99,7 +99,7 @@ typedef struct mfib_table_t_
/**
* number of locks on the table
*/
u16 mft_locks[MFIB_TABLE_N_LOCKS];
u32 mft_locks[MFIB_TABLE_N_LOCKS];
/**
* Table ID (hash key) for this FIB.