Skip to content

Commit

Permalink
An LPM similar to 'a path-compressed trie' is implemented for VRF
Browse files Browse the repository at this point in the history
- Added 2 classes VrfLpm4BinaryTree and VrfLpm6BinaryTree.
- Globalbase switched to usage these classes instead of VrfLpmLinear.
  • Loading branch information
stal76 committed Sep 8, 2024
1 parent 09605f2 commit c1aa73b
Show file tree
Hide file tree
Showing 3 changed files with 1,021 additions and 13 deletions.
4 changes: 2 additions & 2 deletions dataplane/globalbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ class atomic
class generation
{
public:
using vrf_lpm4 = dataplane::vrflpm::VrfLpm4Linear;
using vrf_lpm6 = dataplane::vrflpm::VrfLpm6Linear;
using vrf_lpm4 = dataplane::vrflpm::VrfLpm4BinaryTree;
using vrf_lpm6 = dataplane::vrflpm::VrfLpm6BinaryTree;

generation(cDataPlane* dataPlane, const tSocketId& socketId);
~generation();
Expand Down
Loading

0 comments on commit c1aa73b

Please sign in to comment.