Lines Matching refs:p_resp
1415 struct pf_vf_resc *p_resp) in qed_iov_vf_mbx_acquire_resc_cids() argument
1422 p_resp->num_cids = min_t(u8, p_req->num_cids, num_vf_cons); in qed_iov_vf_mbx_acquire_resc_cids()
1449 p_resp->num_cids = min_t(u8, p_resp->num_cids, in qed_iov_vf_mbx_acquire_resc_cids()
1457 struct pf_vf_resc *p_resp) in qed_iov_vf_mbx_acquire_resc() argument
1462 p_resp->num_rxqs = p_vf->num_rxqs; in qed_iov_vf_mbx_acquire_resc()
1463 p_resp->num_txqs = p_vf->num_txqs; in qed_iov_vf_mbx_acquire_resc()
1464 p_resp->num_sbs = p_vf->num_sbs; in qed_iov_vf_mbx_acquire_resc()
1466 for (i = 0; i < p_resp->num_sbs; i++) { in qed_iov_vf_mbx_acquire_resc()
1467 p_resp->hw_sbs[i].hw_sb_id = p_vf->igu_sbs[i]; in qed_iov_vf_mbx_acquire_resc()
1468 p_resp->hw_sbs[i].sb_qid = 0; in qed_iov_vf_mbx_acquire_resc()
1474 for (i = 0; i < p_resp->num_rxqs; i++) { in qed_iov_vf_mbx_acquire_resc()
1476 (u16 *)&p_resp->hw_qid[i]); in qed_iov_vf_mbx_acquire_resc()
1477 p_resp->cid[i] = i; in qed_iov_vf_mbx_acquire_resc()
1481 p_resp->num_mac_filters = min_t(u8, p_vf->num_mac_filters, in qed_iov_vf_mbx_acquire_resc()
1483 p_resp->num_vlan_filters = min_t(u8, p_vf->num_vlan_filters, in qed_iov_vf_mbx_acquire_resc()
1486 qed_iov_vf_mbx_acquire_resc_cids(p_hwfn, p_ptt, p_vf, p_req, p_resp); in qed_iov_vf_mbx_acquire_resc()
1491 p_resp->num_mc_filters = QED_MAX_MC_ADDRS; in qed_iov_vf_mbx_acquire_resc()
1494 if (p_resp->num_rxqs < p_req->num_rxqs || in qed_iov_vf_mbx_acquire_resc()
1495 p_resp->num_txqs < p_req->num_txqs || in qed_iov_vf_mbx_acquire_resc()
1496 p_resp->num_sbs < p_req->num_sbs || in qed_iov_vf_mbx_acquire_resc()
1497 p_resp->num_mac_filters < p_req->num_mac_filters || in qed_iov_vf_mbx_acquire_resc()
1498 p_resp->num_vlan_filters < p_req->num_vlan_filters || in qed_iov_vf_mbx_acquire_resc()
1499 p_resp->num_mc_filters < p_req->num_mc_filters || in qed_iov_vf_mbx_acquire_resc()
1500 p_resp->num_cids < p_req->num_cids) { in qed_iov_vf_mbx_acquire_resc()
1506 p_resp->num_rxqs, in qed_iov_vf_mbx_acquire_resc()
1508 p_resp->num_txqs, in qed_iov_vf_mbx_acquire_resc()
1510 p_resp->num_sbs, in qed_iov_vf_mbx_acquire_resc()
1512 p_resp->num_mac_filters, in qed_iov_vf_mbx_acquire_resc()
1514 p_resp->num_vlan_filters, in qed_iov_vf_mbx_acquire_resc()
1516 p_resp->num_mc_filters, in qed_iov_vf_mbx_acquire_resc()
1517 p_req->num_cids, p_resp->num_cids); in qed_iov_vf_mbx_acquire_resc()
2187 qed_iov_pf_update_tun_response(struct pfvf_update_tunn_param_tlv *p_resp, in qed_iov_pf_update_tun_response() argument
2191 p_resp->tunn_feature_mask = tunn_feature_mask; in qed_iov_pf_update_tun_response()
2192 p_resp->vxlan_mode = p_tun->vxlan.b_mode_enabled; in qed_iov_pf_update_tun_response()
2193 p_resp->l2geneve_mode = p_tun->l2_geneve.b_mode_enabled; in qed_iov_pf_update_tun_response()
2194 p_resp->ipgeneve_mode = p_tun->ip_geneve.b_mode_enabled; in qed_iov_pf_update_tun_response()
2195 p_resp->l2gre_mode = p_tun->l2_gre.b_mode_enabled; in qed_iov_pf_update_tun_response()
2196 p_resp->ipgre_mode = p_tun->l2_gre.b_mode_enabled; in qed_iov_pf_update_tun_response()
2197 p_resp->vxlan_clss = p_tun->vxlan.tun_cls; in qed_iov_pf_update_tun_response()
2198 p_resp->l2gre_clss = p_tun->l2_gre.tun_cls; in qed_iov_pf_update_tun_response()
2199 p_resp->ipgre_clss = p_tun->ip_gre.tun_cls; in qed_iov_pf_update_tun_response()
2200 p_resp->l2geneve_clss = p_tun->l2_geneve.tun_cls; in qed_iov_pf_update_tun_response()
2201 p_resp->ipgeneve_clss = p_tun->ip_geneve.tun_cls; in qed_iov_pf_update_tun_response()
2202 p_resp->geneve_udp_port = p_tun->geneve_port.port; in qed_iov_pf_update_tun_response()
2203 p_resp->vxlan_udp_port = p_tun->vxlan_port.port; in qed_iov_pf_update_tun_response()
2322 struct pfvf_update_tunn_param_tlv *p_resp; in qed_iov_vf_mbx_update_tunn_param() local
2390 p_resp = qed_add_tlv(p_hwfn, &mbx->offset, in qed_iov_vf_mbx_update_tunn_param()
2391 CHANNEL_TLV_UPDATE_TUNN_PARAM, sizeof(*p_resp)); in qed_iov_vf_mbx_update_tunn_param()
2393 qed_iov_pf_update_tun_response(p_resp, p_tun, tunn_feature_mask); in qed_iov_vf_mbx_update_tunn_param()
2397 qed_iov_send_response(p_hwfn, p_ptt, p_vf, sizeof(*p_resp), status); in qed_iov_vf_mbx_update_tunn_param()
3429 struct pfvf_read_coal_resp_tlv *p_resp; in qed_iov_vf_pf_get_coalesce() local
3483 p_resp = qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_COALESCE_READ, in qed_iov_vf_pf_get_coalesce()
3484 sizeof(*p_resp)); in qed_iov_vf_pf_get_coalesce()
3485 p_resp->coal = coal; in qed_iov_vf_pf_get_coalesce()
3490 qed_iov_send_response(p_hwfn, p_ptt, p_vf, sizeof(*p_resp), status); in qed_iov_vf_pf_get_coalesce()