diff options
author | Benoît Ganne <bganne@cisco.com> | 2024-04-05 09:45:29 +0200 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2024-07-12 03:09:58 +0000 |
commit | 23c489660b5952a50ff1bb94c9151e6b1b08b346 (patch) | |
tree | 87a016973a3d979f4ec39652ba7c38ddb18ddd4d /src/vnet/ip/punt_node.c | |
parent | ff570d3d07ebe07a5107b44d50c54fc4a57359dc (diff) |
fib: improve ipv6 fib scaling
VPP IPv6 FIB relies on 2 bihash for all its VRFs: 1 for control plane
and one for data plane. Because of that, control plane VRF walks
time grows with the number of VRFs as it has to go through all the VRFs.
In order to improve control plane performance with large number of VRFs,
the control plane data structure is changed from a global bihash to a
per-VRF hashtable, similarly to IPv4. Contrary to IPv4, there is only 1
hashtable per VRF and not 1 hashtable per prefix-length per VRF, which
is a compromise between memory consumption and single VRF scaling.
Type: improvement
Change-Id: Ib738a44adb88e46c95c4c62c853ee1f1392c7187
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/ip/punt_node.c')
0 files changed, 0 insertions, 0 deletions