| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_hwrm.h | 12 struct bnxt; 165 int bnxt_hwrm_func_qcaps(struct bnxt *bp); 166 int bnxt_hwrm_func_reset(struct bnxt *bp); 180 int bnxt_hwrm_ring_alloc(struct bnxt *bp, 185 int bnxt_hwrm_ring_free(struct bnxt *bp, 198 int bnxt_hwrm_vnic_qcaps(struct bnxt *bp); 275 int bnxt_hwrm_ptp_cfg(struct bnxt *bp); 284 int bnxt_alloc_ctx_mem(struct bnxt *bp); 290 int bnxt_hwrm_set_mac(struct bnxt *bp); 293 int bnxt_hwrm_fw_reset(struct bnxt *bp); [all …]
|
| H A D | bnxt_vnic.h | 58 struct bnxt; 59 int bnxt_free_vnic(struct bnxt *bp, struct bnxt_vnic_info *vnic, 61 struct bnxt_vnic_info *bnxt_alloc_vnic(struct bnxt *bp); 62 void bnxt_free_all_vnics(struct bnxt *bp); 63 void bnxt_free_vnic_attributes(struct bnxt *bp); 64 int bnxt_alloc_vnic_attributes(struct bnxt *bp, bool reconfig); 65 void bnxt_free_vnic_mem(struct bnxt *bp); 66 int bnxt_alloc_vnic_mem(struct bnxt *bp); 67 int bnxt_vnic_grp_alloc(struct bnxt *bp, struct bnxt_vnic_info *vnic); 70 int bnxt_rte_to_hwrm_hash_level(struct bnxt *bp, uint64_t hash_f, uint32_t lvl); [all …]
|
| H A D | bnxt_irq.h | 16 struct bnxt; 17 int bnxt_free_int(struct bnxt *bp); 18 void bnxt_disable_int(struct bnxt *bp); 19 void bnxt_enable_int(struct bnxt *bp); 20 int bnxt_setup_int(struct bnxt *bp); 21 int bnxt_request_int(struct bnxt *bp);
|
| H A D | bnxt_ring.h | 64 struct bnxt; 69 int bnxt_alloc_ring_grps(struct bnxt *bp); 70 int bnxt_alloc_rings(struct bnxt *bp, unsigned int socket_id, uint16_t qidx, 76 int bnxt_alloc_hwrm_rx_ring(struct bnxt *bp, int queue_index); 77 int bnxt_alloc_hwrm_rings(struct bnxt *bp); 78 int bnxt_alloc_async_cp_ring(struct bnxt *bp); 79 void bnxt_free_async_cp_ring(struct bnxt *bp); 80 int bnxt_alloc_async_ring_struct(struct bnxt *bp); 81 int bnxt_alloc_rxtx_nq_ring(struct bnxt *bp); 82 void bnxt_free_rxtx_nq_ring(struct bnxt *bp);
|
| H A D | bnxt_filter.h | 17 struct bnxt; 96 struct bnxt_filter_info *bnxt_alloc_filter(struct bnxt *bp); 97 struct bnxt_filter_info *bnxt_alloc_vf_filter(struct bnxt *bp, uint16_t vf); 98 void bnxt_free_all_filters(struct bnxt *bp); 99 void bnxt_free_filter_mem(struct bnxt *bp); 100 int bnxt_alloc_filter_mem(struct bnxt *bp); 101 struct bnxt_filter_info *bnxt_get_unused_filter(struct bnxt *bp); 102 void bnxt_free_filter(struct bnxt *bp, struct bnxt_filter_info *filter); 103 struct bnxt_filter_info *bnxt_get_l2_filter(struct bnxt *bp,
|
| H A D | bnxt_ethdev.c | 1412 struct bnxt *bp = arg; in bnxt_ptp_get_current_time() 3144 struct bnxt *bp; in bnxt_rx_queue_count_op() 3213 struct bnxt *bp = rxq->bp; in bnxt_rx_descriptor_status_op() 4352 struct bnxt *bp = arg; in bnxt_dev_recover() 4418 struct bnxt *bp = arg; in bnxt_dev_reset_and_resume() 4506 struct bnxt *bp = arg; in bnxt_fw_reset_cb() 4545 struct bnxt *bp = arg; in bnxt_check_fw_health() 5368 struct bnxt *bp = opaque_arg; in bnxt_parse_devarg_flow_xstat() 5403 struct bnxt *bp = opaque_arg; in bnxt_parse_devarg_max_num_kflows() 5843 struct bnxt *bp; in bnxt_dev_init() [all …]
|
| H A D | bnxt_cpr.h | 96 struct bnxt; 97 void bnxt_handle_async_event(struct bnxt *bp, struct cmpl_base *cmp); 98 void bnxt_handle_fwd_req(struct bnxt *bp, struct cmpl_base *cmp); 99 int bnxt_event_hwrm_resp_handler(struct bnxt *bp, struct cmpl_base *cmp); 101 void bnxt_wait_for_device_shutdown(struct bnxt *bp); 117 bool bnxt_is_recovery_enabled(struct bnxt *bp); 118 bool bnxt_is_primary_func(struct bnxt *bp);
|
| H A D | bnxt_filter.c | 25 struct bnxt_filter_info *bnxt_alloc_filter(struct bnxt *bp) in bnxt_alloc_filter() 46 struct bnxt_filter_info *bnxt_alloc_vf_filter(struct bnxt *bp, uint16_t vf) in bnxt_alloc_vf_filter() 62 static void bnxt_init_filters(struct bnxt *bp) in bnxt_init_filters() 78 void bnxt_free_all_filters(struct bnxt *bp) in bnxt_free_all_filters() 111 void bnxt_free_filter_mem(struct bnxt *bp) in bnxt_free_filter_mem() 162 int bnxt_alloc_filter_mem(struct bnxt *bp) in bnxt_alloc_filter_mem() 182 struct bnxt_filter_info *bnxt_get_unused_filter(struct bnxt *bp) in bnxt_get_unused_filter() 197 void bnxt_free_filter(struct bnxt *bp, struct bnxt_filter_info *filter) in bnxt_free_filter()
|
| H A D | bnxt_rxq.h | 15 struct bnxt; 35 struct bnxt *bp; 48 int bnxt_mq_rx_configure(struct bnxt *bp); 56 void bnxt_free_rx_mbufs(struct bnxt *bp); 68 uint64_t bnxt_get_rx_port_offloads(struct bnxt *bp);
|
| H A D | bnxt_vnic.c | 38 static void bnxt_init_vnics(struct bnxt *bp) in bnxt_init_vnics() 62 struct bnxt_vnic_info *bnxt_alloc_vnic(struct bnxt *bp) in bnxt_alloc_vnic() 76 void bnxt_free_all_vnics(struct bnxt *bp) in bnxt_free_all_vnics() 91 void bnxt_free_vnic_attributes(struct bnxt *bp) in bnxt_free_vnic_attributes() 110 int bnxt_alloc_vnic_attributes(struct bnxt *bp, bool reconfig) in bnxt_alloc_vnic_attributes() 172 void bnxt_free_vnic_mem(struct bnxt *bp) in bnxt_free_vnic_mem() 193 int bnxt_alloc_vnic_mem(struct bnxt *bp) in bnxt_alloc_vnic_mem() 212 int bnxt_vnic_grp_alloc(struct bnxt *bp, struct bnxt_vnic_info *vnic) in bnxt_vnic_grp_alloc() 248 int bnxt_rte_to_hwrm_hash_level(struct bnxt *bp, uint64_t hash_f, uint32_t lvl) in bnxt_rte_to_hwrm_hash_level() 292 uint64_t bnxt_hwrm_to_rte_rss_level(struct bnxt *bp, uint32_t mode) in bnxt_hwrm_to_rte_rss_level()
|
| H A D | bnxt_hwrm.c | 702 int bnxt_hwrm_ptp_cfg(struct bnxt *bp) in bnxt_hwrm_ptp_cfg() 795 void bnxt_free_vf_info(struct bnxt *bp) in bnxt_free_vf_info() 953 int bnxt_hwrm_func_qcaps(struct bnxt *bp) in bnxt_hwrm_func_qcaps() 979 int bnxt_hwrm_vnic_qcaps(struct bnxt *bp) in bnxt_hwrm_vnic_qcaps() 1019 int bnxt_hwrm_func_reset(struct bnxt *bp) in bnxt_hwrm_func_reset() 1684 int bnxt_hwrm_ring_alloc(struct bnxt *bp, in bnxt_hwrm_ring_alloc() 1814 int bnxt_hwrm_ring_free(struct bnxt *bp, in bnxt_hwrm_ring_free() 2768 bnxt_free_all_hwrm_rings(struct bnxt *bp) in bnxt_free_all_hwrm_rings() 2909 bnxt_free_tunnel_ports(struct bnxt *bp) in bnxt_free_tunnel_ports() 5629 int bnxt_hwrm_set_mac(struct bnxt *bp) in bnxt_hwrm_set_mac() [all …]
|
| H A D | bnxt_irq.c | 23 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_int_handler() 68 int bnxt_free_int(struct bnxt *bp) in bnxt_free_int() 109 void bnxt_disable_int(struct bnxt *bp) in bnxt_disable_int() 129 void bnxt_enable_int(struct bnxt *bp) in bnxt_enable_int() 146 int bnxt_setup_int(struct bnxt *bp) in bnxt_setup_int() 171 int bnxt_request_int(struct bnxt *bp) in bnxt_request_int()
|
| H A D | rte_pmd_bnxt.c | 45 struct bnxt *bp; in rte_pmd_bnxt_set_tx_loopback() 86 struct bnxt *bp; in rte_pmd_bnxt_set_all_queues_drop_en() 139 struct bnxt *bp; in rte_pmd_bnxt_set_vf_mac_addr() 179 struct bnxt *bp; in rte_pmd_bnxt_set_vf_rate_limit() 236 struct bnxt *bp; in rte_pmd_bnxt_set_vf_mac_anti_spoof() 295 struct bnxt *bp; in rte_pmd_bnxt_set_vf_vlan_anti_spoof() 355 struct bnxt *bp; in rte_pmd_bnxt_set_vf_vlan_stripq() 399 struct bnxt *bp; in rte_pmd_bnxt_set_vf_rxmode() 497 struct bnxt *bp; in rte_pmd_bnxt_set_vf_vlan_filter() 592 struct bnxt *bp; in rte_pmd_bnxt_get_vf_stats() [all …]
|
| H A D | bnxt_cpr.c | 15 void bnxt_wait_for_device_shutdown(struct bnxt *bp) in bnxt_wait_for_device_shutdown() 50 bnxt_process_default_vnic_change(struct bnxt *bp, in bnxt_process_default_vnic_change() 94 static void bnxt_handle_event_error_report(struct bnxt *bp, in bnxt_handle_event_error_report() 112 struct bnxt *bp = arg; in bnxt_handle_vf_cfg_change() 133 void bnxt_handle_async_event(struct bnxt *bp, in bnxt_handle_async_event() 269 void bnxt_handle_fwd_req(struct bnxt *bp, struct cmpl_base *cmpl) in bnxt_handle_fwd_req() 358 int bnxt_event_hwrm_resp_handler(struct bnxt *bp, struct cmpl_base *cmp) in bnxt_event_hwrm_resp_handler() 390 bool bnxt_is_primary_func(struct bnxt *bp) in bnxt_is_primary_func() 398 bool bnxt_is_recovery_enabled(struct bnxt *bp) in bnxt_is_recovery_enabled()
|
| H A D | bnxt.h | 330 struct bnxt *bp; 636 struct bnxt { struct 877 inline uint16_t bnxt_max_rings(struct bnxt *bp) in bnxt_max_rings() argument 980 int is_bnxt_in_error(struct bnxt *bp); 987 bool bnxt_stratus_device(struct bnxt *bp); 1025 int32_t bnxt_ulp_port_init(struct bnxt *bp); 1026 void bnxt_ulp_port_deinit(struct bnxt *bp); 1027 int32_t bnxt_ulp_create_df_rules(struct bnxt *bp); 1035 void bnxt_cancel_fc_thread(struct bnxt *bp); 1037 int bnxt_flow_stats_req(struct bnxt *bp); [all …]
|
| H A D | bnxt_txq.h | 25 struct bnxt *bp; 39 void bnxt_free_tx_mbufs(struct bnxt *bp); 46 uint64_t bnxt_get_tx_port_offloads(struct bnxt *bp);
|
| H A D | bnxt_ring.c | 41 static void bnxt_init_ring_grps(struct bnxt *bp) in bnxt_init_ring_grps() 50 int bnxt_alloc_ring_grps(struct bnxt *bp) in bnxt_alloc_ring_grps() 347 static void bnxt_set_db(struct bnxt *bp, in bnxt_set_db() 439 int bnxt_alloc_rxtx_nq_ring(struct bnxt *bp) in bnxt_alloc_rxtx_nq_ring() 503 void bnxt_free_rxtx_nq_ring(struct bnxt *bp) in bnxt_free_rxtx_nq_ring() 587 int bnxt_alloc_hwrm_rx_ring(struct bnxt *bp, int queue_index) in bnxt_alloc_hwrm_rx_ring() 678 static void bnxt_init_all_rings(struct bnxt *bp) in bnxt_init_all_rings() 719 int bnxt_alloc_hwrm_rings(struct bnxt *bp) in bnxt_alloc_hwrm_rings() 771 int bnxt_alloc_async_cp_ring(struct bnxt *bp) in bnxt_alloc_async_cp_ring() 807 void bnxt_free_async_cp_ring(struct bnxt *bp) in bnxt_free_async_cp_ring() [all …]
|
| H A D | bnxt_reps.c | 115 struct bnxt *parent; in bnxt_rep_tx_burst() 176 struct bnxt *parent_bp; in bnxt_representor_init() 258 struct bnxt *parent_bp; in bnxt_representor_uninit() 287 struct bnxt *parent_bp; in bnxt_rep_link_update_op() 316 struct bnxt *parent_bp = parent_dev->data->dev_private; in bnxt_tf_vfr_alloc() 362 struct bnxt *parent_bp; in bnxt_vfr_alloc() 433 struct bnxt *parent_bp; in bnxt_rep_dev_start_op() 472 struct bnxt *parent_bp; in bnxt_vfr_free() 537 struct bnxt *parent_bp; in bnxt_rep_dev_info_get_op() 627 struct bnxt *parent_bp = rep_bp->parent_dev->data->dev_private; in bnxt_rep_rx_queue_setup_op() [all …]
|
| H A D | bnxt_rxq.c | 23 uint64_t bnxt_get_rx_port_offloads(struct bnxt *bp) in bnxt_get_rx_port_offloads() 66 int bnxt_mq_rx_configure(struct bnxt *bp) in bnxt_mq_rx_configure() 262 void bnxt_free_rx_mbufs(struct bnxt *bp) in bnxt_free_rx_mbufs() 325 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_rx_queue_setup_op() 419 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_rx_queue_intr_enable_op() 442 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_rx_queue_intr_disable_op() 464 struct bnxt *bp = dev->data->dev_private; in bnxt_rx_queue_start() 532 struct bnxt *bp = dev->data->dev_private; in bnxt_rx_queue_stop()
|
| H A D | bnxt_flow.c | 129 bnxt_validate_and_parse_flow_type(struct bnxt *bp, in bnxt_validate_and_parse_flow_type() 1112 bnxt_vnic_rss_cfg_update(struct bnxt *bp, in bnxt_vnic_rss_cfg_update() 1287 struct bnxt *bp = dev->data->dev_private; in bnxt_validate_and_parse_flow() 1756 struct bnxt *bp = dev->data->dev_private; in bnxt_flow_validate() 1897 bnxt_setup_flow_counter(struct bnxt *bp) in bnxt_setup_flow_counter() 1911 struct bnxt *bp = arg; in bnxt_flow_cnt_alarm_cb() 1948 struct bnxt *bp = dev->data->dev_private; in bnxt_flow_create() 2190 _bnxt_flow_destroy(struct bnxt *bp, in _bnxt_flow_destroy() 2268 struct bnxt *bp = dev->data->dev_private; in bnxt_flow_destroy() 2293 void bnxt_cancel_fc_thread(struct bnxt *bp) in bnxt_cancel_fc_thread() [all …]
|
| H A D | bnxt_txq.c | 20 uint64_t bnxt_get_tx_port_offloads(struct bnxt *bp) in bnxt_get_tx_port_offloads() 74 void bnxt_free_tx_mbufs(struct bnxt *bp) in bnxt_free_tx_mbufs() 125 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_tx_queue_setup_op()
|
| H A D | bnxt_stats.c | 493 void bnxt_free_stats(struct bnxt *bp) in bnxt_free_stats() 553 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_stats_get_op() 606 static void bnxt_clear_prev_stat(struct bnxt *bp) in bnxt_clear_prev_stat() 618 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_stats_reset_op() 680 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_dev_xstats_get_op() 833 int bnxt_flow_stats_cnt(struct bnxt *bp) in bnxt_flow_stats_cnt() 851 struct bnxt *bp = (struct bnxt *)eth_dev->data->dev_private; in bnxt_dev_xstats_get_names_op() 929 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_dev_xstats_reset_op() 982 static int bnxt_update_fc_tbl(struct bnxt *bp, uint16_t ctr, in bnxt_update_fc_tbl() 1028 int bnxt_flow_stats_req(struct bnxt *bp) in bnxt_flow_stats_req()
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | bnxt_tf_pmd_shim.c | 20 struct bnxt * 23 struct bnxt *bp; in bnxt_pmd_get_bp() 49 struct bnxt *bp = NULL; in bnxt_rss_config_action_apply() 173 struct bnxt *bp; in bnxt_pmd_get_svif() 197 struct bnxt *bp; in bnxt_pmd_get_iface_mac() 215 struct bnxt *bp; in bnxt_pmd_get_parent_vnic_id() 231 struct bnxt *bp; in bnxt_pmd_get_vnic_id() 256 struct bnxt *bp; in bnxt_pmd_get_fw_func_id() 279 struct bnxt *bp; in bnxt_pmd_get_interface_type() 301 struct bnxt *bp; in bnxt_pmd_get_phy_port_id() [all …]
|
| H A D | bnxt_ulp.c | 68 bnxt_ulp_devid_get(struct bnxt *bp, in bnxt_ulp_devid_get() 533 ulp_ctx_session_open(struct bnxt *bp, in ulp_ctx_session_open() 776 ulp_ctx_deinit(struct bnxt *bp, in ulp_ctx_deinit() 796 ulp_ctx_init(struct bnxt *bp, in ulp_ctx_init() 933 ulp_ctx_attach(struct bnxt *bp, in ulp_ctx_attach() 990 ulp_ctx_detach(struct bnxt *bp) in ulp_ctx_detach() 1044 ulp_session_init(struct bnxt *bp, in ulp_session_init() 1216 bnxt_ulp_deinit(struct bnxt *bp, in bnxt_ulp_deinit() 1284 bnxt_ulp_init(struct bnxt *bp, in bnxt_ulp_init() 1395 bnxt_ulp_port_init(struct bnxt *bp) in bnxt_ulp_port_init() [all …]
|
| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tfp.c | 31 tfp_send_msg_direct(struct bnxt *bp, in tfp_send_msg_direct() 132 struct bnxt *bp = NULL; in tfp_get_fid() 137 bp = (struct bnxt *)tfp->bp; in tfp_get_fid() 149 struct bnxt *bp = NULL; in tfp_get_pf() 154 bp = (struct bnxt *)tfp->bp; in tfp_get_pf()
|