fman_port_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fman_port_disable(9) β€” from the Kernel API Manual, bestie

okay so we're in the kernel docs, section 9, and this one is literally called fman_port_disable. yes it's a function page. yes it's short. no we're not skipping anything, i promise 🫢


✨ NAME ✨

fman_port_disable β€” and honestly the original page leaves the description blank after the dash, so like… that's it, that's the whole name section. no cap. the function name is the entire vibe πŸ’€


πŸŽ€ SYNOPSIS πŸŽ€

int fman_port_disable (struct fman_port *port );

🌸 ARGUMENTS 🌸

  • port β€” a pointer to a FM Port module. that's the thing you're shutting down, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you've got an FM port and you want it to gracefully stop. that's what this does. gracefully disable an FM port ✨ the port won't start any new tasks once all the tasks associated with it have been terminated.

this is a blocking routine, so heads up β€” it doesn't come back until the port is gracefully stopped. meaning: the port won't accept new frames, but it will finish all the frames or tasks it had already begun. like it's not gonna ghost its current work, it's gonna finish the shift and then clock out 🫑

bestie pls note: this is allowed only after fman_port_init. don't be out here calling it before init, that's not the move πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸ’–
  • an error code otherwise 😭

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/net/ethernet/freescale/fman/fman_port.c β€” go read it, iykyk


alright that's the whole page, you ate that πŸ’… and for the record, this little beauty came out of ./drivers/net/ethernet/freesca... and it's dated October 2026 β€” iconic, we love a timestamped slay ⭐🌈 love u, go disable a port responsibly πŸ§šπŸ’œ

πŸ“¦ where this page comes from