fman_set_mac_max_frame(9)
π fman_set_mac_max_frame(9) π
okay so bestie, we're in the Kernel API Manual β section 9 β and this is the page for fman_set_mac_max_frame. yes it's a long name. no we're not shortening it. it's iconic like that π
β¨ NAME β¨
fman_set_mac_max_frame β literally, the thing that sets the max frame. that's it, that's the name, ngl the original didn't even fill in a description so I'm not gonna invent one π«Ά
π¦ SYNOPSIS π¦
int fman_set_mac_max_frame (struct fman *fman , u8 mac_id , u16 mfl );
so you hand it a fman, a mac_id, an mfl, and you get back an int. and yes the spacing is that exact spacing, don't come at me, I copied it verbatim because that's the whole vibe β¨
πΈ ARGUMENTS πΈ
fmanβ a pointer to the FMan device π that's the big one, your main character struct.mac_idβ the MAC id π theu8one. you know the one.mflβ maximum frame length. that's what mfl stands for, and no, I'm not gatekeeping that π
π₯ DESCRIPTION π₯
okay so real talk: this sets the maximum frame length of a specific MAC in the FMan driver. like, one MAC. the one you point at with mac_id. not all of them. the specific one. it's giving targeted, focused, main character energy π
this is a <9> section manpage friend, so it's kernel API, so be cute but be careful β it's not a userspace toy π§
β RETURN β
0β slay π success, we ate.- Error code β literally anything else means something went wrong. the page doesn't say which one, so I'm not about to make one up, that would be lying and lying is not the vibe π
π SEE ALSO π
the kernel file, in all its glory:
./drivers/net/ethernet/freescale/fman/fman.c
and the whole friend group π β they all show up together, no cap:
fman_register_intr(9)fman_unregister_intr(9)fman_set_port_params(9)fman_reset_mac(9)fman_get_clock_freq(9)fman_get_bmi_max_fifo_size(9)fman_get_revision(9)fman_get_qman_channel_id(9)fman_get_mem_region(9)fman_get_max_frm(9)fman_get_rx_extra_headroom(9)fman_bind(9)
iykyk β if you're here you're already deep in the FMan driver, and honestly? obsessed π¦
and that's the page, bestie!! π this lil gem lives at ./drivers/net/ethernet/freesca..., dated October 2026, and yes it signs off the way it came in β fman_set_mac_max_frame(9) β 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