Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions lib/propolis/src/hw/virtio/softnpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,17 @@ fn handle_management_message(
};
pl.1.remove_table_entry(&tm.table, &tm.keyset_data);
}
ManagementRequest::TableClear(tc) => {
let mut pl_opt = pipeline.lock().unwrap();
let pl = match &mut *pl_opt {
Some(pl) => pl,
None => return,
};

if !pl.1.clear_table_entries(&tc.table) {
warn!(log, "table clear: unknown table {}", tc.table);
}
}
ManagementRequest::RadixRequest => {
// the data is being sent back as ascii text because this is the
// simplest way for the guest tty device to handle the data. control
Expand Down
Loading