Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Implement `clear` for the softnpu ASIC.

Open
#130 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
rust
Domain
networking

Research direction

Start in asic/src/softnpu/table.rs at the TableOps implementation around lines 104–107 and determine how clear is expected to reset ASIC table state. Check how the dpd daemon invokes clearing at startup, then verify that the softnpu implementation leaves the tables clear and avoids the unpredictable behavior described in oxidecomputer/maghemite#545.

Written by the indexing model from the issue text.

Description

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

https://github.com/oxidecomputer/dendrite/blob/2daa552f898b637fc0d335869fe14bfded1e51ce/asic/src/softnpu/table.rs#L104-L107

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

Dominant language
Rust
Stars
21
Forks
3
Avg merge
10h 45m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from oxidecomputer/dendrite

All issues in oxidecomputer/dendrite

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.