get_base_qpn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ get_base_qpn πŸ’…

okay bestie, welcome to the get_base_qpn page from the Kernel API Manual β€” yes that's manual section 9, kernel API, we love a niche corner of the docs πŸŽ€


🌸 NAME 🌸

get_base_qpn β€” literally just grabs the first qp number for you, no cap πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

int get_base_qpn (struct hinic_hwdev *hwdev , u16 *base_qpn );

✨ ARGUMENTS ✨

  • hwdev β€” the NIC HW device, aka the whole hardware situation you're working with 🫢
  • base_qpn β€” the qp number that gets returned to you, it's an output, she's giving results πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

Return 0 for Success, and negative for Failure. that's it, that's the whole vibe check 😭 zero means slay, negative means uh oh πŸ’€

ngl bestie, the manpage is not gonna hold your hand here β€” it says exactly this and nothing more, so don't come for me about extra details πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives right here, iconic: ./drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c πŸ“

and the whole friend group of related functions, all in section 9, all matching this energy πŸ‘‘:


okay that's the whole page bestie, go get that qp number πŸ§šπŸ’«

source/version: ./drivers/net/ethernet/huawei/... β€” dated October 2026 β€” and it's still get_base_qpn(9) at the end, periodt 🌈⭐

πŸ“¦ where this page comes from