FreeBSD kernel BXE device code
bxe_fastpath Struct Reference

#include <bxe.h>

Collaboration diagram for bxe_fastpath:

Data Fields

struct bxe_softcsc
 
struct mtx tx_mtx
 
char tx_mtx_name [32]
 
struct mtx rx_mtx
 
char rx_mtx_name [32]
 
struct bxe_dma sb_dma
 
union bxe_host_hc_status_block status_block
 
struct bxe_dma tx_dma
 
union eth_tx_bd_typestx_chain
 
struct bxe_dma rx_dma
 
struct eth_rx_bdrx_chain
 
struct bxe_dma rcq_dma
 
union eth_rx_cqercq_chain
 
struct bxe_dma rx_sge_dma
 
struct eth_rx_sgerx_sge_chain
 
bus_dma_tag_t tx_mbuf_tag
 
struct bxe_sw_tx_bd tx_mbuf_chain [TX_BD_TOTAL]
 
bus_dma_tag_t rx_mbuf_tag
 
struct bxe_sw_rx_bd rx_mbuf_chain [RX_BD_TOTAL]
 
bus_dmamap_t rx_mbuf_spare_map
 
bus_dma_tag_t rx_sge_mbuf_tag
 
struct bxe_sw_rx_bd rx_sge_mbuf_chain [RX_SGE_TOTAL]
 
bus_dmamap_t rx_sge_mbuf_spare_map
 
int tpa_enable
 
struct bxe_sw_tpa_info rx_tpa_info [ETH_MAX_AGGREGATION_QUEUES_E1H_E2]
 
bus_dmamap_t rx_tpa_info_mbuf_spare_map
 
uint64_t rx_tpa_queue_used
 
uint16_t * sb_index_values
 
uint16_t * sb_running_index
 
uint32_t ustorm_rx_prods_offset
 
uint8_t igu_sb_id
 
uint8_t fw_sb_id
 
uint32_t rx_buf_size
 
int mbuf_alloc_size
 
int state
 
uint8_t index
 
struct task tq_task
 
struct taskqueue * tq
 
char tq_name [32]
 
struct task tx_task
 
struct timeout_task tx_timeout_task
 
uint8_t cl_id
 
uint8_t cl_qzone_id
 
uint16_t fp_hc_idx
 
uint16_t rx_bd_prod
 
uint16_t rx_bd_cons
 
uint16_t rx_cq_prod
 
uint16_t rx_cq_cons
 
union bxe_db_prod tx_db
 
uint16_t tx_pkt_prod
 
uint16_t tx_pkt_cons
 
uint16_t tx_bd_prod
 
uint16_t tx_bd_cons
 
uint64_t sge_mask [RX_SGE_MASK_LEN]
 
uint16_t rx_sge_prod
 
struct tstorm_per_queue_stats old_tclient
 
struct ustorm_per_queue_stats old_uclient
 
struct xstorm_per_queue_stats old_xclient
 
struct bxe_eth_q_stats eth_q_stats
 
struct bxe_eth_q_stats_old eth_q_stats_old
 
uint16_t * rx_cq_cons_sb
 
uint16_t * tx_cons_sb
 
int watchdog_timer
 
uint16_t last_max_sge
 
struct buf_ring * tx_br
 

Detailed Description

Definition at line 542 of file bxe.h.

Field Documentation

◆ cl_id

◆ cl_qzone_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().

◆ eth_q_stats

◆ eth_q_stats_old

struct bxe_eth_q_stats_old bxe_fastpath::eth_q_stats_old

◆ fp_hc_idx

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().

◆ fw_sb_id

uint8_t bxe_fastpath::fw_sb_id

◆ igu_sb_id

uint8_t bxe_fastpath::igu_sb_id

◆ index

◆ last_max_sge

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().

◆ mbuf_alloc_size

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().

◆ old_tclient

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().

◆ old_uclient

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().

◆ old_xclient

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().

◆ rcq_chain

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().

◆ rcq_dma

struct bxe_dma bxe_fastpath::rcq_dma

◆ rx_bd_cons

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().

◆ rx_bd_prod

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().

◆ rx_buf_size

uint32_t bxe_fastpath::rx_buf_size

◆ rx_chain

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().

◆ rx_cq_cons

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().

◆ rx_cq_cons_sb

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().

◆ rx_cq_prod

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().

◆ rx_dma

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().

◆ rx_mbuf_chain

struct bxe_sw_rx_bd bxe_fastpath::rx_mbuf_chain[RX_BD_TOTAL]

◆ rx_mbuf_spare_map

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().

◆ rx_mbuf_tag

bus_dma_tag_t bxe_fastpath::rx_mbuf_tag

◆ rx_mtx

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().

◆ rx_mtx_name

char bxe_fastpath::rx_mtx_name[32]

Definition at line 549 of file bxe.h.

Referenced by bxe_init_fp_mutexs().

◆ rx_sge_chain

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().

◆ rx_sge_dma

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().

◆ rx_sge_mbuf_chain

struct bxe_sw_rx_bd bxe_fastpath::rx_sge_mbuf_chain[RX_SGE_TOTAL]

◆ rx_sge_mbuf_spare_map

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().

◆ rx_sge_mbuf_tag

bus_dma_tag_t bxe_fastpath::rx_sge_mbuf_tag

◆ rx_sge_prod

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().

◆ rx_tpa_info

◆ rx_tpa_info_mbuf_spare_map

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().

◆ rx_tpa_queue_used

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().

◆ sb_dma

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().

◆ sb_index_values

uint16_t* bxe_fastpath::sb_index_values

Definition at line 600 of file bxe.h.

Referenced by bxe_init_eth_fp().

◆ sb_running_index

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().

◆ sc

◆ sge_mask

uint64_t bxe_fastpath::sge_mask[RX_SGE_MASK_LEN]

◆ state

int bxe_fastpath::state

Definition at line 610 of file bxe.h.

Referenced by bxe_interrupt_attach(), and bxe_mq_flush().

◆ status_block

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().

◆ tpa_enable

int bxe_fastpath::tpa_enable

Definition at line 595 of file bxe.h.

Referenced by bxe_alloc_fp_buffers().

◆ tq

struct taskqueue* bxe_fastpath::tq

◆ tq_name

char bxe_fastpath::tq_name[32]

Definition at line 625 of file bxe.h.

Referenced by bxe_interrupt_attach().

◆ tq_task

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().

◆ tx_bd_cons

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().

◆ tx_bd_prod

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().

◆ tx_br

struct buf_ring* bxe_fastpath::tx_br

◆ tx_chain

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().

◆ tx_cons_sb

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().

◆ tx_db

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().

◆ tx_dma

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().

◆ tx_mbuf_chain

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().

◆ tx_mbuf_tag

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().

◆ tx_mtx

struct mtx bxe_fastpath::tx_mtx

◆ tx_mtx_name

char bxe_fastpath::tx_mtx_name[32]

Definition at line 547 of file bxe.h.

Referenced by bxe_init_fp_mutexs().

◆ tx_pkt_cons

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().

◆ tx_pkt_prod

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().

◆ tx_task

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().

◆ tx_timeout_task

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().

◆ ustorm_rx_prods_offset

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().

◆ watchdog_timer

int bxe_fastpath::watchdog_timer

The documentation for this struct was generated from the following file: