dpsw_acl_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ dpsw_acl_add β€” Kernel API Manual ✨

okay so bestie, welcome to the dpsw_acl_add(9) glow-up πŸ’… this little cutie lives in the Kernel API Manual section and it's literally the function that spins up a new ACL table for you. no cap, she's a whole vibe. πŸ¦‹


🌸 NAME 🌸

dpsw_acl_add β€” create an ACL table ✨


πŸŽ€ SYNOPSIS πŸŽ€

int dpsw_acl_add (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token ,
u16 *acl_id , const struct dpsw_acl_cfg *cfg );

copy that exactly as-is, bestie, i am not about to let you typo a kernel signature πŸ™ˆ


πŸ’– ARGUMENTS πŸ’–

  • mc_io β€” pointer to the MC portal's I/O object 🫢 this is the whole "where am i talking to the hardware" situation.
  • cmd_flags β€” command flags; one or more of 'MC_CMD_FLAG_' ⭐ so like, pick your faves from that set.
  • token β€” the token of the DPSW object πŸ‘‘ your VIP pass to the right switch, iykyk.
  • acl_id β€” the returned ACL ID πŸ’« it gets handed back to you so you can reference this ACL later, main character energy only.
  • cfg β€” ACL configuration πŸŽ€ all the settings, your little ACL blueprint.

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she actually do? she creates an Access Control List table, periodt. πŸ’…

and the iconic part: multiple ACLs can be created and coexist in the L2 switch 🌈 like, more than one, all living together, no drama. it's giving community. it's giving harmony. it's giving L2 switch realness ✨


⭐ RETURN ⭐

ngl bestie, this section is literally empty in the original β€” no return values listed here at all πŸ’€ so i'm not gonna invent any for you. i said what i said. πŸ€·β€β™€οΈ


πŸ”₯ SEE ALSO πŸ”₯

here's the whole friend group 🫢 the kernel file lives at ./drivers/net/ethernet/freescale/dpaa2/dpsw.c and honestly she knows everyone:


ok that's a LOT of friends but like, every single one of them is real and i did not skip anybody, i promise on my life πŸ’œ

and that's the whole page, bestie!! πŸŽ€ source path rounds out to ./drivers/net/ethernet/freesca... and the date stamp is October 2026 ⭐ go forth and create those ACL tables, you absolute icon πŸ‘‘πŸ’–

πŸ“¦ where this page comes from