Skip to content

Implement clear for the softnpu ASIC. #130

@rcgoodfellow

Description

@rcgoodfellow

The dpd daemon expects that it can clear ASIC table state at startup. However, the softnpu TableOps implementation does not implement this:

fn clear(&self, _hdl: &Handle) -> AsicResult<()> {
//TODO implement in softnpu
Ok(())
}

This can lead to unpredictable behavior as noted in oxidecomputer/maghemite#545.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions