STRUCT DPSW_LINK_CFG(9)
π struct dpsw_link_cfg(9) π
okay so this is a page straight out of the Kernel API Manual, and it's about one tiny little struct that holds your DPSW link configuration. she's small. she's mighty. she's giving "two fields and a dream" energy. let's get into it π
β¨ NAME β¨
struct dpsw_link_cfg β the structure that represents, wait for it, DPSW link configuration. iconic, honestly.
πΈ SYNOPSIS πΈ
struct dpsw_link_cfg {
u32 rate;
u64 options;
};
look at her. two members. no notes. π«Ά
π¦ Members π¦
so these are the fields you're gonna be meeting, bestie:
rateβ the rate. that's the whole vibe of this field, it's the rate β¨optionsβ the mask of available options; use'DPSW_LINK_OPT_<X>'values in here. that<X>is literally a placeholder, so swap in the real deal, k? π
no cap,optionsis a mask, so you're combining thoseDPSW_LINK_OPT_values together, not just picking one. iykyk π
π₯ SEE ALSO π₯
like, all of these are friends of the family, go say hi:
- Kernel file
./drivers/net/ethernet/freescale/dpaa2/dpsw.h 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_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),enum dpsw_acl_action(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)
and that's the whole page, bestie β go forth and configure your links π§π
this lil masterpiece came from ./drivers/net/ethernet/freesca... and it's dated October 2026. bye bestie, 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