Lines Matching defs:rc

113 	enum _ecore_status_t rc = ECORE_NOTIMPL;
122 rc = ecore_sp_init_request(p_hwfn, &p_ent,
125 if (rc != ECORE_SUCCESS)
126 return rc;
175 enum _ecore_status_t rc = ECORE_NOTIMPL;
183 rc = ecore_sp_init_request(p_hwfn, &p_ent,
186 if (rc != ECORE_SUCCESS)
187 return rc;
661 enum _ecore_status_t rc;
685 rc = ecore_iov_pci_cfg_info(p_dev);
686 if (rc)
687 return rc;
789 enum _ecore_status_t rc = ECORE_SUCCESS;
798 rc = ECORE_UNKNOWN_ERROR;
800 return rc;
898 enum _ecore_status_t rc = ECORE_SUCCESS;
916 rc = ecore_iov_enable_vf_access_msix(p_hwfn, p_ptt,
918 if (rc != ECORE_SUCCESS)
919 return rc;
934 return rc;
1112 enum _ecore_status_t rc = ECORE_SUCCESS;
1223 rc = ecore_iov_enable_vf_access(p_hwfn, p_ptt, vf);
1225 if (rc == ECORE_SUCCESS) {
1236 return rc;
1454 /* Once PF copies the rc to the VF, the latter can continue and
1759 enum _ecore_status_t rc;
1885 rc = ecore_sp_vf_start(p_hwfn, vf);
1886 if (rc != ECORE_SUCCESS) {
1921 enum _ecore_status_t rc;
1936 rc = ecore_sp_vport_update(p_hwfn, &params, ECORE_SPQ_MODE_EBLOCK,
1938 if (rc == ECORE_SUCCESS) {
1949 return rc;
1956 enum _ecore_status_t rc = ECORE_SUCCESS;
1975 rc = ecore_sp_eth_filter_ucast(p_hwfn, p_vf->opaque_fid,
1977 if (rc) {
1985 return rc;
1993 enum _ecore_status_t rc = ECORE_SUCCESS;
1999 rc = ecore_iov_reconfigure_unicast_vlan(p_hwfn, p_vf);
2001 return rc;
2009 enum _ecore_status_t rc = ECORE_SUCCESS;
2029 rc = ecore_sp_eth_filter_ucast(p_hwfn, p_vf->opaque_fid,
2032 if (rc) {
2035 return rc;
2056 rc = ecore_sp_eth_filter_ucast(p_hwfn, p_vf->opaque_fid,
2059 if (rc) {
2062 return rc;
2079 rc = ecore_sp_vport_update(p_hwfn, &vport_update,
2082 if (rc) {
2085 return rc;
2098 rc = ecore_sp_eth_rx_queues_update(p_hwfn,
2103 if (rc) {
2107 return rc;
2123 return rc;
2137 enum _ecore_status_t rc;
2204 rc = OSAL_IOV_PRE_START_VPORT(p_hwfn, vf->relative_vf_id, &params);
2205 if (rc != ECORE_SUCCESS) {
2206 DP_ERR(p_hwfn, "OSAL_IOV_PRE_START_VPORT returned error %d\n", rc);
2212 rc = ecore_sp_eth_vport_start(p_hwfn, &params);
2213 if (rc != ECORE_SUCCESS) {
2214 DP_ERR(p_hwfn, "ecore_iov_vf_mbx_start_vport returned error %d\n", rc);
2237 enum _ecore_status_t rc;
2253 rc = ecore_sp_vport_stop(p_hwfn, vf->opaque_fid, vf->vport_id);
2254 if (rc != ECORE_SUCCESS) {
2256 rc);
2355 enum _ecore_status_t rc;
2406 rc = ecore_eth_rxq_start_ramrod(p_hwfn, p_cid,
2411 if (rc != ECORE_SUCCESS) {
2497 enum _ecore_status_t rc = ECORE_SUCCESS;
2542 rc = OSAL_PF_VALIDATE_MODIFY_TUNN_CONFIG(p_hwfn, &tunn_feature_mask,
2545 if (rc != ECORE_SUCCESS)
2552 rc = ecore_sp_pf_update_tunn_cfg(p_hwfn, p_ptt, &tunn,
2555 if (rc != ECORE_SUCCESS)
2628 enum _ecore_status_t rc;
2673 rc = ecore_eth_txq_start_ramrod(p_hwfn, p_cid,
2675 if (rc != ECORE_SUCCESS) {
2697 enum _ecore_status_t rc = ECORE_SUCCESS;
2725 rc = ecore_eth_rx_queue_stop(p_hwfn,
2728 if (rc != ECORE_SUCCESS)
2729 return rc;
2743 enum _ecore_status_t rc = ECORE_SUCCESS;
2754 rc = ecore_eth_tx_queue_stop(p_hwfn,
2756 if (rc != ECORE_SUCCESS)
2757 return rc;
2772 enum _ecore_status_t rc;
2792 rc = ecore_iov_vf_stop_rxqs(p_hwfn, vf, req->rx_qid,
2794 if (rc == ECORE_SUCCESS)
2810 enum _ecore_status_t rc;
2830 rc = ecore_iov_vf_stop_txqs(p_hwfn, vf, req->tx_qid,
2832 if (rc == ECORE_SUCCESS)
2852 enum _ecore_status_t rc;
2897 rc = ecore_sp_eth_rx_queues_update(p_hwfn, (void **)&handlers,
2903 if (rc != ECORE_SUCCESS)
3219 enum _ecore_status_t rc;
3286 rc = ecore_sp_vport_update(p_hwfn, &params, ECORE_SPQ_MODE_EBLOCK,
3289 if (rc)
3424 enum _ecore_status_t rc = ECORE_SUCCESS;
3427 rc = ecore_iov_vf_update_mac_shadow(p_hwfn, p_vf, p_params);
3428 if (rc != ECORE_SUCCESS)
3429 return rc;
3433 rc = ecore_iov_vf_update_vlan_shadow(p_hwfn, p_vf, p_params);
3435 return rc;
3447 enum _ecore_status_t rc;
3511 rc = OSAL_IOV_CHK_UCAST(p_hwfn, vf->relative_vf_id, &params);
3512 if (rc == ECORE_EXISTS) {
3514 } else if (rc == ECORE_INVAL) {
3519 rc = ecore_sp_eth_filter_ucast(p_hwfn, vf->opaque_fid, &params,
3521 if (rc)
3569 enum _ecore_status_t rc = ECORE_SUCCESS;
3575 rc = ecore_sp_vf_stop(p_hwfn, p_vf->concrete_fid,
3578 if (rc != ECORE_SUCCESS) {
3580 rc);
3601 enum _ecore_status_t rc = ECORE_SUCCESS;
3621 rc = ecore_get_rxq_coalesce(p_hwfn, p_ptt, p_cid, &coal);
3622 if (rc != ECORE_SUCCESS)
3640 rc = ecore_get_txq_coalesce(p_hwfn, p_ptt,
3642 if (rc != ECORE_SUCCESS)
3666 enum _ecore_status_t rc = ECORE_SUCCESS;
3703 rc = ecore_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid);
3704 if (rc != ECORE_SUCCESS) {
3726 rc = ecore_set_txq_coalesce(p_hwfn, p_ptt, tx_coal,
3728 if (rc != ECORE_SUCCESS) {
3752 int i, rc = 0;
3789 rc = ecore_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid);
3790 if (rc != ECORE_SUCCESS) {
3812 rc = ecore_set_txq_coalesce(p_hwfn, p_ptt, tx_coal,
3814 if (rc != ECORE_SUCCESS) {
3827 return rc;
3910 enum _ecore_status_t rc;
3914 rc = ecore_iov_vf_flr_poll_dorq(p_hwfn, p_vf, p_ptt);
3915 if (rc)
3916 return rc;
3918 rc = ecore_iov_vf_flr_poll_pbf(p_hwfn, p_vf, p_ptt);
3919 if (rc)
3920 return rc;
3932 enum _ecore_status_t rc = ECORE_SUCCESS;
3954 rc = ecore_iov_vf_flr_poll(p_hwfn, p_vf, p_ptt);
3955 if (rc != ECORE_SUCCESS)
3958 rc = ecore_final_cleanup(p_hwfn, p_ptt, vfid, true);
3959 if (rc) {
3963 return rc;
3978 rc = ecore_iov_enable_vf_access(p_hwfn, p_ptt, p_vf);
3979 if (rc) {
3983 return rc;
3995 return rc;
4003 enum _ecore_status_t rc = ECORE_SUCCESS;
4017 rc = ecore_mcp_ack_vf_flr(p_hwfn, p_ptt, ack_vfs);
4018 return rc;
4029 enum _ecore_status_t rc = ECORE_SUCCESS;
4038 rc = ecore_mcp_ack_vf_flr(p_hwfn, p_ptt, ack_vfs);
4039 return rc;
4637 enum _ecore_status_t rc = ECORE_INVAL;
4652 rc = ECORE_SUCCESS;
4656 rc = __ecore_iov_spoofchk_set(p_hwfn, vf, val);
4659 return rc;
4773 enum _ecore_status_t rc;
4780 rc = ecore_fw_vport(p_hwfn, vf->vport_id, &abs_vp_id);
4781 if (rc != ECORE_SUCCESS)
4782 return rc;