hinic_port_msg_cmd(9)
π hinic_port_msg_cmd(9) π
okay bestie, this page is straight out of the Kernel API Manual β¨ and it's all about hinic_port_msg_cmd β the kernel function that sends a port msg to mgmt. that's the vibe π«Ά
πΈ NAME πΈ
hinic_port_msg_cmd β send port msg to mgmt π
β¨ SYNOPSIS β¨
int hinic_port_msg_cmd (struct hinic_hwdev *hwdev , enum hinic_port_cmd
cmd , void *buf_in , u16 in_size , void *buf_out , u16 *out_size );
π ARGUMENTS π
here's the whole cast, no skips bestie:
hwdevβ the NIC HW device πcmdβ the port command π«‘buf_inβ input buffer π₯in_sizeβ input size π’buf_outβ output buffer π€out_sizeβ returned output size π¬
π DESCRIPTION π
Return 0 - Success, negative - Failure. literally the whole return story: 0 is slay β
and a negative value is not it β.
π¦ SEE ALSO π¦
the kernel file is at ./drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c β yes, that exact path, bestie ποΈ
also go say hi to all these iconique friends:
parse_capability(9)get_capability(9)get_dev_cap(9)init_msix(9)disable_msix(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_sq(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)
cute sign-off π
source/version: ./drivers/net/ethernet/huawei/... Β· date: October 2026 Β· page: hinic_port_msg_cmd(9) β byeee bestie, go send those port msgs π«Ά
π¦ 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