| /f-stack/dpdk/drivers/common/octeontx2/ |
| H A D | otx2_mbox.c | 36 otx2_mbox_fini(struct otx2_mbox *mbox) in otx2_mbox_fini() 45 otx2_mbox_reset(struct otx2_mbox *mbox, int devid) in otx2_mbox_reset() 156 otx2_mbox_alloc_msg_rsp(struct otx2_mbox *mbox, int devid, int size, in otx2_mbox_alloc_msg_rsp() 195 otx2_mbox_msg_send(struct otx2_mbox *mbox, int devid) in otx2_mbox_msg_send() 230 otx2_mbox_get_rsp(struct otx2_mbox *mbox, int devid, void **msg) in otx2_mbox_get_rsp() 256 mbox_poll(struct otx2_mbox *mbox, uint32_t wait) in mbox_poll() 290 otx2_mbox_get_rsp_tmo(struct otx2_mbox *mbox, int devid, void **msg, in otx2_mbox_get_rsp_tmo() 314 mbox_wait(struct otx2_mbox *mbox, int devid, uint32_t rst_timo) in mbox_wait() 379 otx2_mbox_wait_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_wait_for_rsp() 385 otx2_mbox_get_availmem(struct otx2_mbox *mbox, int devid) in otx2_mbox_get_availmem() [all …]
|
| H A D | otx2_dev.h | 81 struct otx2_mbox mbox_local; \ 82 struct otx2_mbox mbox_up; \ 83 struct otx2_mbox mbox_vfpf; \ 84 struct otx2_mbox mbox_vfpf_up; \ 89 struct otx2_mbox *mbox; \
|
| H A D | otx2_mbox.h | 65 struct otx2_mbox { struct 1774 void otx2_mbox_reset(struct otx2_mbox *mbox, int devid); 1777 void otx2_mbox_fini(struct otx2_mbox *mbox); 1779 void otx2_mbox_msg_send(struct otx2_mbox *mbox, int devid); 1781 int otx2_mbox_wait_for_rsp(struct otx2_mbox *mbox, int devid); 1788 int otx2_mbox_get_availmem(struct otx2_mbox *mbox, int devid); 1821 otx2_mbox_nonempty(struct otx2_mbox *mbox, int devid) in otx2_mbox_nonempty() 1834 otx2_mbox_process(struct otx2_mbox *mbox) in otx2_mbox_process() 1841 otx2_mbox_process_msg(struct otx2_mbox *mbox, void **msg) in otx2_mbox_process_msg() 1848 otx2_mbox_process_tmo(struct otx2_mbox *mbox, uint32_t tmo) in otx2_mbox_process_tmo() [all …]
|
| H A D | otx2_dev.c | 59 uint32_t timeout = 0, sleep = 1; struct otx2_mbox *mbox = dev->mbox; in pf_af_sync_msg() 105 uint32_t timeout = 0, sleep = 1; struct otx2_mbox *mbox = dev->mbox; in af_pf_wait_msg() 176 int offset, routed = 0; struct otx2_mbox *mbox = &dev->mbox_vfpf; in vf_pf_process_msgs() 249 struct otx2_mbox *mbox = &dev->mbox_vfpf_up; in vf_pf_process_up_msgs() 350 otx2_process_msgs(struct otx2_dev *dev, struct otx2_mbox *mbox) in otx2_process_msgs() 400 struct otx2_mbox *vf_mbox = &dev->mbox_vfpf_up; in pf_vf_mbox_send_up_msg() 542 otx2_process_msgs_up(struct otx2_dev *dev, struct otx2_mbox *mbox) in otx2_process_msgs_up() 754 struct otx2_mbox *mbox = dev->mbox; in vf_flr_send_msg() 1016 struct otx2_mbox *mbox; in otx2_dev_fini()
|
| H A D | meson.build | 13 'otx2_mbox.c',
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_mac.c | 15 struct otx2_mbox *mbox = dev->mbox; in otx2_cgx_mac_addr_set() 38 struct otx2_mbox *mbox = dev->mbox; in otx2_cgx_mac_max_entries_get() 57 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_mac_addr_add() 90 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_mac_addr_del() 109 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_mac_addr_set() 135 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_mac_addr_get()
|
| H A D | otx2_flow.h | 344 int otx2_flow_mcam_free_counter(struct otx2_mbox *mbox, uint16_t ctr_id); 346 int otx2_flow_mcam_read_counter(struct otx2_mbox *mbox, uint32_t ctr_id, 349 int otx2_flow_mcam_clear_counter(struct otx2_mbox *mbox, uint32_t ctr_id); 351 int otx2_flow_mcam_free_entry(struct otx2_mbox *mbox, uint32_t entry); 353 int otx2_flow_mcam_free_all_entries(struct otx2_mbox *mbox); 366 struct otx2_mbox *mbox,
|
| H A D | otx2_mcast.c | 11 struct otx2_mbox *mbox = dev->mbox; in nix_mc_addr_list_free() 48 struct otx2_mbox *mbox = dev->mbox; in nix_hw_update_mc_addr_list() 125 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_mc_addr_list_install() 160 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_mc_addr_list_uninstall() 196 struct otx2_mbox *mbox = dev->mbox; in nix_setup_mc_addr_list() 239 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_set_mc_addr_list()
|
| H A D | otx2_flow_utils.c | 9 flow_mcam_alloc_counter(struct otx2_mbox *mbox, uint16_t *ctr) in flow_mcam_alloc_counter() 25 otx2_flow_mcam_free_counter(struct otx2_mbox *mbox, uint16_t ctr_id) in otx2_flow_mcam_free_counter() 39 otx2_flow_mcam_read_counter(struct otx2_mbox *mbox, uint32_t ctr_id, in otx2_flow_mcam_read_counter() 56 otx2_flow_mcam_clear_counter(struct otx2_mbox *mbox, uint32_t ctr_id) in otx2_flow_mcam_clear_counter() 70 otx2_flow_mcam_free_entry(struct otx2_mbox *mbox, uint32_t entry) in otx2_flow_mcam_free_entry() 84 otx2_flow_mcam_free_all_entries(struct otx2_mbox *mbox) in otx2_flow_mcam_free_all_entries() 485 flow_shift_lv_ent(struct otx2_mbox *mbox, struct rte_flow *flow, in flow_shift_lv_ent() 529 flow_shift_ent(struct otx2_mbox *mbox, struct rte_flow *flow, in flow_shift_ent() 741 flow_fill_entry_cache(struct otx2_mbox *mbox, struct rte_flow *flow, in flow_fill_entry_cache() 835 flow_check_preallocated_entry_cache(struct otx2_mbox *mbox, in flow_check_preallocated_entry_cache() [all …]
|
| H A D | otx2_flow_ctrl.c | 12 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_rxchan_bpid_cfg() 53 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_flow_ctrl_get() 86 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_cq_bp_cfg() 143 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_flow_ctrl_set()
|
| H A D | otx2_link.c | 101 struct otx2_mbox *mbox = dev->mbox; in cgx_link_update() 146 struct otx2_mbox *mbox = dev->mbox; in nix_dev_set_link_state() 194 struct otx2_mbox *mbox = dev->mbox; in cgx_change_mode()
|
| H A D | otx2_ptp.c | 47 struct otx2_mbox *mbox = dev->mbox; in nix_read_raw_clock() 136 struct otx2_mbox *mbox = dev->mbox; in nix_ptp_config() 364 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_timesync_adjust_time() 413 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_timesync_read_time()
|
| H A D | otx2_vlan.c | 29 struct otx2_mbox *mbox = dev->mbox; in nix_vlan_mcam_enb_dis() 122 struct otx2_mbox *mbox = dev->mbox; in nix_vlan_mcam_free() 138 struct otx2_mbox *mbox = dev->mbox; in nix_vlan_mcam_write() 161 struct otx2_mbox *mbox = dev->mbox; in nix_vlan_mcam_alloc_and_write() 202 struct otx2_mbox *mbox = dev->mbox; in nix_vlan_update_mac() 501 struct otx2_mbox *mbox = dev->mbox; in nix_vlan_hw_strip() 777 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_vlan_tpid_set() 803 struct otx2_mbox *mbox = otx2_dev->mbox; in otx2_nix_vlan_pvid_set()
|
| H A D | otx2_ethdev_ops.c | 16 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_mtu_set() 99 struct otx2_mbox *mbox = dev->mbox; in nix_cgx_promisc_config() 116 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_promisc_config() 156 struct otx2_mbox *mbox = dev->mbox; in nix_allmulticast_config() 497 struct otx2_mbox *mbox = dev->mbox; in nix_get_fwdata()
|
| H A D | otx2_ethdev.c | 51 struct otx2_mbox *mbox = dev->mbox; in nix_lf_alloc() 107 struct otx2_mbox *mbox = dev->mbox; in nix_lf_switch_header_type_enable() 141 struct otx2_mbox *mbox = dev->mbox; in nix_lf_free() 166 struct otx2_mbox *mbox = dev->mbox; in otx2_cgx_rxtx_start() 179 struct otx2_mbox *mbox = dev->mbox; in otx2_cgx_rxtx_stop() 192 struct otx2_mbox *mbox = dev->mbox; in npc_rx_enable() 202 struct otx2_mbox *mbox = dev->mbox; in npc_rx_disable() 212 struct otx2_mbox *mbox = dev->mbox; in nix_cgx_start_link_event() 225 struct otx2_mbox *mbox = dev->mbox; in cgx_intlbk_enable() 241 struct otx2_mbox *mbox = dev->mbox; in nix_cgx_stop_link_event() [all …]
|
| H A D | otx2_flow.c | 15 struct otx2_mbox *mbox = hw->mbox; in otx2_flow_free_all_resources() 54 flow_program_npc(struct otx2_parse_state *pst, struct otx2_mbox *mbox, in flow_program_npc() 478 struct otx2_mbox *mbox = dev->mbox; in flow_program_vtag_action() 579 struct otx2_mbox *mbox = hw->mbox; in otx2_flow_create() 663 struct otx2_mbox *mbox = hw->mbox; in otx2_flow_destroy() 766 struct otx2_mbox *mbox = hw->mbox; in otx2_flow_query() 931 struct otx2_mbox *mbox = dev->mbox; in flow_fetch_kex_cfg()
|
| H A D | otx2_stats.c | 138 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_dev_stats_reset() 305 struct otx2_mbox *mbox = dev->mbox; in nix_queue_stats_reset() 384 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_xstats_reset()
|
| H A D | otx2_tm.c | 267 struct otx2_mbox *mbox = dev->mbox; in populate_tm_tl1_default() 530 struct otx2_mbox *mbox = dev->mbox; in populate_tm_reg() 904 struct otx2_mbox *mbox = dev->mbox; in nix_smq_xoff() 936 struct otx2_mbox *mbox; in otx2_nix_sq_sqb_aura_fc() 1200 struct otx2_mbox *mbox = dev->mbox; in nix_sq_sched_data() 1258 struct otx2_mbox *mbox = dev->mbox; in nix_tm_free_resources() 1482 struct otx2_mbox *mbox = dev->mbox; in nix_tm_send_txsch_alloc_msg() 1893 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_tm_capa_get() 1961 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_tm_level_capa_get() 2053 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_tm_node_capa_get() [all …]
|
| H A D | otx2_rss.c | 12 struct otx2_mbox *mbox = dev->mbox; in otx2_nix_rss_tbl_init() 300 struct otx2_mbox *mbox = dev->mbox; in otx2_rss_set_hf()
|
| /f-stack/dpdk/drivers/crypto/octeontx2/ |
| H A D | otx2_cryptodev_mbox.c | 68 struct otx2_mbox *mbox = vf->otx2_dev.mbox; in otx2_cpt_queues_attach() 91 struct otx2_mbox *mbox = vf->otx2_dev.mbox; in otx2_cpt_queues_detach() 110 struct otx2_mbox *mbox = vf->otx2_dev.mbox; in otx2_cpt_msix_offsets_get() 131 struct otx2_mbox *mbox = vf->otx2_dev.mbox; in otx2_cpt_send_mbox_msg() 150 struct otx2_mbox *mbox = vf->otx2_dev.mbox; in otx2_cpt_af_reg_read() 188 struct otx2_mbox *mbox = vf->otx2_dev.mbox; in otx2_cpt_af_reg_write() 213 struct otx2_mbox *mbox = vf->otx2_dev.mbox; in otx2_cpt_inline_init() 234 struct otx2_mbox *mbox = vf->otx2_dev.mbox; in otx2_cpt_qp_ethdev_bind()
|
| /f-stack/dpdk/drivers/regex/octeontx2/ |
| H A D | otx2_regexdev_mbox.c | 40 struct otx2_mbox *mbox; in otx2_ree_queues_attach() 65 struct otx2_mbox *mbox; in otx2_ree_queues_detach() 86 struct otx2_mbox *mbox; in otx2_ree_msix_offsets_get() 111 struct otx2_mbox *mbox = vf->otx2_dev.mbox; in ree_send_mbox_msg() 132 struct otx2_mbox *mbox; in otx2_ree_config_lf() 159 struct otx2_mbox *mbox; in otx2_ree_af_reg_read() 199 struct otx2_mbox *mbox; in otx2_ree_af_reg_write() 229 struct otx2_mbox *mbox; in otx2_ree_rule_db_get() 304 struct otx2_mbox *mbox; in otx2_ree_rule_db_len_get() 339 struct otx2_mbox *mbox; in ree_db_msg()
|
| /f-stack/dpdk/drivers/mempool/octeontx2/ |
| H A D | otx2_mempool.c | 25 struct otx2_mbox *mbox = lf->mbox; in npa_lf_alloc() 46 npa_lf_free(struct otx2_mbox *mbox) in npa_lf_free() 55 uint32_t nr_pools, struct otx2_mbox *mbox) in npa_lf_init() 201 npa_lf_attach(struct otx2_mbox *mbox) in npa_lf_attach() 212 npa_lf_detach(struct otx2_mbox *mbox) in npa_lf_detach() 223 npa_lf_get_msix_offset(struct otx2_mbox *mbox, uint16_t *npa_msixoff) in npa_lf_get_msix_offset()
|
| /f-stack/dpdk/drivers/event/octeontx2/ |
| H A D | otx2_evdev_stats.h | 60 struct otx2_mbox *mbox = dev->mbox; in otx2_sso_xstats_get() 149 struct otx2_mbox *mbox = dev->mbox; in otx2_sso_xstats_reset()
|
| H A D | otx2_evdev.c | 25 struct otx2_mbox *mbox = dev->mbox; in sso_get_msix_offsets() 585 sso_hw_lf_cfg(struct otx2_mbox *mbox, enum otx2_sso_lf_type type, in sso_hw_lf_cfg() 628 sso_lf_cfg(struct otx2_sso_evdev *dev, struct otx2_mbox *mbox, in sso_lf_cfg() 786 struct otx2_mbox *mbox = dev->mbox; in sso_configure_dual_ports() 861 struct otx2_mbox *mbox = dev->mbox; in sso_configure_ports() 932 struct otx2_mbox *mbox = dev->mbox; in sso_configure_queues() 1050 struct otx2_mbox *mbox = dev->mbox; in sso_ggrp_alloc_xaq() 1213 struct otx2_mbox *mbox = dev->mbox; in otx2_sso_queue_setup()
|
| /f-stack/dpdk/drivers/raw/octeontx2_dma/ |
| H A D | otx2_dpi_rawdev.h | 72 struct otx2_mbox *mbox;
|