hinic_port_link_state(9)
π hinic_port_link_state(9) π
okay so bestie, this page is from the Kernel API Manual, and itβs literally the hinic_port_link_state moment: getting the link state. The vibes are immaculate, the facts are untouched. π
β¨
β¨ NAME β¨
hinic_port_link_state β get the link state π
πΈ SYNOPSIS πΈ
the signature, exactly as it appears, no edits:
int hinic_port_link_state (struct hinic_dev *nic_dev , enum
hinic_port_link_state *link_state );
π¦ ARGUMENTS π¦
nic_devβ the nic device π»link_stateβ the returned link state π
π DESCRIPTION π
Hereβs the whole mood: Return 0 - Success, negative - Failure. Thatβs it β success is 0, and failure is negative. ππ
π SEE ALSO π
Kernel file: ./drivers/net/ethernet/huawei/hinic/hinic_port.c π
the rest of the friend group, iykyk:
change_mac(9)hinic_port_add_mac(9)hinic_port_del_mac(9)hinic_port_get_mac(9)hinic_port_set_mtu(9)hinic_port_add_vlan(9)hinic_port_del_vlan(9)hinic_port_set_rx_mode(9)hinic_port_set_state(9)hinic_port_set_func_state(9)hinic_port_get_cap(9)hinic_port_set_tso(9)
mwah π β source/version: ./drivers/net/ethernet/huawei/... Β· date: October 2026 β from your Kernel API Manual bestie, signing off. π«Άπ
π¦ 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