Skip to content

[p4rs, codegen] Pipeline::clear_table_entries, + helios CI bump - #278

Open
zeeshanlakhani wants to merge 1 commit into
mainfrom
zl/clear-table-ents
Open

zeeshanlakhani wants to merge 1 commit into
mainfrom
zl/clear-table-ents

Conversation

@zeeshanlakhani

Copy link
Copy Markdown
Contributor

When dpd restarts against a running softnpu pipeline, previous table entries persist, even though the daemon does not know what the keys are. Pipeline had support for add/remove by key and a dump command, but there was no generic way to empty tables.

This work adds a clear_table_entries(table_id) to the trait. In codegen, we now emit a clear_<qtfn>_entries per table alongside the add/remove/get ones.

With this change in place, softnpu can use it for a write-only TableClear management message, so that dendrite's SoftNPU TableOps::clear can be un-stubbed.

Includes:

  • [ci] s/helios-2.0/helios-3.0/ matching other networking repos.

When dpd restarts against a running softnpu pipeline, previous
table entries persist, even though the daemon does not know
what the keys are. `Pipeline` had support for add/remove
by key and a dump command, but there was no generic way
to empty tables.

This work adds a `clear_table_entries(table_id)` to the trait.
In codegen, we now emit a `clear_<qtfn>_entries` per table alongside
the add/remove/get ones.

With this change in place, softnpu can use it for a write-only
`TableClear` management message, so that dendrite's SoftNPU
`TableOps::clear` can be un-stubbed.

Includes:
- [ci] s/helios-2.0/helios-3.0/ matching other networking
  repos.

This branch has not been deployed

No deployments
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.

1 participant