dpsw_ctrl_if_set_queue(9)
π dpsw_ctrl_if_set_queue(9) β from the Kernel API Manual, bestie π
okay so this is a page out of the Kernel API Manual and it's all about one function that sets up your Rx queue configuration. small page, big vibes, let's go β¨
β¨ NAME β¨
dpsw_ctrl_if_set_queue β literally sets the Rx queue configuration π¦
π¦ SYNOPSIS π¦
int dpsw_ctrl_if_set_queue (struct fsl_mc_io *mc_io , u32 cmd_flags ,
u16 token , enum dpsw_queue_type qtype , const struct
dpsw_ctrl_if_queue_cfg *cfg );
π ARGUMENTS π
okay so here's who's showing up to this function call:
mc_ioβ pointer to the MC portal's I/O object π«Ά this is the portal bestie, the connection pointcmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'β yes it really is spelled with that trailing underscore, don't come for metokenβ token ofdpswobject π that's your DPSW's little IDqtypeβdpsw_queue_typeof the targeted queue π like, which queue we're aiming atcfgβ Rx queue configuration πΈ the actual configuration goods
π₯ RETURN π₯
ngl the original page gives us nothing here β this section is genuinely empty on the manpage, so no return values, no error codes, no commentary. it's giving mystery, it's giving "figure it out", and I'm not about to invent lore that isn't there π what you see is what you get, periodt.
π SEE ALSO π
first up, the kernel file this bad boy lives in:
./drivers/net/ethernet/freescale/dpaa2/dpsw.cπ
and now the whole friend group, in the order the page lists them:
- the core ops π§ β
dpsw_open(9),dpsw_close(9),dpsw_enable(9),dpsw_disable(9),dpsw_reset(9),dpsw_set_irq_enable(9),dpsw_set_irq_mask(9),dpsw_get_irq_status(9),dpsw_clear_irq_status(9),dpsw_get_attributes(9) - the interface squad π β
dpsw_if_set_link_cfg(9),dpsw_if_get_link_state(9),dpsw_if_set_tci(9),dpsw_if_get_tci(9),dpsw_if_set_stp(9),dpsw_if_get_counter(9),dpsw_if_enable(9),dpsw_if_disable(9),dpsw_if_get_attributes(9),dpsw_if_set_max_frame_length(9) - the vlan girlies π β
dpsw_vlan_add(9),dpsw_vlan_add_if(9),dpsw_vlan_add_if_untagged(9),dpsw_vlan_remove_if(9),dpsw_vlan_remove_if_untagged(9),dpsw_vlan_remove(9) - the fdb crew πΈ β
dpsw_fdb_add(9),dpsw_fdb_remove(9),dpsw_fdb_add_unicast(9),dpsw_fdb_dump(9),dpsw_fdb_remove_unicast(9),dpsw_fdb_add_multicast(9),dpsw_fdb_remove_multicast(9) - ctrl-if + friends π¦ β
dpsw_ctrl_if_get_attributes(9),dpsw_ctrl_if_set_pools(9),dpsw_get_api_version(9),dpsw_if_get_port_mac_addr(9),dpsw_ctrl_if_enable(9),dpsw_ctrl_if_disable(9),dpsw_set_egress_flood(9),dpsw_if_set_learning_mode(9) - acl, reflection & lag β β
dpsw_acl_add(9),dpsw_acl_remove(9),dpsw_acl_add_if(9),dpsw_acl_remove_if(9),dpsw_acl_prepare_entry_cfg(9),dpsw_acl_add_entry(9),dpsw_acl_remove_entry(9),dpsw_set_reflection_if(9),dpsw_if_add_reflection(9),dpsw_if_remove_reflection(9),dpsw_lag_set(9),dpsw_if_set_lag_state(9)
and that's the whole page, no cap π
the source is the kernel file ./drivers/net/ethernet/freesca... (yes, that's exactly as much as the footer shows us, bestie, we don't get the rest π) and it's dated October 2026 β so mark your calendars, this one's from the future, main character energy fr fr π₯π
π¦ 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