Skip to content

[lib] TableClear mgmt request, p4(rs) #282 - #234

Merged
zeeshanlakhani merged 2 commits into
mainfrom
zl/table-clear
Nov 11, 2026
Merged

zeeshanlakhani merged 2 commits into
mainfrom
zl/table-clear

Conversation

@zeeshanlakhani

Copy link
Copy Markdown
Contributor

Previously, dpd could only clear tracked multicast replication entries in softnpu. The pipeline outlives the dpd process, and any state from earlier runs was not cleared.

Includes:

Note: propolis will drop TableClear requests until softnpu is updated there.

Comment thread Cargo.toml Resolved
zeeshanlakhani added a commit to oxidecomputer/dendrite that referenced this pull request Nov 9, 2026
Note on *deps*:
  - softnpu -> zl/table-clear (oxidecomputer/softnpu#234)
  - p4 -> zl/upsert-table-entries (oxidecomputer/p4#282)
@zeeshanlakhani zeeshanlakhani self-assigned this Nov 9, 2026
Previously, dpd could only clear tracked multicast
replication entries in softnpu. The pipeline outlives the dpd
process, and any state from earlier runs was not cleared.

Includes:

- `TableClear` empties a table under the pipeline
  lock (without a response)
  - unknown table IDs get rejected (and logged by SoftNPU).
- mgmt replies (radix, `DumpRequest`) return the send error
  instead of unwrapping it (SoftNPU logs and continues)
- p4rs pinned to oxidecomputer/p4#282.

Note: propolis will drop `TableClear` requests until
softnpu is updated there.
@zeeshanlakhani
zeeshanlakhani force-pushed the zl/table-clear branch 2 times, most recently from d6a1f03 to 6368760 Compare November 9, 2026 06:41
@zeeshanlakhani
zeeshanlakhani merged commit 42ff234 into main Nov 11, 2026
2 checks passed
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.

2 participants