FreeBSD kernel BXE device code
|
#include <bxe.h>
uint8_t bxe_fastpath::cl_id |
Definition at line 631 of file bxe.h.
Referenced by bxe_fp_qzone_id(), bxe_init_eth_fp(), bxe_init_objs(), bxe_init_rss_pf(), bxe_pf_q_prep_general(), bxe_rx_ustorm_prods_offset(), bxe_set_storm_rx_mode(), and bxe_stats_id().
uint8_t bxe_fastpath::cl_qzone_id |
Definition at line 633 of file bxe.h.
Referenced by bxe_init_eth_fp(), bxe_pf_rx_q_prep(), and bxe_rx_ustorm_prods_offset().
struct bxe_eth_q_stats bxe_fastpath::eth_q_stats |
Definition at line 661 of file bxe.h.
Referenced by bxe_afex_collect_stats(), bxe_alloc_fp_buffers(), bxe_alloc_rx_bd_mbuf(), bxe_alloc_rx_sge_mbuf(), bxe_alloc_rx_tpa_mbuf(), bxe_drv_stats_update(), bxe_fill_frag_mbuf(), bxe_free_fp_buffers(), bxe_free_rx_bd_chain(), bxe_free_sge_chain(), bxe_free_tpa_pool(), bxe_free_tx_pkt(), bxe_init_tx_ring_one(), bxe_rxeof(), bxe_save_statistics(), bxe_service_rxsgl(), bxe_set_pbd_csum(), bxe_set_pbd_csum_e2(), bxe_stats_init(), bxe_storm_stats_update(), bxe_sysctl_eth_q_stat(), bxe_tpa_stop(), bxe_tx_encap(), bxe_tx_mq_start(), bxe_tx_mq_start_locked(), bxe_tx_start(), and bxe_tx_start_locked().
struct bxe_eth_q_stats_old bxe_fastpath::eth_q_stats_old |
Definition at line 662 of file bxe.h.
Referenced by bxe_drv_stats_update(), bxe_save_statistics(), bxe_stats_init(), and bxe_storm_stats_update().
uint16_t bxe_fastpath::fp_hc_idx |
Definition at line 635 of file bxe.h.
Referenced by bxe_handle_fp_tq(), bxe_task_fp(), and bxe_update_fp_sb_idx().
uint8_t bxe_fastpath::fw_sb_id |
Definition at line 605 of file bxe.h.
Referenced by bxe_init_eth_fp(), bxe_intr_fp(), bxe_pf_q_prep_init(), bxe_pf_rx_q_prep(), bxe_pf_tx_q_prep(), and bxe_reset_func().
uint8_t bxe_fastpath::igu_sb_id |
Definition at line 604 of file bxe.h.
Referenced by bxe_handle_fp_tq(), bxe_init_eth_fp(), bxe_intr_fp(), bxe_intr_legacy(), bxe_setup_queue(), and bxe_task_fp().
uint8_t bxe_fastpath::index |
Definition at line 619 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_fill_frag_mbuf(), bxe_handle_fp_tq(), bxe_init_eth_fp(), bxe_init_objs(), bxe_intr_fp(), bxe_intr_legacy(), bxe_mq_flush(), bxe_pf_q_prep_init(), bxe_rxeof(), bxe_setup_queue(), bxe_sp_event(), bxe_stop_queue(), bxe_task_fp(), bxe_tpa_start(), bxe_tpa_stop(), bxe_tx_encap(), bxe_txeof(), bxe_update_rx_prod(), bxe_update_sge_prod(), and bxe_watchdog().
uint16_t bxe_fastpath::last_max_sge |
Definition at line 677 of file bxe.h.
Referenced by bxe_update_last_max_sge(), and bxe_update_sge_prod().
int bxe_fastpath::mbuf_alloc_size |
Definition at line 608 of file bxe.h.
Referenced by bxe_alloc_rx_bd_mbuf(), bxe_alloc_rx_tpa_mbuf(), and bxe_set_fp_rx_buf_size().
struct tstorm_per_queue_stats bxe_fastpath::old_tclient |
Definition at line 658 of file bxe.h.
Referenced by bxe_net_stats_update(), bxe_stats_init(), and bxe_storm_stats_update().
struct ustorm_per_queue_stats bxe_fastpath::old_uclient |
Definition at line 659 of file bxe.h.
Referenced by bxe_stats_init(), and bxe_storm_stats_update().
struct xstorm_per_queue_stats bxe_fastpath::old_xclient |
Definition at line 660 of file bxe.h.
Referenced by bxe_stats_init(), and bxe_storm_stats_update().
union eth_rx_cqe* bxe_fastpath::rcq_chain |
Definition at line 574 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_free_hsi_mem(), and bxe_rxeof().
struct bxe_dma bxe_fastpath::rcq_dma |
Definition at line 573 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_free_hsi_mem(), bxe_grc_dump(), bxe_init_rx_rings(), and bxe_pf_rx_q_prep().
uint16_t bxe_fastpath::rx_bd_cons |
Definition at line 639 of file bxe.h.
Referenced by bxe_alloc_fp_buffers(), bxe_init_rx_rings(), and bxe_rxeof().
uint16_t bxe_fastpath::rx_bd_prod |
Definition at line 638 of file bxe.h.
Referenced by bxe_alloc_fp_buffers(), bxe_init_rx_rings(), and bxe_rxeof().
uint32_t bxe_fastpath::rx_buf_size |
Definition at line 607 of file bxe.h.
Referenced by bxe_alloc_rx_bd_mbuf(), bxe_alloc_rx_tpa_mbuf(), bxe_pf_rx_q_prep(), and bxe_set_fp_rx_buf_size().
struct eth_rx_bd* bxe_fastpath::rx_chain |
Definition at line 570 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_alloc_rx_bd_mbuf(), bxe_free_hsi_mem(), and bxe_tpa_start().
uint16_t bxe_fastpath::rx_cq_cons |
Definition at line 643 of file bxe.h.
Referenced by bxe_alloc_fp_buffers(), bxe_has_rx_work(), and bxe_rxeof().
uint16_t* bxe_fastpath::rx_cq_cons_sb |
Definition at line 665 of file bxe.h.
Referenced by bxe_has_rx_work(), bxe_init_eth_fp(), and bxe_rxeof().
uint16_t bxe_fastpath::rx_cq_prod |
Definition at line 642 of file bxe.h.
Referenced by bxe_alloc_fp_buffers(), bxe_init_rx_rings(), and bxe_rxeof().
struct bxe_dma bxe_fastpath::rx_dma |
Definition at line 569 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_free_hsi_mem(), bxe_grc_dump(), and bxe_pf_rx_q_prep().
struct bxe_sw_rx_bd bxe_fastpath::rx_mbuf_chain[RX_BD_TOTAL] |
Definition at line 586 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_alloc_rx_bd_mbuf(), bxe_free_hsi_mem(), bxe_free_rx_bd_chain(), bxe_rxeof(), and bxe_tpa_start().
bus_dmamap_t bxe_fastpath::rx_mbuf_spare_map |
Definition at line 587 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_alloc_rx_bd_mbuf(), and bxe_free_hsi_mem().
bus_dma_tag_t bxe_fastpath::rx_mbuf_tag |
Definition at line 585 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_alloc_rx_bd_mbuf(), bxe_alloc_rx_tpa_mbuf(), bxe_free_hsi_mem(), bxe_free_rx_bd_chain(), bxe_free_tpa_pool(), and bxe_tpa_start().
struct mtx bxe_fastpath::rx_mtx |
Definition at line 548 of file bxe.h.
Referenced by bxe_destroy_fp_mutexs(), and bxe_init_fp_mutexs().
char bxe_fastpath::rx_mtx_name[32] |
Definition at line 549 of file bxe.h.
Referenced by bxe_init_fp_mutexs().
struct eth_rx_sge* bxe_fastpath::rx_sge_chain |
Definition at line 578 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_alloc_rx_sge_mbuf(), and bxe_free_hsi_mem().
struct bxe_dma bxe_fastpath::rx_sge_dma |
Definition at line 577 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_free_hsi_mem(), bxe_grc_dump(), and bxe_pf_rx_q_prep().
struct bxe_sw_rx_bd bxe_fastpath::rx_sge_mbuf_chain[RX_SGE_TOTAL] |
Definition at line 591 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_alloc_rx_sge_mbuf(), bxe_fill_frag_mbuf(), bxe_free_hsi_mem(), bxe_free_sge_chain(), and bxe_service_rxsgl().
bus_dmamap_t bxe_fastpath::rx_sge_mbuf_spare_map |
Definition at line 592 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_alloc_rx_sge_mbuf(), and bxe_free_hsi_mem().
bus_dma_tag_t bxe_fastpath::rx_sge_mbuf_tag |
Definition at line 590 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_alloc_rx_sge_mbuf(), bxe_free_hsi_mem(), and bxe_free_sge_chain().
uint16_t bxe_fastpath::rx_sge_prod |
Definition at line 656 of file bxe.h.
Referenced by bxe_alloc_fp_buffers(), bxe_init_rx_rings(), bxe_rxeof(), and bxe_update_sge_prod().
struct bxe_sw_tpa_info bxe_fastpath::rx_tpa_info[ETH_MAX_AGGREGATION_QUEUES_E1H_E2] |
Definition at line 596 of file bxe.h.
Referenced by bxe_alloc_fp_buffers(), bxe_alloc_hsi_mem(), bxe_alloc_rx_tpa_mbuf(), bxe_free_hsi_mem(), bxe_free_tpa_pool(), bxe_rxeof(), bxe_tpa_start(), and bxe_tpa_stop().
bus_dmamap_t bxe_fastpath::rx_tpa_info_mbuf_spare_map |
Definition at line 597 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_alloc_rx_tpa_mbuf(), and bxe_free_hsi_mem().
uint64_t bxe_fastpath::rx_tpa_queue_used |
Definition at line 598 of file bxe.h.
Referenced by bxe_tpa_start(), and bxe_tpa_stop().
struct bxe_dma bxe_fastpath::sb_dma |
Definition at line 561 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_free_hsi_mem(), bxe_grc_dump(), and bxe_init_eth_fp().
uint16_t* bxe_fastpath::sb_index_values |
Definition at line 600 of file bxe.h.
Referenced by bxe_init_eth_fp().
uint16_t* bxe_fastpath::sb_running_index |
Definition at line 601 of file bxe.h.
Referenced by bxe_init_eth_fp(), and bxe_update_fp_sb_idx().
struct bxe_softc* bxe_fastpath::sc |
Definition at line 544 of file bxe.h.
Referenced by bxe_alloc_buf_rings(), bxe_alloc_fp_buffers(), bxe_alloc_fw_stats_mem(), bxe_alloc_hsi_mem(), bxe_attn_int_asserted(), bxe_check_blocks_with_parity0(), bxe_check_blocks_with_parity1(), bxe_check_blocks_with_parity2(), bxe_check_blocks_with_parity3(), bxe_check_blocks_with_parity4(), bxe_del_all_macs(), bxe_destroy_fp_mutexs(), bxe_drain_tx_queues(), bxe_fill_accept_flags(), bxe_fp_qzone_id(), bxe_free_buf_rings(), bxe_free_fp_buffers(), bxe_free_fw_stats_mem(), bxe_free_hsi_mem(), bxe_free_tpa_pool(), bxe_handle_fp_tq(), bxe_init_eth_fp(), bxe_init_fp_mutexs(), bxe_init_func_obj(), bxe_init_rx_rings(), bxe_init_tx_rings(), bxe_interrupt_attach(), bxe_interrupt_detach(), bxe_intr_fp(), bxe_intr_legacy(), bxe_link_attn(), bxe_nic_unload(), bxe_parity_attn(), bxe_prev_interrupted_dmae(), bxe_prev_mcp_done(), bxe_print_next_block(), bxe_reset_func(), bxe_save_statistics(), bxe_service_rxsgl(), bxe_stats_id(), bxe_stop_queue(), bxe_storm_stats_update(), bxe_task_fp(), bxe_tx_encap(), bxe_tx_mq_start(), bxe_tx_mq_start_deferred(), and bxe_tx_start().
uint64_t bxe_fastpath::sge_mask[RX_SGE_MASK_LEN] |
Definition at line 655 of file bxe.h.
Referenced by bxe_clear_sge_mask_next_elems(), bxe_init_sge_ring_bit_mask(), and bxe_update_sge_prod().
int bxe_fastpath::state |
Definition at line 610 of file bxe.h.
Referenced by bxe_interrupt_attach(), and bxe_mq_flush().
union bxe_host_hc_status_block bxe_fastpath::status_block |
Definition at line 562 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_free_hsi_mem(), and bxe_init_eth_fp().
int bxe_fastpath::tpa_enable |
Definition at line 595 of file bxe.h.
Referenced by bxe_alloc_fp_buffers().
struct taskqueue* bxe_fastpath::tq |
Definition at line 624 of file bxe.h.
Referenced by bxe_handle_fp_tq(), bxe_interrupt_attach(), bxe_interrupt_detach(), bxe_link_attn(), bxe_task_fp(), bxe_tx_mq_start(), and bxe_tx_mq_start_locked().
char bxe_fastpath::tq_name[32] |
Definition at line 625 of file bxe.h.
Referenced by bxe_interrupt_attach().
struct task bxe_fastpath::tq_task |
Definition at line 623 of file bxe.h.
Referenced by bxe_handle_fp_tq(), bxe_interrupt_attach(), bxe_interrupt_detach(), and bxe_task_fp().
uint16_t bxe_fastpath::tx_bd_cons |
Definition at line 653 of file bxe.h.
Referenced by bxe_init_tx_ring_one(), bxe_tx_avail(), and bxe_txeof().
uint16_t bxe_fastpath::tx_bd_prod |
Definition at line 652 of file bxe.h.
Referenced by bxe_init_tx_ring_one(), bxe_tx_avail(), and bxe_tx_encap().
struct buf_ring* bxe_fastpath::tx_br |
Definition at line 684 of file bxe.h.
Referenced by bxe_alloc_buf_rings(), bxe_free_buf_rings(), bxe_free_fp_buffers(), bxe_mq_flush(), bxe_tx_mq_start(), and bxe_tx_mq_start_locked().
union eth_tx_bd_types* bxe_fastpath::tx_chain |
Definition at line 566 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_free_hsi_mem(), bxe_free_tx_pkt(), and bxe_tx_encap().
uint16_t* bxe_fastpath::tx_cons_sb |
Definition at line 668 of file bxe.h.
Referenced by bxe_init_eth_fp(), bxe_tx_queue_has_work(), and bxe_txeof().
union bxe_db_prod bxe_fastpath::tx_db |
Definition at line 645 of file bxe.h.
Referenced by bxe_init_tx_ring_one(), and bxe_tx_encap().
struct bxe_dma bxe_fastpath::tx_dma |
Definition at line 565 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_free_hsi_mem(), bxe_grc_dump(), and bxe_pf_tx_q_prep().
struct bxe_sw_tx_bd bxe_fastpath::tx_mbuf_chain[TX_BD_TOTAL] |
Definition at line 582 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_free_hsi_mem(), bxe_free_tx_pkt(), and bxe_tx_encap().
bus_dma_tag_t bxe_fastpath::tx_mbuf_tag |
Definition at line 581 of file bxe.h.
Referenced by bxe_alloc_hsi_mem(), bxe_free_hsi_mem(), bxe_free_tx_pkt(), and bxe_tx_encap().
struct mtx bxe_fastpath::tx_mtx |
Definition at line 546 of file bxe.h.
Referenced by bxe_alloc_buf_rings(), bxe_destroy_fp_mutexs(), bxe_free_fp_buffers(), and bxe_init_fp_mutexs().
char bxe_fastpath::tx_mtx_name[32] |
Definition at line 547 of file bxe.h.
Referenced by bxe_init_fp_mutexs().
uint16_t bxe_fastpath::tx_pkt_cons |
Definition at line 649 of file bxe.h.
Referenced by bxe_init_tx_ring_one(), bxe_tx_queue_has_work(), and bxe_txeof().
uint16_t bxe_fastpath::tx_pkt_prod |
Definition at line 648 of file bxe.h.
Referenced by bxe_init_tx_ring_one(), bxe_tx_encap(), and bxe_txeof().
struct task bxe_fastpath::tx_task |
Definition at line 627 of file bxe.h.
Referenced by bxe_interrupt_attach(), bxe_interrupt_detach(), bxe_link_attn(), and bxe_tx_mq_start().
struct timeout_task bxe_fastpath::tx_timeout_task |
Definition at line 628 of file bxe.h.
Referenced by bxe_interrupt_attach(), bxe_interrupt_detach(), and bxe_tx_mq_start_locked().
uint32_t bxe_fastpath::ustorm_rx_prods_offset |
Definition at line 602 of file bxe.h.
Referenced by bxe_init_eth_fp(), and bxe_update_rx_prod().
int bxe_fastpath::watchdog_timer |
Definition at line 671 of file bxe.h.
Referenced by bxe_nic_unload(), bxe_tx_mq_start_locked(), bxe_tx_start_locked(), bxe_txeof(), and bxe_watchdog().