Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c196 struct hinic_port_vlan_cmd port_vlan_cmd; in hinic_port_add_vlan() local
198 port_vlan_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_add_vlan()
199 port_vlan_cmd.vlan_id = vlan_id; in hinic_port_add_vlan()
202 &port_vlan_cmd, sizeof(port_vlan_cmd), in hinic_port_add_vlan()
216 struct hinic_port_vlan_cmd port_vlan_cmd; in hinic_port_del_vlan() local
218 port_vlan_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_del_vlan()
219 port_vlan_cmd.vlan_id = vlan_id; in hinic_port_del_vlan()
222 &port_vlan_cmd, sizeof(port_vlan_cmd), in hinic_port_del_vlan()