Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

dpdk flow API: fix deferred issues from #1880 before the first consumer

Aperta
#1,935 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@daniel-noland ci sta già lavorando.

Dal 18/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

area/dpdk

The typed flow-rule API added in #1880 (dpdk/src/flow/) has three known problems, listed as deferred in that PR's description. Nothing outside the dpdk crate uses the API yet, so none of them affect the dataplane today, but they should be fixed before the first consumer lands.

  1. VLAN push / VID / PCP ordering. mlx5 requires the PCP (and VID) setters to come after OF_PUSH_VLAN in the same action list, but the builder's action rank sort reverses them, so a rule that pushes a VLAN and sets its PCP is rejected. Expose a combined push operation and keep its generated actions together.
  2. Match vs. action typestate. The builder can't distinguish the original matching pattern from the packet shape after mutations, and can't continue into inner VXLAN headers. BlueField-3 tests (DPDK 26.07, dv_flow_en=1, firmware 32.50.1002) show inner matching works before decap, direct inner IPv4 rewriting is rejected, and decap followed by rewriting changes the exposed inner address. The API design for this is still open.
  3. Fallible destruction. A failed explicit FlowRule::destroy loses the handle, and Drop only logs the failure. Decide who keeps failed rules and what the teardown policy is; a local rte_flow_flush would invalidate other live handles on the same port.
Lingua principale
Rust
Stelle
21
Fork
9
Merge medio
3g 21h
PR unite (30g)
87

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di githedgehog/dataplane

Tutte le issue di githedgehog/dataplane

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.