Skip to content

bump v6 lpm size#268

Merged
rcgoodfellow merged 1 commit into
mainfrom
ry/bump-v6-lpm-table-size
May 11, 2026
Merged

bump v6 lpm size#268
rcgoodfellow merged 1 commit into
mainfrom
ry/bump-v6-lpm-table-size

Conversation

@rcgoodfellow
Copy link
Copy Markdown
Contributor

@rcgoodfellow rcgoodfellow commented May 10, 2026

Brings the V6 routing tables up to 8291 entries, in line with V4 routing tables.

Something to note is that Ingress.l3_router.Router6.lookup_idx.lookup is now split across 3 stages.

@rcgoodfellow rcgoodfellow force-pushed the ry/bump-v6-lpm-table-size branch from 257557f to 4e43a6c Compare May 10, 2026 06:07
@rcgoodfellow rcgoodfellow marked this pull request as ready for review May 10, 2026 06:23
Copy link
Copy Markdown
Contributor

@zeeshanlakhani zeeshanlakhani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something to note is that Ingress.l3_router.Router6.lookup_idx.lookup is now split across 3 stages.

With this additional splitting of stages and size jump in general, do we expect any ramifications with other types of workloads? Otherwise, totally get the need for this bump given the issue. @Nieuwejaar chiming in would be good too.

Comment thread dpd/p4/constants.p4
const int IPV6_NAT_TABLE_SIZE = 1024; // nat routing table
const int IPV4_LPM_SIZE = 8192; // ipv4 forwarding table
#ifdef MULTICAST
const int IPV6_LPM_SIZE = 1024; // ipv6 forwarding table
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: obviously we'll have to update this for mcast (whether we keep the feature on or off, as it shouldn't affect everything else), but maybe putting a TODO here would help?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rcgoodfellow
Copy link
Copy Markdown
Contributor Author

With this additional splitting of stages and size jump in general, do we expect any ramifications with other types of workloads?

In theory no. In practice we need to run our QA suite over this across a set of ASICs in the lab.

@AlejandroME AlejandroME added this to the 19 milestone May 11, 2026
@rcgoodfellow rcgoodfellow merged commit 187aee7 into main May 11, 2026
6 checks passed
@rcgoodfellow rcgoodfellow deleted the ry/bump-v6-lpm-table-size branch May 11, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants