dpni_add_fs_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_add_fs_entry(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so this is dpni_add_fs_entry(9) from the Kernel API Manual, and it's literally the glow-up your flow steering table has been waiting for. It adds a Flow Steering entry for a specific traffic class (to select a flow ID). That's the whole vibe. ✨


🌸 SYNOPSIS 🌸

int dpni_add_fs_entry (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u8 tc_id , u16 index , const struct dpni_rule_cfg *cfg , const
struct dpni_fs_action_cfg *action );

like, yes, it's a lot of arguments. she's high-maintenance but she delivers. πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • mc_io β€” Pointer to MC portal's I/O object. your little handle to the whole MC portal situation 🫢
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'. pick your faves (one or more, no cap)
  • token β€” Token of DPNI object. it's giving VIP wristband 🎟️
  • tc_id β€” Traffic class selection (0-7). numbers-wise you get 0-7, that's the range, respect it
  • index β€” Location in the FS table where to insert the entry. Only relevant if MASKING is enabled for FS classification on this DPNI, it is ignored for exact match. so if you're on exact match, bestie, this one's just vibing in the background doing nothing πŸ™ˆ
  • cfg β€” Flow steering rule to add. this is the rule itself, the main character 🌟
  • action β€” Action to be taken as result of a classification hit. what happens when the rule goes off πŸ’₯

πŸ’€ RETURN πŸ’€

sooo the original page just... leaves this one blank. no return values documented. not me noticing an empty section 😭 that's literally all the page gives us, so that's all you're getting β€” no invented lore on my watch.


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.c β€” that's where she lives 🏑

and then the whole extended friend group, in order, because we do NOT leave anyone out:


ngl bestie, the one thing to actually clock: index only matters when MASKING is enabled for FS classification on this DPNI β€” it is ignored for exact match. everything else is just passing your args through. no drama. πŸ¦‹

okay that's the page!! source/version situation is ./drivers/net/ethernet/freesca... and it's dated October 2026 β€” so like, future girlie energy ⭐ save it, cite it, live by it. mwah πŸ’œ

πŸ“¦ where this page comes from