Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/
Doctep_vf_mbox.c274 cmd.s_set_mac.opcode = OCTEP_PFVF_MBOX_CMD_SET_MAC_ADDR; in octep_vf_mbox_set_mac_addr()
276 cmd.s_set_mac.mac_addr[i] = mac_addr[i]; in octep_vf_mbox_set_mac_addr()
282 if (rsp.s_set_mac.type != OCTEP_PFVF_MBOX_TYPE_RSP_ACK) { in octep_vf_mbox_set_mac_addr()
296 cmd.s_set_mac.opcode = OCTEP_PFVF_MBOX_CMD_GET_MAC_ADDR; in octep_vf_mbox_get_mac_addr()
302 if (rsp.s_set_mac.type != OCTEP_PFVF_MBOX_TYPE_RSP_ACK) { in octep_vf_mbox_get_mac_addr()
307 mac_addr[i] = rsp.s_set_mac.mac_addr[i]; in octep_vf_mbox_get_mac_addr()
Doctep_vf_mbox.h112 } s_set_mac; member
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_pfvf_mbox.c159 err = octep_ctrl_net_set_mac_addr(oct, vf_id, cmd.s_set_mac.mac_addr, true); in octep_pfvf_set_mac_addr()
161 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK; in octep_pfvf_set_mac_addr()
165 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK; in octep_pfvf_set_mac_addr()
174 err = octep_ctrl_net_get_mac_addr(oct, vf_id, rsp->s_set_mac.mac_addr); in octep_pfvf_get_mac_addr()
176 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK; in octep_pfvf_get_mac_addr()
180 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK; in octep_pfvf_get_mac_addr()
Doctep_pfvf_mbox.h120 } s_set_mac; member