hinic_port_msg_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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