Lines Matching refs:p_req
1396 struct vf_pf_resc_request *p_req, in qed_iov_vf_mbx_acquire_resc_cids() argument
1404 p_resp->num_cids = min_t(u8, p_req->num_cids, num_vf_cons); in qed_iov_vf_mbx_acquire_resc_cids()
1438 struct vf_pf_resc_request *p_req, in qed_iov_vf_mbx_acquire_resc() argument
1464 p_req->num_mac_filters); in qed_iov_vf_mbx_acquire_resc()
1466 p_req->num_vlan_filters); in qed_iov_vf_mbx_acquire_resc()
1468 qed_iov_vf_mbx_acquire_resc_cids(p_hwfn, p_ptt, p_vf, p_req, p_resp); in qed_iov_vf_mbx_acquire_resc()
1476 if (p_resp->num_rxqs < p_req->num_rxqs || in qed_iov_vf_mbx_acquire_resc()
1477 p_resp->num_txqs < p_req->num_txqs || in qed_iov_vf_mbx_acquire_resc()
1478 p_resp->num_sbs < p_req->num_sbs || in qed_iov_vf_mbx_acquire_resc()
1479 p_resp->num_mac_filters < p_req->num_mac_filters || in qed_iov_vf_mbx_acquire_resc()
1480 p_resp->num_vlan_filters < p_req->num_vlan_filters || in qed_iov_vf_mbx_acquire_resc()
1481 p_resp->num_mc_filters < p_req->num_mc_filters || in qed_iov_vf_mbx_acquire_resc()
1482 p_resp->num_cids < p_req->num_cids) { in qed_iov_vf_mbx_acquire_resc()
1487 p_req->num_rxqs, in qed_iov_vf_mbx_acquire_resc()
1489 p_req->num_rxqs, in qed_iov_vf_mbx_acquire_resc()
1491 p_req->num_sbs, in qed_iov_vf_mbx_acquire_resc()
1493 p_req->num_mac_filters, in qed_iov_vf_mbx_acquire_resc()
1495 p_req->num_vlan_filters, in qed_iov_vf_mbx_acquire_resc()
1497 p_req->num_mc_filters, in qed_iov_vf_mbx_acquire_resc()
1499 p_req->num_cids, p_resp->num_cids); in qed_iov_vf_mbx_acquire_resc()
2189 __qed_iov_pf_update_tun_param(struct vfpf_update_tunn_param_tlv *p_req, in __qed_iov_pf_update_tun_param() argument
2193 if (p_req->tun_mode_update_mask & BIT(mask)) { in __qed_iov_pf_update_tun_param()
2196 if (p_req->tunn_mode & BIT(mask)) in __qed_iov_pf_update_tun_param()
2204 qed_iov_pf_update_tun_param(struct vfpf_update_tunn_param_tlv *p_req, in qed_iov_pf_update_tun_param() argument
2215 __qed_iov_pf_update_tun_param(p_req, p_tun, mask, tun_cls); in qed_iov_pf_update_tun_param()
2219 qed_iov_pf_validate_tunn_param(struct vfpf_update_tunn_param_tlv *p_req) in qed_iov_pf_validate_tunn_param() argument
2223 if (p_req->tun_mode_update_mask || p_req->update_tun_cls || in qed_iov_pf_validate_tunn_param()
2224 p_req->update_geneve_port || p_req->update_vxlan_port) in qed_iov_pf_validate_tunn_param()
2305 struct vfpf_update_tunn_param_tlv *p_req; in qed_iov_vf_mbx_update_tunn_param() local
2315 p_req = &mbx->req_virt->tunn_param_update; in qed_iov_vf_mbx_update_tunn_param()
2317 if (!qed_iov_pf_validate_tunn_param(p_req)) { in qed_iov_vf_mbx_update_tunn_param()
2324 tunn.b_update_rx_cls = p_req->update_tun_cls; in qed_iov_vf_mbx_update_tunn_param()
2325 tunn.b_update_tx_cls = p_req->update_tun_cls; in qed_iov_vf_mbx_update_tunn_param()
2327 qed_iov_pf_update_tun_param(p_req, &tunn.vxlan, &tunn.vxlan_port, in qed_iov_vf_mbx_update_tunn_param()
2328 QED_MODE_VXLAN_TUNN, p_req->vxlan_clss, in qed_iov_vf_mbx_update_tunn_param()
2329 p_req->update_vxlan_port, in qed_iov_vf_mbx_update_tunn_param()
2330 p_req->vxlan_port); in qed_iov_vf_mbx_update_tunn_param()
2331 qed_iov_pf_update_tun_param(p_req, &tunn.l2_geneve, &tunn.geneve_port, in qed_iov_vf_mbx_update_tunn_param()
2333 p_req->l2geneve_clss, in qed_iov_vf_mbx_update_tunn_param()
2334 p_req->update_geneve_port, in qed_iov_vf_mbx_update_tunn_param()
2335 p_req->geneve_port); in qed_iov_vf_mbx_update_tunn_param()
2336 __qed_iov_pf_update_tun_param(p_req, &tunn.ip_geneve, in qed_iov_vf_mbx_update_tunn_param()
2338 p_req->ipgeneve_clss); in qed_iov_vf_mbx_update_tunn_param()
2339 __qed_iov_pf_update_tun_param(p_req, &tunn.l2_gre, in qed_iov_vf_mbx_update_tunn_param()
2340 QED_MODE_L2GRE_TUNN, p_req->l2gre_clss); in qed_iov_vf_mbx_update_tunn_param()
2341 __qed_iov_pf_update_tun_param(p_req, &tunn.ip_gre, in qed_iov_vf_mbx_update_tunn_param()
2342 QED_MODE_IPGRE_TUNN, p_req->ipgre_clss); in qed_iov_vf_mbx_update_tunn_param()
3852 struct vfpf_bulletin_update_mac_tlv *p_req; in qed_iov_vf_pf_bulletin_update_mac() local
3866 p_req = &mbx->req_virt->bulletin_update_mac; in qed_iov_vf_pf_bulletin_update_mac()
3867 ether_addr_copy(p_bulletin->mac, p_req->mac); in qed_iov_vf_pf_bulletin_update_mac()
3870 p_vf->abs_vf_id, p_req->mac); in qed_iov_vf_pf_bulletin_update_mac()