| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_hwrm.h | 12 struct bnxt; 143 int bnxt_hwrm_func_qcaps(struct bnxt *bp); 144 int bnxt_hwrm_func_reset(struct bnxt *bp); 158 int bnxt_hwrm_ring_alloc(struct bnxt *bp, 163 int bnxt_hwrm_ring_free(struct bnxt *bp, 182 int bnxt_hwrm_vnic_qcaps(struct bnxt *bp); 187 int bnxt_hwrm_vnic_rss_cfg(struct bnxt *bp, 260 int bnxt_hwrm_ptp_cfg(struct bnxt *bp); 269 int bnxt_alloc_ctx_mem(struct bnxt *bp); 275 int bnxt_hwrm_set_mac(struct bnxt *bp); [all …]
|
| H A D | bnxt_vnic.h | 63 struct bnxt; 64 int bnxt_free_vnic(struct bnxt *bp, struct bnxt_vnic_info *vnic, 66 struct bnxt_vnic_info *bnxt_alloc_vnic(struct bnxt *bp); 67 void bnxt_free_all_vnics(struct bnxt *bp); 68 void bnxt_free_vnic_attributes(struct bnxt *bp); 69 int bnxt_alloc_vnic_attributes(struct bnxt *bp); 70 void bnxt_free_vnic_mem(struct bnxt *bp); 71 int bnxt_alloc_vnic_mem(struct bnxt *bp); 72 int bnxt_vnic_grp_alloc(struct bnxt *bp, struct bnxt_vnic_info *vnic); 75 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 | 63 struct bnxt; 68 int bnxt_alloc_ring_grps(struct bnxt *bp); 69 int bnxt_alloc_rings(struct bnxt *bp, uint16_t qidx, 75 int bnxt_alloc_hwrm_rx_ring(struct bnxt *bp, int queue_index); 76 int bnxt_alloc_hwrm_rings(struct bnxt *bp); 77 int bnxt_alloc_async_cp_ring(struct bnxt *bp); 78 void bnxt_free_async_cp_ring(struct bnxt *bp); 79 int bnxt_alloc_async_ring_struct(struct bnxt *bp); 80 int bnxt_alloc_rxtx_nq_ring(struct bnxt *bp); 81 void bnxt_free_rxtx_nq_ring(struct bnxt *bp);
|
| H A D | bnxt_filter.h | 17 struct bnxt; 95 struct bnxt_filter_info *bnxt_alloc_filter(struct bnxt *bp); 96 struct bnxt_filter_info *bnxt_alloc_vf_filter(struct bnxt *bp, uint16_t vf); 97 void bnxt_free_all_filters(struct bnxt *bp); 98 void bnxt_free_filter_mem(struct bnxt *bp); 99 int bnxt_alloc_filter_mem(struct bnxt *bp); 100 struct bnxt_filter_info *bnxt_get_unused_filter(struct bnxt *bp); 101 void bnxt_free_filter(struct bnxt *bp, struct bnxt_filter_info *filter); 102 struct bnxt_filter_info *bnxt_get_l2_filter(struct bnxt *bp,
|
| H A D | bnxt_cpr.h | 105 struct bnxt; 106 void bnxt_handle_async_event(struct bnxt *bp, struct cmpl_base *cmp); 107 void bnxt_handle_fwd_req(struct bnxt *bp, struct cmpl_base *cmp); 108 int bnxt_event_hwrm_resp_handler(struct bnxt *bp, struct cmpl_base *cmp); 110 void bnxt_wait_for_device_shutdown(struct bnxt *bp); 126 bool bnxt_is_recovery_enabled(struct bnxt *bp); 127 bool bnxt_is_master_func(struct bnxt *bp); 129 void bnxt_stop_rxtx(struct bnxt *bp);
|
| H A D | bnxt_ethdev.c | 2890 struct bnxt *bp = (struct bnxt *)dev->data->dev_private; in bnxt_rx_queue_count_op() 3756 struct bnxt *bp = arg; in bnxt_dev_recover() 3807 struct bnxt *bp = arg; in bnxt_dev_reset_and_resume() 3869 struct bnxt *bp = arg; in bnxt_fw_reset_cb() 4438 struct bnxt *bp; in bnxt_get_svif() 4462 struct bnxt *bp; in bnxt_get_vnic_id() 4487 struct bnxt *bp; in bnxt_get_fw_func_id() 4510 struct bnxt *bp; in bnxt_get_interface_type() 4532 struct bnxt *bp; in bnxt_get_phy_port_id() 4552 struct bnxt *bp; in bnxt_get_parif() [all …]
|
| 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() 109 void bnxt_free_filter_mem(struct bnxt *bp) in bnxt_free_filter_mem() 160 int bnxt_alloc_filter_mem(struct bnxt *bp) in bnxt_alloc_filter_mem() 180 struct bnxt_filter_info *bnxt_get_unused_filter(struct bnxt *bp) in bnxt_get_unused_filter() 195 void bnxt_free_filter(struct bnxt *bp, struct bnxt_filter_info *filter) in bnxt_free_filter()
|
| 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() 117 int bnxt_alloc_vnic_attributes(struct bnxt *bp) in bnxt_alloc_vnic_attributes() 181 void bnxt_free_vnic_mem(struct bnxt *bp) in bnxt_free_vnic_mem() 202 int bnxt_alloc_vnic_mem(struct bnxt *bp) in bnxt_alloc_vnic_mem() 221 int bnxt_vnic_grp_alloc(struct bnxt *bp, struct bnxt_vnic_info *vnic) in bnxt_vnic_grp_alloc() 257 int bnxt_rte_to_hwrm_hash_level(struct bnxt *bp, uint64_t hash_f, uint32_t lvl) in bnxt_rte_to_hwrm_hash_level() 301 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 | 587 int bnxt_hwrm_ptp_cfg(struct bnxt *bp) in bnxt_hwrm_ptp_cfg() 814 int bnxt_hwrm_func_qcaps(struct bnxt *bp) in bnxt_hwrm_func_qcaps() 837 int bnxt_hwrm_vnic_qcaps(struct bnxt *bp) in bnxt_hwrm_vnic_qcaps() 869 int bnxt_hwrm_func_reset(struct bnxt *bp) in bnxt_hwrm_func_reset() 1524 int bnxt_hwrm_ring_alloc(struct bnxt *bp, in bnxt_hwrm_ring_alloc() 1654 int bnxt_hwrm_ring_free(struct bnxt *bp, in bnxt_hwrm_ring_free() 2583 bnxt_free_all_hwrm_rings(struct bnxt *bp) in bnxt_free_all_hwrm_rings() 2746 bnxt_free_tunnel_ports(struct bnxt *bp) in bnxt_free_tunnel_ports() 3695 bnxt_update_pf_resources(struct bnxt *bp, in bnxt_update_pf_resources() 5325 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() 64 int bnxt_free_int(struct bnxt *bp) in bnxt_free_int() 105 void bnxt_disable_int(struct bnxt *bp) in bnxt_disable_int() 125 void bnxt_enable_int(struct bnxt *bp) in bnxt_enable_int() 142 int bnxt_setup_int(struct bnxt *bp) in bnxt_setup_int() 167 int bnxt_request_int(struct bnxt *bp) in bnxt_request_int()
|
| H A D | bnxt_rxq.h | 15 struct bnxt; 34 struct bnxt *bp; 47 int bnxt_mq_rx_configure(struct bnxt *bp); 55 void bnxt_free_rx_mbufs(struct bnxt *bp);
|
| 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() 97 void bnxt_handle_async_event(struct bnxt *bp, in bnxt_handle_async_event() 207 void bnxt_handle_fwd_req(struct bnxt *bp, struct cmpl_base *cmpl) in bnxt_handle_fwd_req() 296 int bnxt_event_hwrm_resp_handler(struct bnxt *bp, struct cmpl_base *cmp) in bnxt_event_hwrm_resp_handler() 328 bool bnxt_is_master_func(struct bnxt *bp) in bnxt_is_master_func() 336 bool bnxt_is_recovery_enabled(struct bnxt *bp) in bnxt_is_recovery_enabled() 347 void bnxt_stop_rxtx(struct bnxt *bp) in bnxt_stop_rxtx()
|
| 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.h | 330 struct bnxt *bp; 611 struct bnxt { struct 881 int is_bnxt_in_error(struct bnxt *bp); 883 int bnxt_map_fw_health_status_regs(struct bnxt *bp); 888 bool bnxt_stratus_device(struct bnxt *bp); 930 int32_t bnxt_ulp_port_init(struct bnxt *bp); 931 void bnxt_ulp_port_deinit(struct bnxt *bp); 932 int32_t bnxt_ulp_create_df_rules(struct bnxt *bp); 949 void bnxt_cancel_fc_thread(struct bnxt *bp); 951 int bnxt_flow_stats_req(struct bnxt *bp); [all …]
|
| 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() 97 int bnxt_alloc_rings(struct bnxt *bp, uint16_t qidx, in bnxt_alloc_rings() 341 static void bnxt_set_db(struct bnxt *bp, in bnxt_set_db() 420 int bnxt_alloc_rxtx_nq_ring(struct bnxt *bp) in bnxt_alloc_rxtx_nq_ring() 484 void bnxt_free_rxtx_nq_ring(struct bnxt *bp) in bnxt_free_rxtx_nq_ring() 628 static void bnxt_init_all_rings(struct bnxt *bp) in bnxt_init_all_rings() 666 int bnxt_alloc_hwrm_rings(struct bnxt *bp) in bnxt_alloc_hwrm_rings() 758 int bnxt_alloc_async_cp_ring(struct bnxt *bp) in bnxt_alloc_async_cp_ring() 795 void bnxt_free_async_cp_ring(struct bnxt *bp) in bnxt_free_async_cp_ring() [all …]
|
| H A D | bnxt_reps.c | 111 struct bnxt *parent; in bnxt_rep_tx_burst() 172 struct bnxt *parent_bp; in bnxt_representor_init() 254 struct bnxt *parent_bp; in bnxt_representor_uninit() 283 struct bnxt *parent_bp; in bnxt_rep_link_update_op() 312 struct bnxt *parent_bp = parent_dev->data->dev_private; in bnxt_tf_vfr_alloc() 352 struct bnxt *parent_bp; in bnxt_vfr_alloc() 403 struct bnxt *parent_bp; in bnxt_rep_dev_start_op() 442 struct bnxt *parent_bp; in bnxt_vfr_free() 508 struct bnxt *parent_bp; in bnxt_rep_dev_info_get_op() 596 struct bnxt *parent_bp = rep_bp->parent_dev->data->dev_private; in bnxt_rep_rx_queue_setup_op() [all …]
|
| H A D | bnxt_rxr.h | 17 static inline uint16_t bnxt_tpa_start_agg_id(struct bnxt *bp, in bnxt_tpa_start_agg_id() 80 void bnxt_free_rx_rings(struct bnxt *bp); 92 void bnxt_set_mark_in_mbuf(struct bnxt *bp,
|
| H A D | bnxt_txq.h | 25 struct bnxt *bp; 39 void bnxt_free_tx_mbufs(struct bnxt *bp);
|
| H A D | bnxt_rxq.c | 29 int bnxt_mq_rx_configure(struct bnxt *bp) in bnxt_mq_rx_configure() 251 void bnxt_free_rx_mbufs(struct bnxt *bp) in bnxt_free_rx_mbufs() 304 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_rx_queue_setup_op() 403 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_rx_queue_intr_enable_op() 426 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_rx_queue_intr_disable_op() 448 struct bnxt *bp = dev->data->dev_private; in bnxt_rx_queue_start() 515 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() 941 static int match_vnic_rss_cfg(struct bnxt *bp, in match_vnic_rss_cfg() 1015 struct bnxt *bp = dev->data->dev_private; in bnxt_validate_and_parse_flow() 1490 struct bnxt *bp = dev->data->dev_private; in bnxt_flow_validate() 1631 bnxt_setup_flow_counter(struct bnxt *bp) in bnxt_setup_flow_counter() 1645 struct bnxt *bp = arg; in bnxt_flow_cnt_alarm_cb() 1682 struct bnxt *bp = dev->data->dev_private; in bnxt_flow_create() 1916 _bnxt_flow_destroy(struct bnxt *bp, in _bnxt_flow_destroy() 1994 struct bnxt *bp = dev->data->dev_private; in bnxt_flow_destroy() 2019 void bnxt_cancel_fc_thread(struct bnxt *bp) in bnxt_cancel_fc_thread() [all …]
|
| H A D | bnxt_stats.c | 493 void bnxt_free_stats(struct bnxt *bp) in bnxt_free_stats() 514 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_stats_get_op() 558 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_stats_reset_op() 584 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_dev_xstats_get_op() 713 int bnxt_flow_stats_cnt(struct bnxt *bp) in bnxt_flow_stats_cnt() 731 struct bnxt *bp = (struct bnxt *)eth_dev->data->dev_private; in bnxt_dev_xstats_get_names_op() 810 struct bnxt *bp = eth_dev->data->dev_private; in bnxt_dev_xstats_reset_op() 861 static int bnxt_update_fc_tbl(struct bnxt *bp, uint16_t ctr, in bnxt_update_fc_tbl() 907 int bnxt_flow_stats_req(struct bnxt *bp) in bnxt_flow_stats_req()
|
| /f-stack/dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tfp.c | 44 struct bnxt, in tfp_send_msg_direct() 76 struct bnxt, in tfp_send_msg_tunneled() 168 struct bnxt *bp = NULL; in tfp_get_fid() 173 bp = container_of(tfp, struct bnxt, tfp); in tfp_get_fid() 185 struct bnxt *bp = NULL; in tfp_get_pf() 190 bp = container_of(tfp, struct bnxt, tfp); in tfp_get_pf()
|
| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | bnxt_ulp.c | 52 bnxt_ulp_devid_get(struct bnxt *bp, in bnxt_ulp_devid_get() 243 ulp_ctx_session_open(struct bnxt *bp, in ulp_ctx_session_open() 481 ulp_ctx_deinit(struct bnxt *bp, in ulp_ctx_deinit() 498 ulp_ctx_init(struct bnxt *bp, in ulp_ctx_init() 547 ulp_dparms_init(struct bnxt *bp, in ulp_dparms_init() 602 ulp_ctx_attach(struct bnxt *bp, in ulp_ctx_attach() 627 ulp_ctx_detach(struct bnxt *bp) in ulp_ctx_detach() 679 ulp_session_init(struct bnxt *bp, in ulp_session_init() 852 bnxt_ulp_deinit(struct bnxt *bp, in bnxt_ulp_deinit() 908 bnxt_ulp_init(struct bnxt *bp, in bnxt_ulp_init() [all …]
|
| H A D | ulp_def_rules.c | 437 bnxt_ulp_destroy_df_rules(struct bnxt *bp, bool global) in bnxt_ulp_destroy_df_rules() 479 bnxt_create_port_app_df_rule(struct bnxt *bp, uint8_t flow_type, in bnxt_create_port_app_df_rule() 501 bnxt_ulp_create_df_rules(struct bnxt *bp) in bnxt_ulp_create_df_rules() 549 bnxt_create_port_vfr_default_rule(struct bnxt *bp, in bnxt_create_port_vfr_default_rule() 576 struct bnxt *bp = parent_dev->data->dev_private; in bnxt_ulp_create_vfr_default_rules() 638 struct bnxt *bp = parent_dev->data->dev_private; in bnxt_ulp_delete_vfr_default_rules()
|