ksz_alloc_desc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ksz_alloc_desc(9) β€” a Kernel API Manual moment πŸ’…

okay bestie, welcome to the Kernel API Manual page for ksz_alloc_desc(9). That's the header vibe, folded in near the top like a lil name tag, and we are so ready. πŸŽ€


🌸 NAME 🌸

ksz_alloc_desc β€” allocate hardware descriptors. literally that's the name, and it's giving β€œsetup era” energy. ✨

✨ SYNOPSIS ✨

int ksz_alloc_desc (struct dev_info *adapter );

🫢 ARGUMENTS 🫢

  • adapter β€” the adapter information structure, aka the struct dev_info * bestie that carries the adapter deets. πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

This local function allocates hardware descriptors for receiving and transmitting. no cap, it's handling both directions of the descriptor situation. πŸ¦‹

It returns 0 if successful β€” happy path only, and we love that for it. πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/net/ethernet/micrel/ksz884x.c β€” here's the full SEE ALSO lineup, every single one, because we do not skip the boring parts in this group chat. πŸ’…

🧚 the structs

  • struct ksz_hw_desc(9)
  • struct ksz_sw_desc(9)
  • struct ksz_dma_buf(9)
  • struct ksz_desc(9)
  • struct ksz_desc_info(9)
  • struct ksz_mac_table(9)
  • struct ksz_vlan_table(9)
  • struct ksz_port_mib(9)
  • struct ksz_port_cfg(9)
  • struct ksz_switch(9)
  • struct ksz_port_info(9)
  • struct ksz_hw(9)
  • struct ksz_port(9)
  • struct ksz_timer_info(9)
  • struct ksz_shared_mem(9)
  • struct ksz_counter_info(9)
  • struct dev_info(9)
  • struct dev_priv(9)

πŸ”₯ the functions


okay that's the whole page πŸ’– huge shoutout to the source/version footer: from ./drivers/net/ethernet/micrel, dated October 2026. byeee bestie β€” go allocate those descriptors and slay! πŸŽ€βœ¨

πŸ“¦ where this page comes from