Lines Matching refs:v_ret
419 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_get_vf_res_msg() local
427 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_get_vf_res_msg()
435 v_ret = VIRTCHNL_STATUS_ERR_NO_MEMORY; in ice_vc_get_vf_res_msg()
449 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_get_vf_res_msg()
522 ret = ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_GET_VF_RESOURCES, v_ret, in ice_vc_get_vf_res_msg()
773 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_handle_rss_cfg() local
781 v_ret = VIRTCHNL_STATUS_ERR_NOT_SUPPORTED; in ice_vc_handle_rss_cfg()
788 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_rss_cfg()
793 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_rss_cfg()
802 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_rss_cfg()
808 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_rss_cfg()
813 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_rss_cfg()
828 v_ret = VIRTCHNL_STATUS_ERR_NO_MEMORY; in ice_vc_handle_rss_cfg()
849 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_rss_cfg()
861 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_rss_cfg()
868 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_rss_cfg()
870 vsi->vsi_num, v_ret); in ice_vc_handle_rss_cfg()
882 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_rss_cfg()
890 return ice_vc_send_msg_to_vf(vf, v_opcode, v_ret, NULL, 0); in ice_vc_handle_rss_cfg()
902 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_config_rss_key() local
908 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_config_rss_key()
913 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_config_rss_key()
918 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_config_rss_key()
923 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_config_rss_key()
929 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_config_rss_key()
934 v_ret = VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR; in ice_vc_config_rss_key()
936 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_CONFIG_RSS_KEY, v_ret, in ice_vc_config_rss_key()
950 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_config_rss_lut() local
954 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_config_rss_lut()
959 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_config_rss_lut()
964 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_config_rss_lut()
969 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_config_rss_lut()
975 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_config_rss_lut()
980 v_ret = VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR; in ice_vc_config_rss_lut()
982 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_CONFIG_RSS_LUT, v_ret, in ice_vc_config_rss_lut()
995 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_cfg_promiscuous_mode_msg() local
1008 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_cfg_promiscuous_mode_msg()
1013 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_cfg_promiscuous_mode_msg()
1019 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_cfg_promiscuous_mode_msg()
1046 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_cfg_promiscuous_mode_msg()
1073 v_ret = VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR; in ice_vc_cfg_promiscuous_mode_msg()
1088 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_cfg_promiscuous_mode_msg()
1123 v_ret, NULL, 0); in ice_vc_cfg_promiscuous_mode_msg()
1135 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_get_stats_msg() local
1142 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_get_stats_msg()
1147 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_get_stats_msg()
1153 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_get_stats_msg()
1163 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_GET_STATS, v_ret, in ice_vc_get_stats_msg()
1238 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_ena_qs_msg() local
1246 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_qs_msg()
1251 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_qs_msg()
1256 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_qs_msg()
1262 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_qs_msg()
1273 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_qs_msg()
1284 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_qs_msg()
1295 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_qs_msg()
1308 if (v_ret == VIRTCHNL_STATUS_SUCCESS) in ice_vc_ena_qs_msg()
1313 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_ENABLE_QUEUES, v_ret, in ice_vc_ena_qs_msg()
1366 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_dis_qs_msg() local
1375 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_qs_msg()
1380 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_qs_msg()
1385 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_qs_msg()
1391 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_qs_msg()
1400 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_qs_msg()
1405 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_qs_msg()
1418 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_qs_msg()
1426 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_qs_msg()
1438 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_qs_msg()
1448 if (v_ret == VIRTCHNL_STATUS_SUCCESS && ice_vf_has_no_qs_ena(vf)) in ice_vc_dis_qs_msg()
1453 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_DISABLE_QUEUES, v_ret, in ice_vc_dis_qs_msg()
1517 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_cfg_irq_map_msg() local
1535 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_cfg_irq_map_msg()
1541 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_cfg_irq_map_msg()
1558 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_cfg_irq_map_msg()
1571 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_cfg_irq_map_msg()
1576 v_ret = (enum virtchnl_status_code) in ice_vc_cfg_irq_map_msg()
1578 if (v_ret) in ice_vc_cfg_irq_map_msg()
1584 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_CONFIG_IRQ_MAP, v_ret, in ice_vc_cfg_irq_map_msg()
1997 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_handle_mac_addr_msg() local
2015 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_mac_addr_msg()
2027 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_mac_addr_msg()
2033 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_handle_mac_addr_msg()
2049 v_ret = VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR; in ice_vc_handle_mac_addr_msg()
2056 return ice_vc_send_msg_to_vf(vf, vc_op, v_ret, NULL, 0); in ice_vc_handle_mac_addr_msg()
2095 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_request_qs_msg() local
2107 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_request_qs_msg()
2140 v_ret, (u8 *)vfres, sizeof(*vfres)); in ice_vc_request_qs_msg()
2241 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_process_vlan_msg() local
2253 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2258 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2263 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2269 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2278 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2295 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2332 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2341 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2348 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2356 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2387 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_process_vlan_msg()
2405 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_ADD_VLAN, v_ret, in ice_vc_process_vlan_msg()
2408 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_DEL_VLAN, v_ret, in ice_vc_process_vlan_msg()
2444 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_ena_vlan_stripping() local
2448 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_stripping()
2453 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_stripping()
2459 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_stripping()
2464 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_stripping()
2468 v_ret, NULL, 0); in ice_vc_ena_vlan_stripping()
2479 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_dis_vlan_stripping() local
2483 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_stripping()
2488 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_stripping()
2494 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_stripping()
2499 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_stripping()
2503 v_ret, NULL, 0); in ice_vc_dis_vlan_stripping()
2512 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_get_rss_hena() local
2517 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_get_rss_hena()
2523 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_get_rss_hena()
2530 v_ret = VIRTCHNL_STATUS_ERR_NO_MEMORY; in ice_vc_get_rss_hena()
2538 ret = ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_GET_RSS_HENA_CAPS, v_ret, in ice_vc_get_rss_hena()
2552 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_set_rss_hena() local
2561 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_set_rss_hena()
2567 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_set_rss_hena()
2573 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_set_rss_hena()
2586 v_ret = ice_err_to_virt_err(status); in ice_vc_set_rss_hena()
2599 v_ret = ice_err_to_virt_err(status); in ice_vc_set_rss_hena()
2604 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_SET_RSS_HENA, v_ret, in ice_vc_set_rss_hena()
2617 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_query_rxdid() local
2626 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_query_rxdid()
2631 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_query_rxdid()
2638 v_ret = VIRTCHNL_STATUS_ERR_NO_MEMORY; in ice_vc_query_rxdid()
2661 v_ret, (u8 *)rxdid, len); in ice_vc_query_rxdid()
2864 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_get_offload_vlan_v2_caps() local
2869 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_get_offload_vlan_v2_caps()
2875 v_ret = VIRTCHNL_STATUS_ERR_NO_MEMORY; in ice_vc_get_offload_vlan_v2_caps()
2890 v_ret, (u8 *)caps, len); in ice_vc_get_offload_vlan_v2_caps()
3107 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_remove_vlan_v2_msg() local
3112 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_remove_vlan_v2_msg()
3117 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_remove_vlan_v2_msg()
3123 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_remove_vlan_v2_msg()
3128 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_remove_vlan_v2_msg()
3131 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_DEL_VLAN_V2, v_ret, NULL, in ice_vc_remove_vlan_v2_msg()
3241 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_add_vlan_v2_msg() local
3247 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_add_vlan_v2_msg()
3252 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_add_vlan_v2_msg()
3258 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_add_vlan_v2_msg()
3265 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_add_vlan_v2_msg()
3270 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_add_vlan_v2_msg()
3273 return ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_ADD_VLAN_V2, v_ret, NULL, in ice_vc_add_vlan_v2_msg()
3434 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_ena_vlan_stripping_v2_msg() local
3442 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_stripping_v2_msg()
3447 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_stripping_v2_msg()
3453 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_stripping_v2_msg()
3459 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_stripping_v2_msg()
3468 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_stripping_v2_msg()
3490 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_stripping_v2_msg()
3496 v_ret, NULL, 0); in ice_vc_ena_vlan_stripping_v2_msg()
3508 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_dis_vlan_stripping_v2_msg() local
3516 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_stripping_v2_msg()
3521 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_stripping_v2_msg()
3527 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_stripping_v2_msg()
3533 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_stripping_v2_msg()
3540 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_stripping_v2_msg()
3560 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_stripping_v2_msg()
3566 v_ret, NULL, 0); in ice_vc_dis_vlan_stripping_v2_msg()
3578 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_ena_vlan_insertion_v2_msg() local
3586 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_insertion_v2_msg()
3591 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_insertion_v2_msg()
3597 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_insertion_v2_msg()
3603 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_insertion_v2_msg()
3611 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_insertion_v2_msg()
3619 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_ena_vlan_insertion_v2_msg()
3625 v_ret, NULL, 0); in ice_vc_ena_vlan_insertion_v2_msg()
3637 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_dis_vlan_insertion_v2_msg() local
3645 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_insertion_v2_msg()
3650 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_insertion_v2_msg()
3656 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_insertion_v2_msg()
3662 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_insertion_v2_msg()
3668 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_insertion_v2_msg()
3674 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_dis_vlan_insertion_v2_msg()
3680 v_ret, NULL, 0); in ice_vc_dis_vlan_insertion_v2_msg()
3737 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS; in ice_vc_repr_add_mac() local
3746 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_repr_add_mac()
3754 v_ret = VIRTCHNL_STATUS_ERR_PARAM; in ice_vc_repr_add_mac()
3767 v_ret = VIRTCHNL_STATUS_ERR_NOT_SUPPORTED; in ice_vc_repr_add_mac()
3778 v_ret, NULL, 0); in ice_vc_repr_add_mac()