hfi1_netdev_remove_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so you're on the Kernel API Manual page for hfi1_netdev_remove_data(9), and she is lowkey iconic for doing exactly one job very well πŸ’…

✨ NAME ✨

hfi1_netdev_remove_data β€” removes the data tied to an id you previously gave it, then returns the reference to the removed entry. no cap, that's the whole vibe: remove the data, hand back the entry ref 🫢

🌸 SYNOPSIS 🌸

void * hfi1_netdev_remove_data (struct hfi1_devdata *dd , int id );

πŸŽ€ ARGUMENTS πŸŽ€

  • dd β€” hfi1 dev data. that's the dev data bestie, keep it close πŸ’–
  • id β€” requested integer id up to INT_MAX. yes, that exact requested integer id, capped at INT_MAX ✨

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./drivers/infiniband/hw/hfi1/netdev_rx.c, and the whole friend group is right here:

xoxo, your girl from ./drivers/infiniband/hw/hfi1, signing off from October 2026 β€” slay and read your kernel docs πŸ’œβœ¨

πŸ“¦ where this page comes from