Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_pfvf_mbox.c163 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK; in octep_pfvf_set_mac_addr()
167 err = octep_ctrl_net_set_mac_addr(oct, vf_id, cmd.s_set_mac.mac_addr, true); in octep_pfvf_set_mac_addr()
169 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK; in octep_pfvf_set_mac_addr()
175 ether_addr_copy(oct->vf_info[vf_id].mac_addr, cmd.s_set_mac.mac_addr); in octep_pfvf_set_mac_addr()
176 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK; in octep_pfvf_set_mac_addr()
187 ether_addr_copy(rsp->s_set_mac.mac_addr, in octep_pfvf_get_mac_addr()
189 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK; in octep_pfvf_get_mac_addr()
192 err = octep_ctrl_net_get_mac_addr(oct, vf_id, rsp->s_set_mac.mac_addr); in octep_pfvf_get_mac_addr()
194 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK; in octep_pfvf_get_mac_addr()
199 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK; in octep_pfvf_get_mac_addr()
H A Doctep_pfvf_mbox.h122 } s_set_mac; member
/linux-6.15/drivers/net/ethernet/marvell/octeon_ep_vf/
H A 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()
H A Doctep_vf_mbox.h112 } s_set_mac; member