Home
last modified time | relevance | path

Searched refs:port_vlan_cmd (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c179 struct hinic_port_vlan_cmd port_vlan_cmd; in hinic_port_add_vlan() local
181 port_vlan_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_add_vlan()
182 port_vlan_cmd.vlan_id = vlan_id; in hinic_port_add_vlan()
185 &port_vlan_cmd, sizeof(port_vlan_cmd), in hinic_port_add_vlan()
199 struct hinic_port_vlan_cmd port_vlan_cmd; in hinic_port_del_vlan() local
201 port_vlan_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_del_vlan()
202 port_vlan_cmd.vlan_id = vlan_id; in hinic_port_del_vlan()
205 &port_vlan_cmd, sizeof(port_vlan_cmd), in hinic_port_del_vlan()