Lines Matching refs:rsp

35 					union octep_pfvf_mbox_word *rsp)
42 rsp->s_version.version = vf_version;
44 rsp->s_version.version = OCTEP_PFVF_MBOX_VERSION_CURRENT;
46 oct->vf_info[vf_id].mbox_version = rsp->s_version.version;
50 rsp->s_version.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
55 union octep_pfvf_mbox_word *rsp)
61 rsp->s_link_status.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
65 rsp->s_link_status.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
66 rsp->s_link_status.status = status;
71 union octep_pfvf_mbox_word *rsp)
77 rsp->s_link_status.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
81 rsp->s_link_status.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
86 union octep_pfvf_mbox_word *rsp)
92 rsp->s_link_state.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
96 rsp->s_link_state.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
129 union octep_pfvf_mbox_word *rsp)
135 rsp->s_set_mtu.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
139 rsp->s_set_mtu.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
144 union octep_pfvf_mbox_word *rsp)
148 rsp->s_set_mtu.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
149 rsp->s_get_mtu.mtu = max_rx_pktlen;
154 union octep_pfvf_mbox_word *rsp)
160 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
164 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
169 union octep_pfvf_mbox_word *rsp)
173 err = octep_ctrl_net_get_mac_addr(oct, vf_id, rsp->s_set_mac.mac_addr);
175 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
179 rsp->s_set_mac.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
184 union octep_pfvf_mbox_word *rsp)
190 rsp->s.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
195 rsp->s.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
200 union octep_pfvf_mbox_word *rsp)
207 rsp->s_fw_info.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
212 rsp->s_fw_info.pkind = fw_info.pkind;
213 rsp->s_fw_info.fsz = fw_info.fsz;
214 rsp->s_fw_info.rx_ol_flags = fw_info.rx_ol_flags;
215 rsp->s_fw_info.tx_ol_flags = fw_info.tx_ol_flags;
217 rsp->s_fw_info.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
222 union octep_pfvf_mbox_word *rsp)
232 rsp->s_offloads.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
236 rsp->s_offloads.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
300 union octep_pfvf_mbox_word *rsp)
309 rsp->s_data.type = OCTEP_PFVF_MBOX_TYPE_RSP_ACK;
324 *((int32_t *)rsp->s_data.data) = mbox->message_len;
327 rsp->s_data.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
337 *((int32_t *)rsp->s_data.data) = mbox->message_len;
343 rsp->s_data.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
348 *((int32_t *)rsp->s_data.data) = mbox->message_len;
360 rsp->s_data.data[i] =
391 union octep_pfvf_mbox_word rsp = { 0 };
402 rsp.u64 = 0;
406 octep_pfvf_validate_version(oct, vf_id, cmd, &rsp);
409 octep_pfvf_get_link_status(oct, vf_id, cmd, &rsp);
412 octep_pfvf_set_link_status(oct, vf_id, cmd, &rsp);
415 octep_pfvf_set_rx_state(oct, vf_id, cmd, &rsp);
418 octep_pfvf_set_mtu(oct, vf_id, cmd, &rsp);
421 octep_pfvf_set_mac_addr(oct, vf_id, cmd, &rsp);
424 octep_pfvf_get_mac_addr(oct, vf_id, cmd, &rsp);
428 octep_pfvf_pf_get_data(oct, mbox, vf_id, cmd, &rsp);
431 octep_pfvf_get_mtu(oct, vf_id, cmd, &rsp);
434 octep_pfvf_dev_remove(oct, vf_id, cmd, &rsp);
437 octep_pfvf_get_fw_info(oct, vf_id, cmd, &rsp);
440 octep_pfvf_set_offloads(oct, vf_id, cmd, &rsp);
444 rsp.s.type = OCTEP_PFVF_MBOX_TYPE_RSP_NACK;
447 writeq(rsp.u64, mbox->vf_pf_data_reg);