Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/dpdk/lib/mempool/
H A Drte_mempool_ops.c26 struct rte_mempool_ops *ops; in rte_mempool_register_ops() local
56 ops = &rte_mempool_ops_table.ops[ops_index]; in rte_mempool_register_ops()
57 strlcpy(ops->name, h->name, sizeof(ops->name)); in rte_mempool_register_ops()
58 ops->alloc = h->alloc; in rte_mempool_register_ops()
59 ops->free = h->free; in rte_mempool_register_ops()
60 ops->enqueue = h->enqueue; in rte_mempool_register_ops()
81 return ops->alloc(mp); in rte_mempool_ops_alloc()
92 if (ops->free == NULL) in rte_mempool_ops_free()
94 ops->free(mp); in rte_mempool_ops_free()
177 ops = &rte_mempool_ops_table.ops[i]; in rte_mempool_set_ops_byname()
[all …]
/dpdk/app/test-eventdev/
H A Devt_main.c38 if (test->ops.opt_dump) in evt_options_dump_all()
39 test->ops.opt_dump(opts); in evt_options_dump_all()
88 if (test->ops.opt_check) { in main()
97 if (test->ops.cap_check) { in main()
111 if (test->ops.test_setup) { in main()
128 if (test->ops.ethdev_setup) { in main()
159 if (test->ops.ethdev_rx_stop) in main()
167 if (test->ops.test_result) in main()
170 if (test->ops.ethdev_destroy) in main()
179 if (test->ops.test_destroy) in main()
[all …]
/dpdk/drivers/net/e1000/base/
H A De1000_api.c18 if (hw->mac.ops.init_params) { in e1000_init_mac_params()
646 if (hw->mac.ops.init_hw) in e1000_init_hw()
757 if (hw->mac.ops.led_on) in e1000_led_on()
772 if (hw->mac.ops.led_off) in e1000_led_off()
838 if (hw->mac.ops.rar_set) in e1000_rar_set()
1092 if (hw->phy.ops.reset) in e1000_phy_hw_reset()
1107 if (hw->phy.ops.commit) in e1000_phy_commit()
1243 if (hw->nvm.ops.update) in e1000_update_nvm_checksum()
1258 if (hw->nvm.ops.reload) in e1000_reload_nvm()
1274 if (hw->nvm.ops.read) in e1000_read_nvm()
[all …]
H A De1000_82541.c351 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_82541()
365 mac->ops.clear_vfta(hw); in e1000_init_hw_82541()
384 ret_val = mac->ops.setup_link(hw); in e1000_init_hw_82541()
672 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541()
746 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541()
947 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_82541()
954 ret_val = phy->ops.write_reg(hw, in e1000_set_d3_lplu_state_82541()
960 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_82541()
967 ret_val = phy->ops.write_reg(hw, in e1000_set_d3_lplu_state_82541()
1150 hw->phy.ops.write_reg(hw, in e1000_phy_init_script_82541()
[all …]
H A De1000_82540.c52 phy->ops.read_reg = e1000_read_phy_reg_m88; in e1000_init_phy_params_82540()
55 phy->ops.get_info = e1000_get_phy_info_m88; in e1000_init_phy_params_82540()
114 nvm->ops.read = e1000_read_nvm_microwire; in e1000_init_nvm_params_82540()
164 mac->ops.reset_hw = e1000_reset_hw_82540; in e1000_init_mac_params_82540()
166 mac->ops.init_hw = e1000_init_hw_82540; in e1000_init_mac_params_82540()
170 mac->ops.setup_physical_interface = in e1000_init_mac_params_82540()
191 mac->ops.get_link_up_info = in e1000_init_mac_params_82540()
210 mac->ops.led_on = e1000_led_on_generic; in e1000_init_mac_params_82540()
308 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_82540()
319 mac->ops.clear_vfta(hw); in e1000_init_hw_82540()
[all …]
H A De1000_phy.c210 if (!phy->ops.read_reg) in e1000_get_phy_id()
248 if (!hw->phy.ops.write_reg) in e1000_phy_reset_dsp_generic()
637 if (!hw->phy.ops.acquire) in e1000_read_phy_reg_m88()
647 hw->phy.ops.release(hw); in e1000_read_phy_reg_m88()
667 if (!hw->phy.ops.acquire) in e1000_write_phy_reg_m88()
677 hw->phy.ops.release(hw); in e1000_write_phy_reg_m88()
738 hw->phy.ops.release(hw); in __e1000_read_phy_reg_igp()
807 hw->phy.ops.release(hw); in __e1000_write_phy_reg_igp()
880 hw->phy.ops.release(hw); in __e1000_read_kmrn_reg()
952 hw->phy.ops.release(hw); in __e1000_write_kmrn_reg()
[all …]
H A De1000_82571.c243 nvm->ops.read = e1000_read_nvm_eerd; in e1000_init_nvm_params_82571()
274 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
285 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
293 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
964 if (!(phy->ops.read_reg)) in e1000_set_d0_lplu_state_82571()
998 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571()
1011 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571()
1179 mac->ops.clear_vfta(hw); in e1000_init_hw_82571()
1905 ret_val = nvm->ops.update(hw); in e1000_fix_nvm_checksum_82571()
1950 if (!phy->ops.check_reset_block) in e1000_power_down_phy_copper_82571()
[all …]
H A De1000_80003es2lan.c152 nvm->ops.read = e1000_read_nvm_eerd; in e1000_init_nvm_params_80003es2lan()
177 mac->ops.setup_physical_interface = in e1000_init_mac_params_80003es2lan()
183 mac->ops.setup_physical_interface = in e1000_init_mac_params_80003es2lan()
239 hw->mac.ops.set_lan_id(hw); in e1000_init_mac_params_80003es2lan()
640 if (!(hw->phy.ops.read_reg)) in e1000_phy_force_speed_duplex_80003es2lan()
735 if (!(hw->phy.ops.read_reg)) in e1000_get_cable_length_80003es2lan()
773 hw->phy.ops.cfg_on_link_up(hw); in e1000_get_link_up_info_80003es2lan()
867 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_80003es2lan()
874 mac->ops.clear_vfta(hw); in e1000_init_hw_80003es2lan()
885 ret_val = mac->ops.setup_link(hw); in e1000_init_hw_80003es2lan()
[all …]
H A De1000_82575.c234 phy->ops.force_speed_duplex = in e1000_init_phy_params_82575()
272 hw->mac.ops.check_for_link = in e1000_init_phy_params_82575()
383 mac->ops.validate_mdi_setting = in e1000_init_mac_params_82575()
410 hw->mac.ops.set_lan_id(hw); in e1000_init_mac_params_82575()
541 hw->phy.ops.release(hw); in e1000_read_phy_reg_sgmii_82575()
574 hw->phy.ops.release(hw); in e1000_write_phy_reg_sgmii_82575()
703 if (!(hw->phy.ops.write_reg)) in e1000_phy_hw_reset_sgmii_82575()
745 if (!(hw->phy.ops.read_reg)) in e1000_set_d0_lplu_state_82575()
1433 mac->ops.clear_vfta(hw); in e1000_init_hw_82575()
2199 hw->phy.ops.release(hw); in e1000_read_phy_reg_82580()
[all …]
H A De1000_ich8lan.c3455 nvm->ops.acquire(hw); in e1000_read_nvm_spt()
3511 nvm->ops.release(hw); in e1000_read_nvm_spt()
3548 nvm->ops.acquire(hw); in e1000_read_nvm_ich8lan()
3573 nvm->ops.release(hw); in e1000_read_nvm_ich8lan()
3964 nvm->ops.acquire(hw); in e1000_write_nvm_ich8lan()
3971 nvm->ops.release(hw); in e1000_write_nvm_ich8lan()
4004 nvm->ops.acquire(hw); in e1000_update_nvm_checksum_spt()
4121 nvm->ops.release(hw); in e1000_update_nvm_checksum_spt()
4127 nvm->ops.reload(hw); in e1000_update_nvm_checksum_spt()
4166 nvm->ops.acquire(hw); in e1000_update_nvm_checksum_ich8lan()
[all …]
H A De1000_mbx.c59 if (mbx->ops.read) in e1000_read_mbx()
84 else if (mbx->ops.write) in e1000_write_mbx()
104 if (mbx->ops.check_for_msg) in e1000_check_for_msg()
124 if (mbx->ops.check_for_ack) in e1000_check_for_ack()
144 if (mbx->ops.check_for_rst) in e1000_check_for_rst()
229 if (!mbx->ops.read) in e1000_read_posted_mbx()
259 if (!mbx->ops.write || !mbx->timeout) in e1000_write_posted_mbx()
523 mbx->ops.read = e1000_read_mbx_vf; in e1000_init_mbx_params_vf()
524 mbx->ops.write = e1000_write_mbx_vf; in e1000_init_mbx_params_vf()
749 mbx->ops.read = e1000_read_mbx_pf; in e1000_init_mbx_params_pf()
[all …]
/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_api.c39 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc()
40 hw->mac.ops.get_rtrup2tc(hw, map); in ixgbe_dcb_get_rtrup2tc()
1290 if (hw->mac.ops.disable_mdd) in ixgbe_disable_mdd()
1291 hw->mac.ops.disable_mdd(hw); in ixgbe_disable_mdd()
1301 if (hw->mac.ops.enable_mdd) in ixgbe_enable_mdd()
1302 hw->mac.ops.enable_mdd(hw); in ixgbe_enable_mdd()
1313 if (hw->mac.ops.mdd_event) in ixgbe_mdd_event()
1667 if (hw->mac.ops.disable_rx) in ixgbe_disable_rx()
1668 hw->mac.ops.disable_rx(hw); in ixgbe_disable_rx()
1673 if (hw->mac.ops.enable_rx) in ixgbe_enable_rx()
[all …]
H A Dixgbe_x540.c44 eeprom->ops.read = ixgbe_read_eerd_X540; in ixgbe_init_ops_X540()
46 eeprom->ops.write = ixgbe_write_eewr_X540; in ixgbe_init_ops_X540()
54 phy->ops.reset = NULL; in ixgbe_init_ops_X540()
58 mac->ops.reset_hw = ixgbe_reset_hw_X540; in ixgbe_init_ops_X540()
61 mac->ops.get_supported_physical_layer = in ixgbe_init_ops_X540()
63 mac->ops.read_analog_reg8 = NULL; in ixgbe_init_ops_X540()
64 mac->ops.write_analog_reg8 = NULL; in ixgbe_init_ops_X540()
65 mac->ops.start_hw = ixgbe_start_hw_X540; in ixgbe_init_ops_X540()
91 mac->ops.get_link_capabilities = in ixgbe_init_ops_X540()
187 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_X540()
[all …]
H A Dixgbe_x550.c36 mac->ops.setup_eee = NULL; in ixgbe_init_ops_X550()
62 hw->mac.ops.led_on = NULL; in ixgbe_init_ops_X550()
63 hw->mac.ops.led_off = NULL; in ixgbe_init_ops_X550()
318 hw->mac.ops.set_lan_id(hw); in ixgbe_identify_phy_x550em()
633 mac->ops.setup_fc = NULL; in ixgbe_init_ops_X550EM()
639 mac->ops.setup_fc = NULL; in ixgbe_init_ops_X550EM()
1593 hw->phy.ops.reset = NULL; in ixgbe_setup_sfp_modules_X550em()
1824 mac->ops.check_link = in ixgbe_init_mac_link_ops_X550em()
1827 mac->ops.setup_link = in ixgbe_init_mac_link_ops_X550em()
2309 phy->ops.reset = NULL; in ixgbe_init_phy_ops_X550em()
[all …]
/dpdk/drivers/raw/ifpga/base/
H A Dopae_hw_api.c32 br->ops = ops; in opae_bridge_alloc()
51 if (br->ops && br->ops->reset) in opae_bridge_reset()
79 acc->ops = ops; in opae_accelerator_alloc()
103 if (acc->ops && acc->ops->read) in opae_acc_reg_read()
125 if (acc->ops && acc->ops->write) in opae_acc_reg_write()
143 if (acc->ops && acc->ops->get_info) in opae_acc_get_info()
186 if (acc->ops && acc->ops->set_irq) in opae_acc_set_irq()
205 if (acc->ops && acc->ops->get_uuid) in opae_acc_get_uuid()
232 mgr->ops = ops; in opae_manager_alloc()
982 if (mgr->ops && mgr->ops->get_uuid) in opae_mgr_get_uuid()
[all …]
/dpdk/drivers/net/igc/base/
H A Digc_api.c1127 if (hw->mac.ops.init_hw) in igc_init_hw()
1238 if (hw->mac.ops.led_on) in igc_led_on()
1253 if (hw->mac.ops.led_off) in igc_led_off()
1319 if (hw->mac.ops.rar_set) in igc_rar_set()
1471 if (hw->phy.ops.release) in igc_release_phy()
1573 if (hw->phy.ops.reset) in igc_phy_hw_reset()
1588 if (hw->phy.ops.commit) in igc_phy_commit()
1724 if (hw->nvm.ops.update) in igc_update_nvm_checksum()
1739 if (hw->nvm.ops.reload) in igc_reload_nvm()
1755 if (hw->nvm.ops.read) in igc_read_nvm()
[all …]
H A Digc_phy.c209 if (!phy->ops.read_reg) in igc_get_phy_id()
247 if (!hw->phy.ops.write_reg) in igc_phy_reset_dsp_generic()
636 if (!hw->phy.ops.acquire) in igc_read_phy_reg_m88()
646 hw->phy.ops.release(hw); in igc_read_phy_reg_m88()
666 if (!hw->phy.ops.acquire) in igc_write_phy_reg_m88()
676 hw->phy.ops.release(hw); in igc_write_phy_reg_m88()
737 hw->phy.ops.release(hw); in __igc_read_phy_reg_igp()
806 hw->phy.ops.release(hw); in __igc_write_phy_reg_igp()
879 hw->phy.ops.release(hw); in __igc_read_kmrn_reg()
951 hw->phy.ops.release(hw); in __igc_write_kmrn_reg()
[all …]
/dpdk/drivers/crypto/ipsec_mb/
H A Dpmd_zuc.c83 || ((ops[i]->sym->cipher.data.offset in process_zuc_cipher_op()
94 (ops[i]->sym->m_dst != NULL && in process_zuc_cipher_op()
96 ops[i]->sym->m_dst))) { in process_zuc_cipher_op()
104 ops[i]); in process_zuc_cipher_op()
112 dst[i] = ops[i]->sym->m_dst ? in process_zuc_cipher_op()
163 (ops[i]->sym->auth.data.offset >> 3); in process_zuc_hash_op()
188 ops[i]->status = in process_zuc_hash_op()
242 memset(ops[i]->sym->session, 0, in process_ops()
244 ops[i]->sym->session)); in process_ops()
247 ops[i]->sym->session = NULL; in process_ops()
[all …]
H A Dpmd_aesni_gcm.c11 ops[GCM_KEY_128].pre = mb_mgr->gcm128_pre; in aesni_gcm_set_ops()
277 struct aesni_gcm_ops *ops = &qp_data->ops[session->key_length]; in process_gcm_crypto_op() local
509 (void **)ops, nb_ops, NULL); in aesni_gcm_pmd_dequeue_burst()
582 struct aesni_gcm_ops ops) in aesni_gcm_process_gcm_sgl_op() argument
625 struct aesni_gcm_ops ops) in aesni_gcm_sgl_encrypt() argument
633 ops); in aesni_gcm_sgl_encrypt()
646 struct aesni_gcm_ops ops) in aesni_gcm_sgl_decrypt() argument
654 ops); in aesni_gcm_sgl_decrypt()
667 struct aesni_gcm_ops ops) in aesni_gmac_sgl_generate() argument
679 vec->iv[i].va, ops); in aesni_gmac_sgl_generate()
[all …]
H A Dpmd_snow3g.c118 if (ops[i]->sym->m_dst && in process_snow3g_cipher_op()
119 ops[i]->sym->m_src != ops[i]->sym->m_dst) { in process_snow3g_cipher_op()
160 ops[i]->sym->m_dst != NULL) { in process_snow3g_cipher_op()
263 ops[i]->sym->m_dst != NULL) in process_snow3g_hash_op()
274 ops[i]->status = in process_snow3g_hash_op()
314 (ops[i]->sym->m_dst != NULL && in process_ops()
316 ops[i]->sym->m_dst))) { in process_ops()
367 ops[i]->sym->session)); in process_ops()
370 ops[i]->sym->session = NULL; in process_ops()
449 (void **)ops, nb_ops, NULL); in snow3g_pmd_dequeue_burst()
[all …]
H A Dpmd_kasumi.c87 + (ops[i]->sym->cipher.data.offset >> 3); in process_kasumi_cipher_op()
88 dst[i] = ops[i]->sym->m_dst in process_kasumi_cipher_op()
90 + (ops[i]->sym->cipher.data.offset >> 3) in process_kasumi_cipher_op()
173 ops[i]->status in process_kasumi_hash_op()
176 dst = ops[i]->sym->auth.digest.data; in process_kasumi_hash_op()
235 ops[i]->sym->session, 0, in process_ops()
237 ops[i]->sym->session)); in process_ops()
240 ops[i]->sym->session = NULL; in process_ops()
312 (void **)ops, nb_ops, NULL); in kasumi_pmd_dequeue_burst()
314 curr_c_op = ops[i]; in kasumi_pmd_dequeue_burst()
[all …]
/dpdk/drivers/crypto/scheduler/
H A Dscheduler_pkt_size_distr.c57 rte_prefetch0(ops[i]->sym); in schedule_enqueue()
62 rte_prefetch0(ops[i + 4]->sym); in schedule_enqueue()
64 rte_prefetch0(ops[i + 5]->sym); in schedule_enqueue()
66 rte_prefetch0(ops[i + 6]->sym); in schedule_enqueue()
68 rte_prefetch0(ops[i + 7]->sym); in schedule_enqueue()
76 ops[i]->sym->auth.data.length; in schedule_enqueue()
94 ops[i+1]->sym->auth.data.length; in schedule_enqueue()
108 ops[i+2]->sym->auth.data.length; in schedule_enqueue()
138 ops[i]->sym->auth.data.length; in schedule_enqueue()
201 worker->qp_id, ops, nb_ops); in schedule_dequeue()
[all …]
/dpdk/lib/ethdev/
H A Drte_flow.c347 return ops; in rte_flow_ops_get()
362 if (unlikely(!ops)) in rte_flow_validate()
387 if (unlikely(!ops)) in rte_flow_create()
412 if (unlikely(!ops)) in rte_flow_destroy()
434 if (unlikely(!ops)) in rte_flow_flush()
459 if (!ops) in rte_flow_query()
482 if (!ops) in rte_flow_isolate()
1104 if (unlikely(!ops)) in rte_flow_dev_dump()
1125 if (unlikely(!ops)) in rte_flow_get_aged_flows()
1147 if (unlikely(!ops)) in rte_flow_action_handle_create()
[all …]
/dpdk/drivers/net/ixgbe/
H A Dixgbe_bypass.c60 FUNC_PTR_OR_RET(adapter->bps.ops.bypass_set); in ixgbe_bypass_set_time()
94 adapter->bps.ops.bypass_rw = &ixgbe_bypass_rw_generic; in ixgbe_bypass_init()
96 adapter->bps.ops.bypass_set = &ixgbe_bypass_set_generic; in ixgbe_bypass_init()
103 hw->mac.ops.disable_tx_laser = NULL; in ixgbe_bypass_init()
104 hw->mac.ops.enable_tx_laser = NULL; in ixgbe_bypass_init()
105 hw->mac.ops.flap_tx_laser = NULL; in ixgbe_bypass_init()
121 ret_val = adapter->bps.ops.bypass_rw(hw, cmd, &by_ctl); in ixgbe_bypass_state_show()
172 ret_val = adapter->bps.ops.bypass_rw(hw, cmd, &by_ctl); in ixgbe_bypass_event_show()
293 ret_val = adapter->bps.ops.bypass_rw(hw, cmd, &status); in ixgbe_bypass_ver_show()
302 ret_val = adapter->bps.ops.bypass_rw(hw, cmd, &status); in ixgbe_bypass_ver_show()
[all …]
/dpdk/lib/vhost/
H A Dvdpa.c72 struct rte_vdpa_dev_ops *ops) in rte_vdpa_register_device() argument
76 if (ops == NULL) in rte_vdpa_register_device()
80 if (!ops->get_queue_num || !ops->get_features || in rte_vdpa_register_device()
81 !ops->get_protocol_features || !ops->dev_conf || in rte_vdpa_register_device()
82 !ops->dev_close || !ops->set_vring_state || in rte_vdpa_register_device()
83 !ops->set_features) { in rte_vdpa_register_device()
102 dev->ops = ops; in rte_vdpa_register_device()
236 if (dev == NULL || dev->ops == NULL || dev->ops->get_queue_num == NULL) in rte_vdpa_get_queue_num()
245 if (dev == NULL || dev->ops == NULL || dev->ops->get_features == NULL) in rte_vdpa_get_features()
254 if (dev == NULL || dev->ops == NULL || in rte_vdpa_get_protocol_features()
[all …]

12345678910>>...16