Lines Matching refs:rc
238 enum _ecore_status_t rc;
276 rc = ecore_fw_vport(p_hwfn, p_cid->rel.vport_id, &p_cid->abs.vport_id);
277 if (rc != ECORE_SUCCESS)
280 rc = ecore_fw_l2_queue(p_hwfn, p_cid->rel.queue_id,
282 if (rc != ECORE_SUCCESS)
289 rc = ecore_fw_vport(p_hwfn, p_cid->rel.stats_id,
291 if (rc != ECORE_SUCCESS)
387 enum _ecore_status_t rc = ECORE_NOTIMPL;
389 rc = ecore_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id);
390 if (rc != ECORE_SUCCESS)
391 return rc;
399 rc = ecore_sp_init_request(p_hwfn, &p_ent,
402 if (rc != ECORE_SUCCESS)
403 return rc;
504 enum _ecore_status_t rc = ECORE_SUCCESS;
508 return rc;
515 rc = ecore_fw_rss_eng(p_hwfn, p_rss->rss_eng_id,
517 if (rc != ECORE_SUCCESS)
518 return rc;
600 return rc;
744 enum _ecore_status_t rc = ECORE_NOTIMPL;
747 rc = ecore_vf_pf_vport_update(p_hwfn, p_params);
748 return rc;
751 rc = ecore_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id);
752 if (rc != ECORE_SUCCESS)
753 return rc;
762 rc = ecore_sp_init_request(p_hwfn, &p_ent,
765 if (rc != ECORE_SUCCESS)
766 return rc;
812 rc = ecore_sp_vport_update_rss(p_hwfn, p_ramrod, p_rss_params);
813 if (rc != ECORE_SUCCESS) {
816 return rc;
835 enum _ecore_status_t rc;
840 rc = ecore_fw_vport(p_hwfn, vport_id, &abs_vport_id);
841 if (rc != ECORE_SUCCESS)
842 return rc;
850 rc = ecore_sp_init_request(p_hwfn, &p_ent,
853 if (rc != ECORE_SUCCESS)
854 return rc;
884 int i, rc;
899 rc = ecore_vf_pf_accept_flags(p_hwfn, &accept_flags);
900 if (rc != ECORE_SUCCESS)
901 return rc;
905 rc = ecore_sp_vport_update(p_hwfn, &vport_update_params,
907 if (rc != ECORE_SUCCESS) {
908 DP_ERR(p_dev, "Update rx_mode failed %d\n", rc);
909 return rc;
937 enum _ecore_status_t rc = ECORE_NOTIMPL;
949 rc = ecore_sp_init_request(p_hwfn, &p_ent,
952 if (rc != ECORE_SUCCESS)
953 return rc;
1022 enum _ecore_status_t rc;
1030 rc = ecore_eth_pf_rx_queue_start(p_hwfn, p_cid,
1036 rc = ecore_vf_pf_rxq_start(p_hwfn, p_cid,
1044 if (rc != ECORE_SUCCESS)
1049 return rc;
1064 enum _ecore_status_t rc = ECORE_NOTIMPL;
1088 rc = ecore_sp_init_request(p_hwfn, &p_ent,
1091 if (rc != ECORE_SUCCESS)
1092 return rc;
1101 rc = ecore_spq_post(p_hwfn, p_ent, OSAL_NULL);
1102 if (rc != ECORE_SUCCESS)
1103 return rc;
1106 return rc;
1119 enum _ecore_status_t rc = ECORE_SUCCESS;
1134 rc = ecore_sp_init_request(p_hwfn, &p_ent,
1137 if (rc != ECORE_SUCCESS)
1138 return rc;
1148 rc = ecore_spq_post(p_hwfn, p_ent, OSAL_NULL);
1150 return rc;
1162 enum _ecore_status_t rc;
1169 rc = ecore_sp_init_request(p_hwfn, &p_ent,
1172 if (rc != ECORE_SUCCESS)
1173 return rc;
1197 enum _ecore_status_t rc = ECORE_NOTIMPL;
1200 rc = ecore_eth_pf_rx_queue_stop(p_hwfn, p_cid,
1204 rc = ecore_vf_pf_rxq_stop(p_hwfn, p_cid, cqe_completion);
1206 if (rc == ECORE_SUCCESS)
1208 return rc;
1220 enum _ecore_status_t rc = ECORE_NOTIMPL;
1228 rc = ecore_sp_init_request(p_hwfn, &p_ent,
1231 if (rc != ECORE_SUCCESS)
1232 return rc;
1259 enum _ecore_status_t rc;
1262 rc = ecore_eth_txq_start_ramrod(p_hwfn, p_cid,
1265 if (rc != ECORE_SUCCESS)
1266 return rc;
1284 enum _ecore_status_t rc;
1291 rc = ecore_eth_pf_tx_queue_start(p_hwfn, p_cid, tc,
1295 rc = ecore_vf_pf_txq_start(p_hwfn, p_cid,
1299 if (rc != ECORE_SUCCESS)
1304 return rc;
1313 enum _ecore_status_t rc;
1320 rc = ecore_sp_init_request(p_hwfn, &p_ent,
1323 if (rc != ECORE_SUCCESS)
1324 return rc;
1333 enum _ecore_status_t rc;
1336 rc = ecore_eth_pf_tx_queue_stop(p_hwfn, p_cid);
1338 rc = ecore_vf_pf_txq_stop(p_hwfn, p_cid);
1340 if (rc == ECORE_SUCCESS)
1342 return rc;
1381 enum _ecore_status_t rc;
1383 rc = ecore_fw_vport(p_hwfn, p_filter_cmd->vport_to_remove_from,
1385 if (rc != ECORE_SUCCESS)
1386 return rc;
1388 rc = ecore_fw_vport(p_hwfn, p_filter_cmd->vport_to_add_to,
1390 if (rc != ECORE_SUCCESS)
1391 return rc;
1400 rc = ecore_sp_init_request(p_hwfn, pp_ent,
1403 if (rc != ECORE_SUCCESS)
1404 return rc;
1523 enum _ecore_status_t rc;
1525 rc = ecore_filter_ucast_common(p_hwfn, opaque_fid, p_filter_cmd,
1528 if (rc != ECORE_SUCCESS) {
1529 DP_ERR(p_hwfn, "Uni. filter command failed %d\n", rc);
1530 return rc;
1535 rc = ecore_spq_post(p_hwfn, p_ent, OSAL_NULL);
1536 if (rc != ECORE_SUCCESS) {
1539 rc);
1540 return rc;
1626 enum _ecore_status_t rc;
1630 rc = ecore_fw_vport(p_hwfn, p_filter_cmd->vport_to_add_to,
1633 rc = ecore_fw_vport(p_hwfn, p_filter_cmd->vport_to_remove_from,
1635 if (rc != ECORE_SUCCESS)
1636 return rc;
1645 rc = ecore_sp_init_request(p_hwfn, &p_ent,
1648 if (rc != ECORE_SUCCESS) {
1649 DP_ERR(p_hwfn, "Multi-cast command failed %d\n", rc);
1650 return rc;
1682 rc = ecore_spq_post(p_hwfn, p_ent, OSAL_NULL);
1683 if (rc != ECORE_SUCCESS)
1684 DP_ERR(p_hwfn, "Multicast filter command failed %d\n", rc);
1686 return rc;
1694 enum _ecore_status_t rc = ECORE_SUCCESS;
1712 rc = ecore_sp_eth_filter_mcast(p_hwfn,
1716 if (rc != ECORE_SUCCESS)
1720 return rc;
1728 enum _ecore_status_t rc = ECORE_SUCCESS;
1736 rc = ecore_vf_pf_filter_ucast(p_hwfn, p_filter_cmd);
1741 rc = ecore_sp_eth_filter_ucast(p_hwfn,
1746 if (rc != ECORE_SUCCESS)
1750 return rc;
2188 enum _ecore_status_t rc = ECORE_NOTIMPL;
2190 rc = ecore_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id);
2191 if (rc != ECORE_SUCCESS)
2192 return rc;
2195 rc = ecore_fw_l2_queue(p_hwfn, p_params->qid, &abs_rx_q_id);
2196 if (rc != ECORE_SUCCESS)
2197 return rc;
2213 rc = ecore_sp_init_request(p_hwfn, &p_ent,
2216 if (rc != ECORE_SUCCESS)
2217 return rc;
2253 enum _ecore_status_t rc;
2255 rc = ecore_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY +
2259 if (rc != ECORE_SUCCESS) {
2260 DP_ERR(p_hwfn, "dmae_grc2host failed %d\n", rc);
2261 return rc;
2288 enum _ecore_status_t rc;
2290 rc = ecore_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY +
2294 if (rc != ECORE_SUCCESS) {
2295 DP_ERR(p_hwfn, "dmae_grc2host failed %d\n", rc);
2296 return rc;
2320 enum _ecore_status_t rc = ECORE_SUCCESS;
2325 rc = ecore_vf_pf_get_coalesce(p_hwfn, p_coal, p_cid);
2326 if (rc != ECORE_SUCCESS)
2330 return rc;
2339 rc = ecore_get_rxq_coalesce(p_hwfn, p_ptt, p_cid, p_coal);
2340 if (rc != ECORE_SUCCESS)
2343 rc = ecore_get_txq_coalesce(p_hwfn, p_ptt, p_cid, p_coal);
2344 if (rc != ECORE_SUCCESS)
2351 return rc;