ENUM DPSW_ACL_ACTION(9)
π enum dpsw_acl_action(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to the Kernel API Manual page for enum dpsw_acl_action(9) β¨ this is the whole vibe of "what do we even DO when an ACL rule matches?" and honestly it's such a mood. let's get into it π«Ά
πΈ NAME
enum dpsw_acl_action β the action to be run on the ACL rule match π like, once your rule hits, this is the thing that decides what happens next. main character decision energy fr fr.
β¨ SYNOPSIS β¨
here's the actual enum, copied exactly, no cap:
enum dpsw_acl_action {
DPSW_ACL_ACTION_DROP ,
DPSW_ACL_ACTION_REDIRECT ,
DPSW_ACL_ACTION_ACCEPT ,
DPSW_ACL_ACTION_REDIRECT_TO_CTRL_IF
};
look at her. four constants. four whole personalities π
π Constants π
okay so here's the lineup, each one with its whole little job:
DPSW_ACL_ACTION_DROPβ drop the frame ποΈ it's giving "we don't know her". frame does not pass go, frame does not collect $200.DPSW_ACL_ACTION_REDIRECTβ redirect to a certain port π¦ send it somewhere specific instead of where it was headed.DPSW_ACL_ACTION_ACCEPTβ accept the frame β let her through, she's valid.DPSW_ACL_ACTION_REDIRECT_TO_CTRL_IFβ redirect to the control interface π₯ off she goes to the ctrl interface instead.
ngl this is the whole enum, there's no secret fifth option hiding in the back. four. that's the post. π
π SEE ALSO
the kernel file lives at ./drivers/net/ethernet/freescale/dpaa2/dpsw.h π and here's the whole extended friend group, every single one, in order, periodt:
DPSW_OPT_FLOODING_DIS(9)DPSW_OPT_MULTICAST_DIS(9)DPSW_OPT_CTRL_IF_DIS(9)enum dpsw_component_type(9)enum dpsw_flooding_cfg(9)enum dpsw_broadcast_cfg(9)DPSW_IRQ_EVENT_LINK_CHANGED(9)DPSW_IRQ_EVENT_ENDPOINT_CHANGED(9)struct dpsw_irq_cfg(9)struct dpsw_attr(9)struct dpsw_ctrl_if_attr(9)struct dpsw_ctrl_if_pools_cfg(9)enum dpsw_action(9)struct dpsw_link_cfg(9)struct dpsw_link_state(9)struct dpsw_tci_cfg(9)enum dpsw_stp_state(9)struct dpsw_stp_cfg(9)enum dpsw_accepted_frames(9)enum dpsw_counter(9)struct dpsw_if_attr(9)struct dpsw_vlan_cfg(9)struct dpsw_vlan_if_cfg(9)enum dpsw_fdb_entry_type(9)struct dpsw_fdb_unicast_cfg(9)struct fdb_dump_entry(9)struct dpsw_fdb_multicast_cfg(9)enum dpsw_learning_mode(9)struct dpsw_fdb_attr(9)struct dpsw_fdb_cfg(9)enum dpsw_flood_type(9)struct dpsw_acl_cfg(9)struct dpsw_acl_if_cfg(9)struct dpsw_acl_fields(9)struct dpsw_acl_key(9)struct dpsw_acl_result(9)struct dpsw_acl_entry_cfg(9)enum dpsw_reflection_filter(9)struct dpsw_reflection_cfg(9)struct dpsw_lag_cfg(9)
π that's the whole page bestie, every constant, every reference, nothing skipped. go read dpsw.h if you want the deep lore π§
kay bye, this page came from ./drivers/net/ethernet/freescale/dpaa2/dpsw.h and it's dated October 2026 β love that for us. mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms