Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c51 struct hinic_port_mac_cmd port_mac_cmd; in change_mac() local
68 port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in change_mac()
69 port_mac_cmd.vlan_id = vlan_id; in change_mac()
70 memcpy(port_mac_cmd.mac, addr, ETH_ALEN); in change_mac()
72 err = hinic_port_msg_cmd(hwdev, cmd, &port_mac_cmd, in change_mac()
73 sizeof(port_mac_cmd), in change_mac()
74 &port_mac_cmd, &out_size); in change_mac()
75 if (err || (out_size != sizeof(port_mac_cmd)) || port_mac_cmd.status) { in change_mac()
77 port_mac_cmd.status); in change_mac()
122 struct hinic_port_mac_cmd port_mac_cmd; in hinic_port_get_mac() local
[all …]