Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c42 struct hinic_port_mac_cmd port_mac_cmd; in change_mac() local
59 port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in change_mac()
60 port_mac_cmd.vlan_id = vlan_id; in change_mac()
61 memcpy(port_mac_cmd.mac, addr, ETH_ALEN); in change_mac()
63 err = hinic_port_msg_cmd(hwdev, cmd, &port_mac_cmd, in change_mac()
64 sizeof(port_mac_cmd), in change_mac()
65 &port_mac_cmd, &out_size); in change_mac()
66 if (err || (out_size != sizeof(port_mac_cmd)) || port_mac_cmd.status) { in change_mac()
68 port_mac_cmd.status); in change_mac()
113 struct hinic_port_mac_cmd port_mac_cmd; in hinic_port_get_mac() local
[all …]