Home
last modified time | relevance | path

Searched refs:bnx2x_softc (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/drivers/net/bnx2x/
H A Decore_sp.h37 struct bnx2x_softc;
418 struct bnx2x_softc;
494 int (*wait_comp)(struct bnx2x_softc *sc,
746 int (*check_add)(struct bnx2x_softc *sc,
756 (*check_del)(struct bnx2x_softc *sc,
824 int (*restore)(struct bnx2x_softc *sc,
1051 int (*validate)(struct bnx2x_softc *sc,
1058 void (*revert)(struct bnx2x_softc *sc,
1501 int (*send_cmd)(struct bnx2x_softc *sc,
1746 int (*init_fw)(struct bnx2x_softc *sc);
[all …]
H A Delink.h28 struct bnx2x_softc;
39 extern uint8_t elink_cb_gpio_write(struct bnx2x_softc *sc,
42 extern uint8_t elink_cb_gpio_mult_write(struct bnx2x_softc *sc,
47 extern uint8_t elink_cb_gpio_int_write(struct bnx2x_softc *sc,
80 extern uint8_t elink_cb_path_id(struct bnx2x_softc *sc);
82 extern void elink_cb_notify_link_changed(struct bnx2x_softc *sc);
93 extern void elink_cb_dbg(struct bnx2x_softc *sc, const char *fmt);
94 extern void elink_cb_dbg1(struct bnx2x_softc *sc, const char *fmt,
96 extern void elink_cb_dbg2(struct bnx2x_softc *sc, const char *fmt,
98 extern void elink_cb_dbg3(struct bnx2x_softc *sc, const char *fmt,
[all …]
H A Dbnx2x.c120 static int bnx2x_alloc_mem(struct bnx2x_softc *sc);
121 static void bnx2x_free_mem(struct bnx2x_softc *sc);
125 int bnx2x_nic_load(struct bnx2x_softc *sc);
2166 struct bnx2x_softc *sc; in bnx2x_tx_encap()
4565 struct bnx2x_softc *sc = fp->sc; in bnx2x_handle_fp_tq()
4603 int bnx2x_intr_legacy(struct bnx2x_softc *sc) in bnx2x_intr_legacy()
4785 bnx2x_wr_sp_sb_data(struct bnx2x_softc *sc, in bnx2x_wr_sp_sb_data()
7017 bnx2x_link_report(struct bnx2x_softc *sc) in bnx2x_link_report()
7212 int bnx2x_nic_load(struct bnx2x_softc *sc) in bnx2x_nic_load()
7469 int bnx2x_init(struct bnx2x_softc *sc) in bnx2x_init()
[all …]
H A Decore_init_ops.h18 static void ecore_write_dmae_phys_len(struct bnx2x_softc *sc,
22 static void ecore_init_str_wr(struct bnx2x_softc *sc, uint32_t addr, in ecore_init_str_wr()
31 static void ecore_write_big_buf(struct bnx2x_softc *sc, uint32_t addr, in ecore_write_big_buf()
68 static void ecore_init_wr_64(struct bnx2x_softc *sc, uint32_t addr, in ecore_init_wr_64()
137 static void ecore_init_wr_wb(struct bnx2x_softc *sc, uint32_t addr, in ecore_init_wr_wb()
606 static int ecore_ilt_mem_op(struct bnx2x_softc *sc, uint8_t memop) in ecore_ilt_mem_op()
630 static void ecore_ilt_line_init_op(struct bnx2x_softc *sc, in ecore_ilt_line_init_op()
650 static void ecore_ilt_boundary_init_op(struct bnx2x_softc *sc, in ecore_ilt_boundary_init_op()
704 static void ecore_ilt_client_init_op_ilt(struct bnx2x_softc *sc, in ecore_ilt_client_init_op_ilt()
721 static void ecore_ilt_client_init_op(struct bnx2x_softc *sc, in ecore_ilt_client_init_op()
[all …]
H A Dbnx2x_ethdev.c87 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_link_update()
113 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_interrupt_action()
132 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_interrupt_handler()
143 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_periodic_start()
161 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_periodic_stop()
177 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_configure()
216 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_start()
257 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_stop()
290 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_close()
316 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_promisc_enable()
[all …]
H A Dbnx2x.h312 struct bnx2x_softc *sc;
361 struct bnx2x_softc *sc;
1028 struct bnx2x_softc { struct
1923 bnx2x_hc_ack_int(struct bnx2x_softc *sc) in bnx2x_hc_ack_int()
1934 bnx2x_igu_ack_int(struct bnx2x_softc *sc) in bnx2x_igu_ack_int()
1947 bnx2x_ack_int(struct bnx2x_softc *sc) in bnx2x_ack_int()
1958 func_by_vn(struct bnx2x_softc *sc, int vn) in func_by_vn()
1989 struct bnx2x_softc *sc = fp->sc; in bnx2x_stats_id()
1998 int bnx2x_init(struct bnx2x_softc *sc);
2000 int bnx2x_attach(struct bnx2x_softc *sc);
[all …]
H A Decore_sp.c31 ecore_exe_queue_init(struct bnx2x_softc *sc __rte_unused, in ecore_exe_queue_init()
92 static int ecore_exe_queue_add(struct bnx2x_softc *sc, in ecore_exe_queue_add()
240 bnx2x_softc *sc in ecore_exe_queue_alloc_elem()
715 void ecore_set_mac_in_nig(struct bnx2x_softc *sc, in ecore_set_mac_in_nig()
1676 int ecore_config_vlan_mac(struct bnx2x_softc *sc, in ecore_config_vlan_mac()
1882 void ecore_init_mac_obj(struct bnx2x_softc *sc, in ecore_init_mac_obj()
2195 int ecore_config_rx_mode(struct bnx2x_softc *sc, in ecore_config_rx_mode()
3039 int ecore_config_mcast(struct bnx2x_softc *sc, in ecore_config_mcast()
3130 void ecore_init_mcast_obj(struct bnx2x_softc *sc, in ecore_init_mcast_obj()
3947 static int ecore_q_init(struct bnx2x_softc *sc, in ecore_q_init()
[all …]
H A Dbnx2x_vfpf.c23 bnx2x_check_bull(struct bnx2x_softc *sc) in bnx2x_check_bull()
97 bnx2x_vf_finalize(struct bnx2x_softc *sc, in bnx2x_vf_finalize()
193 int bnx2x_loop_obtain_resources(struct bnx2x_softc *sc) in bnx2x_loop_obtain_resources()
322 bnx2x_vf_close(struct bnx2x_softc *sc) in bnx2x_vf_close()
354 bnx2x_vf_init(struct bnx2x_softc *sc) in bnx2x_vf_init()
394 bnx2x_vf_unload(struct bnx2x_softc *sc) in bnx2x_vf_unload()
524 bnx2x_vf_teardown_queue(struct bnx2x_softc *sc, int qid) in bnx2x_vf_teardown_queue()
553 bnx2x_vf_set_mac(struct bnx2x_softc *sc, int set) in bnx2x_vf_set_mac()
608 bnx2x_vf_config_rss(struct bnx2x_softc *sc, in bnx2x_vf_config_rss()
649 bnx2x_vf_set_rx_mode(struct bnx2x_softc *sc) in bnx2x_vf_set_rx_mode()
[all …]
H A Delink.c968 struct bnx2x_softc *sc = params->sc; in elink_check_lfa()
1163 struct bnx2x_softc *sc = params->sc; in elink_ets_e2e3a0_disabled()
1256 struct bnx2x_softc *sc = params->sc; in elink_ets_e3b0_set_credit_upper_bound_nig()
1294 struct bnx2x_softc *sc = params->sc; in elink_ets_e3b0_nig_disabled()
1378 struct bnx2x_softc *sc = params->sc; in elink_ets_e3b0_set_credit_upper_bound_pbf()
1410 struct bnx2x_softc *sc = params->sc; in elink_ets_e3b0_pbf_disabled()
1469 struct bnx2x_softc *sc = params->sc; in elink_ets_e3b0_disabled()
1492 struct bnx2x_softc *sc = params->sc; in elink_ets_disabled()
1517 struct bnx2x_softc *sc = params->sc; in elink_ets_e3b0_cli_map()
7115 struct bnx2x_softc *sc; in elink_get_ext_phy_fw_version()
[all …]
H A Dbnx2x_stats.c24 bnx2x_get_port_stats_dma_len(struct bnx2x_softc *sc) in bnx2x_get_port_stats_dma_len()
73 bnx2x_storm_stats_post(struct bnx2x_softc *sc) in bnx2x_storm_stats_post()
103 bnx2x_hw_stats_post(struct bnx2x_softc *sc) in bnx2x_hw_stats_post()
150 bnx2x_stats_comp(struct bnx2x_softc *sc) in bnx2x_stats_comp()
173 bnx2x_stats_pmf_update(struct bnx2x_softc *sc) in bnx2x_stats_pmf_update()
231 bnx2x_port_stats_init(struct bnx2x_softc *sc) in bnx2x_port_stats_init()
488 bnx2x_stats_start(struct bnx2x_softc *sc) in bnx2x_stats_start()
519 bnx2x_stats_restart(struct bnx2x_softc *sc) in bnx2x_stats_restart()
1135 bnx2x_stats_update(struct bnx2x_softc *sc) in bnx2x_stats_update()
1231 bnx2x_stats_stop(struct bnx2x_softc *sc) in bnx2x_stats_stop()
[all …]
H A Dbnx2x_vfpf.h331 int bnx2x_vf_teardown_queue(struct bnx2x_softc *sc, int qid);
332 int bnx2x_vf_set_mac(struct bnx2x_softc *sc, int set);
333 int bnx2x_vf_config_rss(struct bnx2x_softc *sc, struct ecore_config_rss_params *params);
334 int bnx2x_vfpf_set_mcast(struct bnx2x_softc *sc,
H A Dbnx2x_rxtx.h42 struct bnx2x_softc *sc; /**< Ptr to dev_private data. */
63 struct bnx2x_softc *sc; /**< Ptr to dev_private data */
H A Decore_init.h207 static inline void ecore_map_q_cos(struct bnx2x_softc *sc, uint32_t q_num, uint32_t new_cos) in ecore_map_q_cos()
261 static inline void ecore_dcb_config_qm(struct bnx2x_softc *sc, enum cos_mode mode, in ecore_dcb_config_qm()
709 static inline void ecore_set_mcp_parity(struct bnx2x_softc *sc, uint8_t enable) in ecore_set_mcp_parity()
726 static inline uint32_t ecore_parity_reg_mask(struct bnx2x_softc *sc, int idx) in ecore_parity_reg_mask()
738 static inline void ecore_disable_blocks_parity(struct bnx2x_softc *sc) in ecore_disable_blocks_parity()
761 static inline void ecore_clear_blocks_parity(struct bnx2x_softc *sc) in ecore_clear_blocks_parity()
804 static inline void ecore_enable_blocks_parity(struct bnx2x_softc *sc) in ecore_enable_blocks_parity()
H A Dbnx2x_rxtx.c58 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_rx_queue_setup()
194 struct bnx2x_softc *sc; in bnx2x_xmit_pkts()
245 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_tx_queue_setup()
321 bnx2x_upd_rx_prod_fast(struct bnx2x_softc *sc, struct bnx2x_fastpath *fp, in bnx2x_upd_rx_prod_fast()
338 struct bnx2x_softc *sc = rxq->sc; in bnx2x_recv_pkts()
490 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_clear_queues()
H A Dbnx2x_stats.h603 struct bnx2x_softc;
604 void bnx2x_stats_init(struct bnx2x_softc *sc);
605 void bnx2x_stats_handle(struct bnx2x_softc *sc, enum bnx2x_stats_event event);
606 void bnx2x_save_statistics(struct bnx2x_softc *sc);
607 void bnx2x_memset_stats(struct bnx2x_softc *sc);