hinic_port_add_vlan(9)
π hinic_port_add_vlan(9) π
okay so this is from the Kernel API Manual, and itβs literally the glow-up guide for adding a vlan to the nic device. main character energy only β¨
π NAME π
hinic_port_add_vlan β add vlan to the nic device. thatβs the whole plot, bestie π«Ά
πΈ SYNOPSIS πΈ
int hinic_port_add_vlan (struct hinic_dev *nic_dev , u16 vlan_id );
π ARGUMENTS π
nic_devβ nic devicevlan_idβ the vlan number to add
π¦ DESCRIPTION π¦
Return vibe check: 0 - Success, negative - Failure. no cap, thatβs the return tea βπ
β¨ SEE ALSO β¨
Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_port.c
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_del_vlan(9)hinic_port_set_rx_mode(9)hinic_port_link_state(9)hinic_port_set_state(9)hinic_port_set_func_state(9)hinic_port_get_cap(9)hinic_port_set_tso(9)
signed off with love from the ./drivers/net/ethernet/huawei/... source/version, October 2026 edition, bestie πππ
π¦ 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