ENUM DPNI_ERROR_ACTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum dpni_error_action(9) πŸ’…

okay so bestie, we're in the Kernel API Manual rn and this page is literally about one tiny enum that decides what happens when a frame has a bad day. it's giving "small but powerful" and i'm obsessed ✨


🌸 NAME 🌸

enum dpni_error_action β€” ngl this one's pretty self-explanatory: it defines DPNI behavior for errors. that's it, that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

enum dpni_error_action {
    DPNI_ERROR_ACTION_DISCARD ,
    DPNI_ERROR_ACTION_CONTINUE ,
    DPNI_ERROR_ACTION_SEND_TO_ERROR_QUEUE

};

look at her. three little constants. main character energy fr πŸ‘‘


πŸ¦‹ Constants πŸ¦‹

  • DPNI_ERROR_ACTION_DISCARD β€” discard the frame. bye bestie, you're not coming to the party πŸ™ˆ
  • DPNI_ERROR_ACTION_CONTINUE β€” continue with the normal flow. nothing to see here, everything's fine, keep it moving πŸ’…
  • DPNI_ERROR_ACTION_SEND_TO_ERROR_QUEUE β€” send the frame to the error queue. not a drop, just a little timeout in the naughty corner πŸ’€

πŸ’– SEE ALSO πŸ’–

first up, the source file itself, no cap:

  • Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.h

and then the whole friend group β€” every single one, in order, because i don't play favorites 🫢

like, that's a lot of cross-references. go read them, i'll wait πŸ’œ

anyway bestie, that's the whole page!! sourced straight from ./drivers/net/ethernet/freesca... and dated October 2026 β€” so you know it's fresh ✨ mwah, go ship something iconic πŸ§šβ€β™€οΈπŸŽ€πŸŒˆ

πŸ“¦ where this page comes from