Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c41 struct hinic_port_mac_cmd port_mac_cmd; in change_mac() local
43 u16 out_size = sizeof(port_mac_cmd); in change_mac()
53 port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in change_mac()
54 port_mac_cmd.vlan_id = vlan_id; in change_mac()
55 memcpy(port_mac_cmd.mac, addr, ETH_ALEN); in change_mac()
57 err = hinic_port_msg_cmd(hwdev, cmd, &port_mac_cmd, in change_mac()
58 sizeof(port_mac_cmd), in change_mac()
59 &port_mac_cmd, &out_size); in change_mac()
60 if (err || out_size != sizeof(port_mac_cmd) || in change_mac()
61 (port_mac_cmd in change_mac()
120 struct hinic_port_mac_cmd port_mac_cmd; hinic_port_get_mac() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c38 struct hinic_port_mac_cmd port_mac_cmd; in change_mac() local
40 u16 out_size = sizeof(port_mac_cmd); in change_mac()
50 port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in change_mac()
51 port_mac_cmd.vlan_id = vlan_id; in change_mac()
52 memcpy(port_mac_cmd.mac, addr, ETH_ALEN); in change_mac()
54 err = hinic_port_msg_cmd(hwdev, cmd, &port_mac_cmd, in change_mac()
55 sizeof(port_mac_cmd), in change_mac()
56 &port_mac_cmd, &out_size); in change_mac()
57 if (err || out_size != sizeof(port_mac_cmd) || in change_mac()
58 (port_mac_cmd in change_mac()
117 struct hinic_port_mac_cmd port_mac_cmd; hinic_port_get_mac() local
[all...]

Completed in 5 milliseconds