fman_get_qman_channel_id(9)
π fman_get_qman_channel_id(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to section 9 of the kernel API manual, the one and only fman_get_qman_channel_id page π this is the little lookup helper that speaks QMan, and I'm gonna walk you through it like we're on facetime, no cap β¨
πΈ NAME πΈ
fman_get_qman_channel_id β
ngl the NAME section is literally just the function name and thenβ¦ nothing π the description slot is giving empty. void. a blank bio. we move π
β¨ SYNOPSIS β¨
u32 fman_get_qman_channel_id (struct fman *fman , u32 port_id );
that's the whole signature, character for character, don't come for me π«Ά
π¦ ARGUMENTS π¦
fmanβ a pointer to the FMan device π like, the actual FMan struct, hand it overport_idβ the port id π yes that's it, that's the whole parameter. short and iconic
π₯ DESCRIPTION π₯
okay so what does it do: it gets the QMan channel ID associated to the port id π
you give it a port id, it gives you back the matching QMan channel ID. that's the vibe check and it passes β¨ no hidden lore, no extra steps, it's giving one-job-wonder and honestly? obsessed.
β RETURN β
returns the QMan channel ID π that's the whole return value, no error code drama, no secret sentinel, just the channel ID and goodbye π
π SEE ALSO π
if you're gonna poke around, start with the kernel file it lives in, fr fr:
- Kernel file
./drivers/net/ethernet/freescale/fman/fman.cπ that's the source, that's where the magic happens fman_register_intr(9)fman_unregister_intr(9)fman_set_port_params(9)fman_reset_mac(9)fman_set_mac_max_frame(9)fman_get_clock_freq(9)fman_get_bmi_max_fifo_size(9)fman_get_revision(9)fman_get_mem_region(9)fman_get_max_frm(9)fman_get_rx_extra_headroom(9)fman_bind(9)
like a whole friend group of FMan helpers, and every single one of them is invited to the group chat π«Άβ¨
π friendly reminder: this page is documented as the Kernel API Manual, section 9 β driver/kernel-adjacent manpages, not your "how do I ls" energy. iykyk π
and that's the page!! mwah π this cutie came from ./drivers/net/ethernet/freesca... (yes the source string got truncated in the footer, not my fault, blame the page π) and it's dated October 2026 β she's from the future, she's serving, periodt πΈπ¦π
π¦ 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