dpsw_acl_add_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpsw_acl_add_entry β€” Kernel API Manual, section 9 ✨

bestie, welcome to the dpsw_acl_add_entry(9) page from the Kernel API Manual. it’s giving kernel-API main character energy, and we are keeping every detail, no cap. not me being obsessed with a manpage, but here we are. πŸ’–


🌸 NAME 🌸

dpsw_acl_add_entry β€” Add a rule to the ACL table.

okay so the whole vibe is literally: this function adds a rule to the ACL table. periodt. πŸ’…

✨ SYNOPSIS ✨

the signature ate, honestly β€” here it is exactly:

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

πŸŽ€ ARGUMENTS πŸŽ€

  • mc_io β€” Pointer to MC portal's I/O object.
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'.
  • token β€” Token of DPSW object.
  • acl_id β€” ACL ID.
  • cfg β€” Entry configuration.

these little guys are the whole argument lineup, bestie β€” vibe check complete. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

warning: This function has to be called after dpsw_acl_prepare_entry_cfg.

like, do not call dpsw_acl_add_entry before dpsw_acl_prepare_entry_cfg β€” the page says it has to be after, and that’s the tea. iykyk. 🫢

🌸 RETURN 🌸

ngl, the RETURN section is literally empty on this page β€” there are no return value details listed, so we are not making any up, fr fr. πŸ’€

🌈 SEE ALSO 🌈

the kernel file is ./drivers/net/ethernet/freescale/dpaa2/dpsw.c, and lowkey this whole squad is in order:

okay that’s the whole page, bestie β€” the source/version footer is ./drivers/net/ethernet/freesca... and the date is October 2026, so dpsw_acl_add_entry(9) gets the final sparkle. πŸŽ€βœ¨

πŸ“¦ where this page comes from