Skip to content

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

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

zeeshanlakhani wants to merge 1 commit 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.

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.
Comment thread Cargo.toml
octocrab = "0.53"
libnet = { git = "https://github.com/oxidecomputer/netadm-sys", branch = "main" }
p4rs = { git = "https://github.com/oxidecomputer/p4", branch = "main" }
p4rs = { git = "https://github.com/oxidecomputer/p4", branch = "zl/upsert-table-entries" }

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.

TODO: Point back to main after oxidecomputer/p4#282 gets in.

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