aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiklos Tirpak <miklos.tirpak@gmail.com>2020-11-13 15:18:11 +0100
committerNeale Ranns <nranns@cisco.com>2020-11-16 09:57:52 +0000
commit69842be389f8a14825e5a4145506b41de39a9d78 (patch)
tree4f9aa4c554540fd64d65314478f000158a4f1bb5 /src
parentfcee30d6f522db4f54f9de69d4efd7449eeeae03 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/vnet/mfib/mfib_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/mfib/mfib_table.h b/src/vnet/mfib/mfib_table.h
index d6b6dc3845d..9a682b53a67 100644
--- a/src/vnet/mfib/mfib_table.h
+++ b/src/vnet/mfib/mfib_table.h
@@ -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.