Searched refs:s_set_mac (Results 1 – 4 of 4) sorted by relevance
274 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()
112 } s_set_mac; member
159 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()
120 } s_set_mac; member