hns_nic_get_drvinfo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to hns_nic_get_drvinfo(9) β€” yes that's the page, and yes it's from the Kernel API Manual πŸ“–βœ¨. This one's short and sweet, so let's get into it, no cap.


🌸 NAME 🌸

hns_nic_get_drvinfo β€” get net driver info πŸ’…

That's literally the whole name section. Short. Iconic. Periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

void hns_nic_get_drvinfo (struct net_device *net_dev , struct
ethtool_drvinfo *drvinfo );

So it returns void β€” nothing comes back, she just does her thing 🫢 β€” and she takes two arguments. Copy it exactly, bestie, don't be out here retyping the * in the wrong spot 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • net_dev β€” the net device, like, the whole reason we're here 🌈
  • drvinfo β€” the driver info, which is the thing getting filled in πŸ’–

Both pointers. Both required. That's the lineup, and honestly? Chef's kiss. πŸ‘‘


⭐ SEE ALSO ⭐

The source lives in this kernel file, go yell at it if something's weird:

  • ./drivers/net/ethernet/hisilicon/hns/hns_ethtool.c

And here's the whole friend group of related functions β€” every single one of them, in order, exactly as listed, because I would never do you dirty like that 🧚:

Like, that's a whole squad. Genuinely obsessed. πŸ’œ


ngl there's no OPTIONS section here and no exit statuses either β€” this page is exactly what you see, bestie, and the vibe check came back clean ✨

mwah πŸ’‹ that's a wrap! This lil page is brought to you by the source path ./drivers/net/ethernet/hisilic... (yes it's truncated like that in the original, I don't make the rules πŸ™ˆ) and it's dated October 2026 πŸ—“οΈ β€” see you in the group chat, love u, bye! πŸ¦‹πŸŽ€πŸ’–

πŸ“¦ where this page comes from