| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | rhead_virtio.c | 25 efx_mcdi_req_t req; in rhead_virtio_qstart() local 117 if (req.emr_rc != 0) { in rhead_virtio_qstart() 118 rc = req.emr_rc; in rhead_virtio_qstart() 143 efx_mcdi_req_t req; in rhead_virtio_qstop() local 164 rc = req.emr_rc; in rhead_virtio_qstop() 196 efx_mcdi_req_t req; in rhead_virtio_get_doorbell_offset() local 231 rc = req.emr_rc; in rhead_virtio_get_doorbell_offset() 289 efx_mcdi_req_t req; in rhead_virtio_get_features() local 312 rc = req.emr_rc; in rhead_virtio_get_features() 341 efx_mcdi_req_t req; in rhead_virtio_verify_features() local [all …]
|
| H A D | ef10_evb.c | 38 efx_mcdi_req_t req; in efx_mcdi_vswitch_alloc() local 68 rc = req.emr_rc; in efx_mcdi_vswitch_alloc() 103 efx_mcdi_req_t req; in efx_mcdi_vswitch_free() local 117 rc = req.emr_rc; in efx_mcdi_vswitch_free() 138 efx_mcdi_req_t req; in efx_mcdi_vport_alloc() local 172 rc = req.emr_rc; in efx_mcdi_vport_alloc() 211 rc = req.emr_rc; in efx_mcdi_vport_free() 246 rc = req.emr_rc; in efx_mcdi_vport_mac_addr_add() 281 rc = req.emr_rc; in efx_mcdi_vport_mac_addr_del() 318 rc = req.emr_rc; in efx_mcdi_port_assign() [all …]
|
| H A D | efx_mcdi.c | 684 rc = req.emr_rc; in efx_mcdi_get_client_handle() 1090 rc = req.emr_rc; in efx_mcdi_get_version() 1101 if (req.emr_out_length_used < req.emr_out_length) { in efx_mcdi_get_version() 1174 rc = req.emr_rc; in efx_mcdi_get_boot_status() 1272 rc = req.emr_rc; in efx_mcdi_get_capabilities() 1356 if (req.emr_rc != 0 && req.emr_rc != EIO) { in efx_mcdi_do_reboot() 1357 rc = req.emr_rc; in efx_mcdi_do_reboot() 1428 rc = req.emr_rc; in efx_mcdi_read_assertion() 1533 rc = req.emr_rc; in efx_mcdi_drv_attach() 1574 rc = req.emr_rc; [all …]
|
| H A D | ef10_proxy.c | 43 efx_mcdi_req_t req; in efx_mcdi_proxy_configure() local 84 rc = req.emr_rc; in efx_mcdi_proxy_configure() 106 efx_mcdi_req_t req; in efx_mcdi_privilege_modify() local 135 rc = req.emr_rc; in efx_mcdi_privilege_modify() 262 efx_mcdi_req_t req; in efx_mcdi_privilege_mask_set() local 283 rc = req.emr_rc; in efx_mcdi_privilege_mask_set() 313 rc = req.emr_rc; in efx_mcdi_privilege_mask_set() 355 efx_mcdi_req_t req; in efx_mcdi_proxy_complete() local 371 rc = req.emr_rc; in efx_mcdi_proxy_complete() 405 efx_mcdi_req_t req; in efx_mcdi_proxy_cmd() local [all …]
|
| H A D | ef10_nic.c | 22 efx_mcdi_req_t req; in efx_mcdi_get_port_assignment() local 38 rc = req.emr_rc; in efx_mcdi_get_port_assignment() 66 efx_mcdi_req_t req; in efx_mcdi_get_port_modes() local 82 rc = req.emr_rc; in efx_mcdi_get_port_modes() 254 rc = req.emr_rc; in efx_mcdi_vadaptor_alloc() 287 rc = req.emr_rc; in efx_mcdi_vadaptor_free() 324 rc = req.emr_rc; 383 rc = req.emr_rc; 442 rc = req.emr_rc; in efx_mcdi_get_clock() 496 rc = req.emr_rc; in efx_mcdi_get_rxdp_config() [all …]
|
| H A D | efx_nvram.c | 550 efx_mcdi_req_t req; in efx_mcdi_nvram_partitions() local 565 rc = req.emr_rc; in efx_mcdi_nvram_partitions() 612 efx_mcdi_req_t req; variable 628 rc = req.emr_rc; 715 rc = req.emr_rc; in efx_mcdi_nvram_info() 783 rc = req.emr_rc; in efx_mcdi_nvram_update_start() 828 rc = req.emr_rc; in efx_mcdi_nvram_read() 876 rc = req.emr_rc; in efx_mcdi_nvram_erase() 939 rc = req.emr_rc; in efx_mcdi_nvram_write() 1004 rc = req.emr_rc; in efx_mcdi_nvram_update_finish() [all …]
|
| H A D | siena_phy.c | 171 efx_mcdi_req_t req; in siena_phy_get_link() local 185 rc = req.emr_rc; in siena_phy_get_link() 245 efx_mcdi_req_t req; in siena_phy_reconfigure() local 306 rc = req.emr_rc; in siena_phy_reconfigure() 342 rc = req.emr_rc; in siena_phy_reconfigure() 360 efx_mcdi_req_t req; in siena_phy_verify() local 375 rc = req.emr_rc; in siena_phy_verify() 528 efx_mcdi_req_t req; in siena_phy_stats_update() local 552 rc = req.emr_rc; in siena_phy_stats_update() 627 efx_mcdi_req_t req; variable [all …]
|
| H A D | ef10_phy.c | 264 efx_mcdi_req_t req; in ef10_phy_get_link() local 278 if (req.emr_rc != 0) { in ef10_phy_get_link() 279 rc = req.emr_rc; in ef10_phy_get_link() 340 efx_mcdi_req_t req; in efx_mcdi_phy_set_link() local 427 rc = req.emr_rc; in efx_mcdi_phy_set_link() 444 efx_mcdi_req_t req; in efx_mcdi_phy_set_led() local 477 rc = req.emr_rc; in efx_mcdi_phy_set_led() 561 efx_mcdi_req_t req; in ef10_phy_verify() local 576 rc = req.emr_rc; in ef10_phy_verify() 710 efx_mcdi_req_t req; variable [all …]
|
| H A D | efx_mae.c | 16 efx_mcdi_req_t req; in efx_mae_get_capabilities() local 24 req.emr_in_buf = payload; in efx_mae_get_capabilities() 31 if (req.emr_rc != 0) { in efx_mae_get_capabilities() 32 rc = req.emr_rc; in efx_mae_get_capabilities() 88 efx_mcdi_req_t req; in efx_mae_get_outer_rule_caps() local 111 rc = req.emr_rc; in efx_mae_get_outer_rule_caps() 177 efx_mcdi_req_t req; in efx_mae_get_action_rule_caps() local 200 rc = req.emr_rc; in efx_mae_get_action_rule_caps() 852 rc = req.emr_rc; in efx_mcdi_mae_mport_lookup() 2260 rc = req.emr_rc; in efx_mae_outer_rule_insert() [all …]
|
| H A D | rhead_tunnel.c | 82 efx_mcdi_req_t req; in efx_mcdi_vnic_encap_rule_add() local 90 req.emr_in_buf = payload; in efx_mcdi_vnic_encap_rule_add() 92 req.emr_out_buf = payload; in efx_mcdi_vnic_encap_rule_add() 127 efx_mcdi_execute(enp, &req); in efx_mcdi_vnic_encap_rule_add() 129 if (req.emr_rc != 0) { in efx_mcdi_vnic_encap_rule_add() 130 rc = req.emr_rc; in efx_mcdi_vnic_encap_rule_add() 162 efx_mcdi_req_t req; in efx_mcdi_vnic_encap_rule_remove() local 169 req.emr_in_buf = payload; in efx_mcdi_vnic_encap_rule_remove() 171 req.emr_out_buf = payload; in efx_mcdi_vnic_encap_rule_remove() 178 if (req.emr_rc != 0) { in efx_mcdi_vnic_encap_rule_remove() [all …]
|
| H A D | efx_lic.c | 303 efx_mcdi_req_t req; in efx_mcdi_fc_license_update_license() local 324 rc = req.emr_rc; in efx_mcdi_fc_license_update_license() 348 efx_mcdi_req_t req; in efx_mcdi_fc_license_get_key_stats() local 370 rc = req.emr_rc; in efx_mcdi_fc_license_get_key_stats() 689 rc = req.emr_rc; in efx_mcdi_licensed_app_state() 739 rc = req.emr_rc; in efx_mcdi_licensing_update_licenses() 782 rc = req.emr_rc; in efx_mcdi_licensing_get_key_stats() 845 rc = req.emr_rc; in efx_mcdi_licensing_v3_update_licenses() 882 rc = req.emr_rc; in efx_mcdi_licensing_v3_report_license() 948 rc = req.emr_rc; in efx_mcdi_licensing_v3_app_state() [all …]
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_hwrm.c | 284 req->req_type, req->seq_id); in bnxt_hwrm_send_message() 1459 if (req.auto_pause && !req.force_pause) in bnxt_hwrm_port_phy_cfg() 2364 rc = bnxt_hwrm_send_message(bp, &req, sizeof(req), in bnxt_hwrm_vnic_rss_cfg_p5() 3533 req->min_rsscos_ctx = req->max_rsscos_ctx; in bnxt_fill_vf_func_cfg_req_new() 3535 req->min_stat_ctx = req->max_stat_ctx; in bnxt_fill_vf_func_cfg_req_new() 3538 req->min_cmpl_rings = req->max_cmpl_rings; in bnxt_fill_vf_func_cfg_req_new() 3540 req->min_tx_rings = req->max_tx_rings; in bnxt_fill_vf_func_cfg_req_new() 3542 req->min_rx_rings = req->max_rx_rings; in bnxt_fill_vf_func_cfg_req_new() 3544 req->min_l2_ctxs = req->max_l2_ctxs; in bnxt_fill_vf_func_cfg_req_new() 3546 req->min_vnics = req->max_vnics; in bnxt_fill_vf_func_cfg_req_new() [all …]
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_ops.c | 184 if (req == NULL) in roc_nix_lso_custom_fmt_setup() 212 if (req == NULL) in roc_nix_lso_fmt_setup() 228 if (req == NULL) in roc_nix_lso_fmt_setup() 244 if (req == NULL) in roc_nix_lso_fmt_setup() 258 if (req == NULL) in roc_nix_lso_fmt_setup() 272 if (req == NULL) in roc_nix_lso_fmt_setup() 286 if (req == NULL) in roc_nix_lso_fmt_setup() 300 if (req == NULL) in roc_nix_lso_fmt_setup() 314 if (req == NULL) in roc_nix_lso_fmt_setup() 328 if (req == NULL) in roc_nix_lso_fmt_setup() [all …]
|
| H A D | roc_nix_fc.c | 43 if (req == NULL) in nix_fc_rxchan_bpid_set() 63 if (req == NULL) in nix_fc_rxchan_bpid_set() 82 if (req == NULL) in nix_fc_rxchan_bpid_set() 93 if (req == NULL) in nix_fc_rxchan_bpid_set() 261 req->set = 0; in roc_nix_fc_mode_get() 306 req->set = 1; in roc_nix_fc_mode_set() 376 req->aura_mask.bp_ena = ~(req->aura_mask.bp_ena); in rox_nix_fc_npa_bp_cfg() 398 req->aura_mask.nix1_bpid = ~(req->aura_mask.nix1_bpid); in rox_nix_fc_npa_bp_cfg() 401 req->aura_mask.nix0_bpid = ~(req->aura_mask.nix0_bpid); in rox_nix_fc_npa_bp_cfg() 405 req->aura_mask.bp = ~(req->aura_mask.bp); in rox_nix_fc_npa_bp_cfg() [all …]
|
| H A D | roc_nix_mcast.c | 27 if (req == NULL) in roc_nix_mcast_mcam_entry_alloc() 29 req->priority = priority; in roc_nix_mcast_mcam_entry_alloc() 30 req->count = nb_entries; in roc_nix_mcast_mcam_entry_alloc() 50 if (req == NULL) in roc_nix_mcast_mcam_entry_free() 52 req->entry = index; in roc_nix_mcast_mcam_entry_free() 67 if (req == NULL) in roc_nix_mcast_mcam_entry_write() 69 req->entry = index; in roc_nix_mcast_mcam_entry_write() 70 req->intf = intf; in roc_nix_mcast_mcam_entry_write() 88 if (req == NULL) in roc_nix_mcast_mcam_entry_ena_dis() 92 if (req == NULL) in roc_nix_mcast_mcam_entry_ena_dis() [all …]
|
| H A D | roc_ree.c | 54 if (req == NULL) { in roc_ree_queues_attach() 80 if (req == NULL) { in roc_ree_queues_detach() 84 req->reelfs = true; in roc_ree_queues_detach() 147 if (req == NULL) { in roc_ree_config_lf() 152 req->lf = lf; in roc_ree_config_lf() 154 req->size = size; in roc_ree_config_lf() 248 if (!req) { in roc_ree_rule_db_get() 275 if (!req) { in roc_ree_rule_db_get() 311 if (!req) { in roc_ree_rule_db_len_get() 346 if (!req) { in ree_db_msg() [all …]
|
| H A D | roc_nix_rss.c | 64 if (!req) { in nix_cn9k_rss_reta_set() 72 if (!req) in nix_cn9k_rss_reta_set() 75 req->rss.rq = reta[idx]; in nix_cn9k_rss_reta_set() 85 if (!req) { in nix_cn9k_rss_reta_set() 93 if (!req) in nix_cn9k_rss_reta_set() 96 req->rss.rq = reta[idx]; in nix_cn9k_rss_reta_set() 121 if (!req) { in nix_rss_reta_set() 129 if (!req) in nix_rss_reta_set() 132 req->rss.rq = reta[idx]; in nix_rss_reta_set() 142 if (!req) { in nix_rss_reta_set() [all …]
|
| H A D | roc_nix_vlan.c | 26 if (req == NULL) in roc_nix_vlan_mcam_entry_read() 28 req->entry = index; in roc_nix_vlan_mcam_entry_read() 44 if (req == NULL) in roc_nix_vlan_mcam_entry_write() 46 req->entry = index; in roc_nix_vlan_mcam_entry_write() 47 req->intf = intf; in roc_nix_vlan_mcam_entry_write() 65 if (req == NULL) in roc_nix_vlan_mcam_entry_alloc_and_write() 69 req->intf = intf; in roc_nix_vlan_mcam_entry_alloc_and_write() 88 if (req == NULL) in roc_nix_vlan_mcam_entry_free() 90 req->entry = index; in roc_nix_vlan_mcam_entry_free() 105 if (req == NULL) in roc_nix_vlan_mcam_entry_ena_dis() [all …]
|
| H A D | roc_npc_mcam.c | 16 if (req == NULL) in npc_mcam_alloc_counter() 18 req->count = 1; in npc_mcam_alloc_counter() 34 if (req == NULL) in npc_mcam_free_counter() 36 req->cntr = ctr_id; in npc_mcam_free_counter() 49 if (req == NULL) in npc_mcam_read_counter() 51 req->cntr = ctr_id; in npc_mcam_read_counter() 67 if (req == NULL) in npc_mcam_clear_counter() 81 if (req == NULL) in npc_mcam_free_entry() 95 if (req == NULL) in npc_mcam_free_all_entries() 97 req->all = 1; in npc_mcam_free_all_entries() [all …]
|
| H A D | roc_tim.c | 100 if (req == NULL) in roc_tim_lf_enable() 102 req->ring = ring_id; in roc_tim_lf_enable() 131 if (req == NULL) in roc_tim_lf_disable() 133 req->ring = ring_id; in roc_tim_lf_disable() 167 if (req == NULL) in roc_tim_lf_config() 169 req->ring = ring_id; in roc_tim_lf_config() 205 if (req == NULL) in roc_tim_lf_interval() 238 if (req == NULL) in roc_tim_lf_alloc() 242 req->ring = ring_id; in roc_tim_lf_alloc() 288 if (req == NULL) in roc_tim_lf_free() [all …]
|
| H A D | roc_nix_mac.c | 142 if (req == NULL) in roc_nix_mac_addr_del() 144 req->index = index; in roc_nix_mac_addr_del() 200 if (req == NULL) in roc_nix_mac_link_state_set() 202 req->enable = up; in roc_nix_mac_link_state_set() 220 if (req == NULL) in roc_nix_mac_link_info_set() 234 struct nix_frs_cfg *req; in roc_nix_mac_mtu_set() local 242 if (req == NULL) in roc_nix_mac_mtu_set() 244 req->maxlen = mtu; in roc_nix_mac_mtu_set() 245 req->update_smq = true; in roc_nix_mac_mtu_set() 270 if (req == NULL) in roc_nix_mac_max_rx_len_set() [all …]
|
| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_msg.c | 404 req.fw_session_id = 0; in tf_msg_session_resc_qcaps() 406 req.qcaps_size = size; in tf_msg_session_resc_qcaps() 510 req.req_size = size; in tf_msg_session_resc_alloc() 617 req.req_size = size; in tf_msg_session_resc_info() 725 req.flush_size = size; in tf_msg_session_resc_flush() 1591 data_size = 2 * req.key_size + req.result_size; in tf_msg_tcam_entry_set() 1731 req.count = 1; in tf_msg_tcam_entry_free() 2215 req.fw_session_id = in tf_msg_get_if_tbl_entry() 2217 req.flags = flags; in tf_msg_get_if_tbl_entry() 2271 req.fw_session_id = in tf_msg_set_if_tbl_entry() [all …]
|
| /dpdk/examples/ip_pipeline/ |
| H A D | thread.c | 310 if (req == NULL) in thread_pipeline_enable() 402 if (req == NULL) in thread_pipeline_disable() 440 return req; in thread_msg_recv() 535 if (req == NULL) in thread_msg_handle() 802 if (req == NULL) in pipeline_port_in_stats_read() 849 if (req == NULL) in pipeline_port_in_enable() 893 if (req == NULL) in pipeline_port_in_disable() 944 if (req == NULL) in pipeline_port_out_stats_read() 998 if (req == NULL) in pipeline_table_stats_read() 1698 if (req == NULL) in pipeline_table_rule_delete() [all …]
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_thread.c | 342 if (req == NULL) in softnic_thread_pipeline_enable() 432 if (req == NULL) in softnic_thread_pipeline_disable() 474 return req; in thread_msg_recv() 564 if (req == NULL) in thread_msg_handle() 824 if (req == NULL) in softnic_pipeline_port_in_stats_read() 872 if (req == NULL) in softnic_pipeline_port_in_enable() 917 if (req == NULL) in softnic_pipeline_port_in_disable() 969 if (req == NULL) in softnic_pipeline_port_out_stats_read() 1024 if (req == NULL) in softnic_pipeline_table_stats_read() 1301 if (req == NULL) in softnic_pipeline_table_rule_add() [all …]
|
| /dpdk/lib/eal/common/ |
| H A D | hotplug_mp.c | 73 memcpy(resp, req, sizeof(*req)); in send_response_to_secondary() 88 const struct eal_dev_mp_req *req = in __handle_secondary_request() local 96 tmp_req = *req; in __handle_secondary_request() 239 switch (req->t) { in __handle_primary_request() 373 memcpy(mp_req.param, req, sizeof(*req)); in eal_dev_hotplug_request_to_primary() 374 mp_req.len_param = sizeof(*req); in eal_dev_hotplug_request_to_primary() 386 req->result = resp->result; in eal_dev_hotplug_request_to_primary() 401 memcpy(mp_req.param, req, sizeof(*req)); in eal_dev_hotplug_request_to_secondary() 402 mp_req.len_param = sizeof(*req); in eal_dev_hotplug_request_to_secondary() 421 req->result = 0; in eal_dev_hotplug_request_to_secondary() [all …]
|