hinic_hwdev_get_sq(9)
β¨ hinic_hwdev_get_sq β the kernel API manual page you didn't know you needed β¨
okay so bestie, welcome to the hinic_hwdev_get_sq(9) page of the Kernel API Manual π
this is a tiny little function page and honestly? it ate. it does exactly one thing and it does it iconically.
π NAME π
hinic_hwdev_get_sq β get SQ. that's it. that's the whole name. short, sweet, main character energy π«Ά
πΈ SYNOPSIS πΈ
struct hinic_sq * hinic_hwdev_get_sq (struct hinic_hwdev *hwdev , int i );
literally the whole signature, no cap. you hand it a hardware device and a position, it hands you back an SQ. π¦
π ARGUMENTS π
hwdevβ the NIC HW device π» this is your network interface card's hardware device struct, the whole vibe check of the operation.iβ the position of the SQ π like which SQ you want out of the lineup, by index.
β RETURN β
the SQ in the i position. that's the tea β you ask for the one at index i, you get the one at index i. slay.
π SEE ALSO π
okay this is the fun part, bestie, because this page has a huge friend group π first up, the source file itself lives at:
Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
and here's the whole squad, every single one of them, no gatekeeping:
parse_capability(9)get_capability(9)get_dev_cap(9)init_msix(9)disable_msix(9)hinic_port_msg_cmd(9)init_fw_ctxt(9)set_hw_ioctxt(9)clear_io_resources(9)set_resources_state(9)get_base_qpn(9)hinic_hwdev_ifup(9)hinic_hwdev_ifdown(9)hinic_hwdev_cb_register(9)hinic_hwdev_cb_unregister(9)nic_mgmt_msg_handler(9)init_pfhwdev(9)free_pfhwdev(9)hinic_init_hwdev(9)hinic_free_hwdev(9)hinic_hwdev_num_qps(9)hinic_hwdev_get_rq(9)hinic_hwdev_msix_cnt_set(9)hinic_hwdev_msix_set(9)hinic_hwdev_hw_ci_addr_set(9)hinic_hwdev_set_msix_state(9)
ngl, hinic_hwdev_get_rq(9) is right there in the list and it's basically this function's sibling β the RQ to this SQ, iykyk π
and that's the page, bestie π§ this little cutie came to you from source ./drivers/net/ethernet/huawei/..., dated October 2026, and it's filed under hinic_hwdev_get_sq(9) in the Kernel API Manual. periodt. ππ₯
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms