diff options
author | Amit Cohen <[email protected]> | 2021-12-14 16:25:44 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-12-15 15:05:43 +0000 |
commit | e846efe2737b25a5c0a75b0995eb9ac084c87f5c (patch) | |
tree | c238d8b41f2ce637b47d820e8caf72601509dbaa /tools/perf/scripts/python/compaction-times.py | |
parent | f71f1bcbd87ff7274ac6fb5ace454178dc5246f6 (diff) |
mlxsw: spectrum: Add hash table for IPv6 address mapping
The device supports forwarding entries such as routes and FDBs that
perform tunnel (e.g., VXLAN, IP-in-IP) encapsulation or decapsulation.
When the underlay is IPv6, these entries do not encode the 128 bit IPv6
address used for encapsulation / decapsulation. Instead, these entries
encode a 24 bit pointer to an array called KVDL where the IPv6 address
is stored.
Currently, only IP-in-IP with IPv6 underlay is supported, but subsequent
patches will add support for VxLAN with IPv6 underlay. To avoid
duplicating the logic required to store and retrieve these IPv6
addresses, introduce a hash table that will store the mapping between
IPv6 addresses and their KVDL index.
Signed-off-by: Amit Cohen <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions