FreeBSD kernel CXGB device code
sge_txq Struct Reference

#include <cxgb_adapter.h>

Collaboration diagram for sge_txq:

Data Fields

uint64_t flags
 
uint32_t in_use
 
uint32_t size
 
uint32_t processed
 
uint32_t cleaned
 
uint32_t stop_thres
 
uint32_t cidx
 
uint32_t pidx
 
uint32_t gen
 
uint32_t unacked
 
uint32_t db_pending
 
struct tx_descdesc
 
struct tx_sw_descsdesc
 
uint32_t token
 
bus_addr_t phys_addr
 
struct task qresume_task
 
struct task qreclaim_task
 
uint32_t cntxt_id
 
uint64_t stops
 
uint64_t restarts
 
bus_dma_tag_t desc_tag
 
bus_dmamap_t desc_map
 
bus_dma_tag_t entry_tag
 
struct mbufq sendq
 
struct buf_ring * txq_mr
 
struct ifaltq * txq_ifq
 
struct callout txq_timer
 
struct callout txq_watchdog
 
uint64_t txq_coalesced
 
uint32_t txq_skipped
 
uint32_t txq_enqueued
 
uint32_t txq_dump_start
 
uint32_t txq_dump_count
 
uint64_t txq_direct_packets
 
uint64_t txq_direct_bytes
 
uint64_t txq_frees
 
struct sg_ent txq_sgl [TX_MAX_SEGS/2+1]
 

Detailed Description

Definition at line 229 of file cxgb_adapter.h.

Field Documentation

◆ cidx

uint32_t sge_txq::cidx

Definition at line 236 of file cxgb_adapter.h.

Referenced by t3_add_configured_sysctls(), t3_free_tx_desc(), and txq_prod().

◆ cleaned

uint32_t sge_txq::cleaned

◆ cntxt_id

uint32_t sge_txq::cntxt_id

◆ db_pending

uint32_t sge_txq::db_pending

Definition at line 240 of file cxgb_adapter.h.

Referenced by check_ring_tx_db(), cxgb_start_locked(), and cxgb_transmit_locked().

◆ desc

◆ desc_map

bus_dmamap_t sge_txq::desc_map

Definition at line 251 of file cxgb_adapter.h.

Referenced by t3_free_qset(), and t3_sge_alloc_qset().

◆ desc_tag

bus_dma_tag_t sge_txq::desc_tag

Definition at line 250 of file cxgb_adapter.h.

Referenced by t3_free_qset(), and t3_sge_alloc_qset().

◆ entry_tag

bus_dma_tag_t sge_txq::entry_tag

Definition at line 252 of file cxgb_adapter.h.

Referenced by t3_encap(), t3_free_qset(), t3_free_tx_desc(), and t3_sge_alloc_qset().

◆ flags

uint64_t sge_txq::flags

Definition at line 230 of file cxgb_adapter.h.

Referenced by check_ring_tx_db(), and handle_rsp_cntrl_info().

◆ gen

uint32_t sge_txq::gen

◆ in_use

◆ phys_addr

bus_addr_t sge_txq::phys_addr

Definition at line 244 of file cxgb_adapter.h.

Referenced by t3_add_configured_sysctls(), and t3_sge_alloc_qset().

◆ pidx

uint32_t sge_txq::pidx

◆ processed

uint32_t sge_txq::processed

◆ qreclaim_task

struct task sge_txq::qreclaim_task

Definition at line 246 of file cxgb_adapter.h.

Referenced by t3_sge_alloc_qset().

◆ qresume_task

struct task sge_txq::qresume_task

Definition at line 245 of file cxgb_adapter.h.

Referenced by restart_tx(), and t3_sge_alloc_qset().

◆ restarts

uint64_t sge_txq::restarts

Definition at line 249 of file cxgb_adapter.h.

Referenced by restart_tx().

◆ sdesc

struct tx_sw_desc* sge_txq::sdesc

◆ sendq

struct mbufq sge_txq::sendq

◆ size

◆ stop_thres

uint32_t sge_txq::stop_thres

Definition at line 235 of file cxgb_adapter.h.

Referenced by t3_sge_alloc_qset().

◆ stops

uint64_t sge_txq::stops

Definition at line 248 of file cxgb_adapter.h.

Referenced by check_desc_avail(), and restart_ctrlq().

◆ token

uint32_t sge_txq::token

Definition at line 243 of file cxgb_adapter.h.

Referenced by ctrl_xmit(), init_qset_cntxt(), t3_encap(), and t3_sge_alloc_qset().

◆ txq_coalesced

uint64_t sge_txq::txq_coalesced

Definition at line 259 of file cxgb_adapter.h.

Referenced by t3_add_configured_sysctls(), and t3_encap().

◆ txq_direct_bytes

uint64_t sge_txq::txq_direct_bytes

Definition at line 265 of file cxgb_adapter.h.

Referenced by cxgb_transmit_locked().

◆ txq_direct_packets

uint64_t sge_txq::txq_direct_packets

Definition at line 264 of file cxgb_adapter.h.

Referenced by cxgb_transmit_locked().

◆ txq_dump_count

uint32_t sge_txq::txq_dump_count

Definition at line 263 of file cxgb_adapter.h.

Referenced by t3_add_configured_sysctls(), t3_dump_txq_ctrl(), and t3_dump_txq_eth().

◆ txq_dump_start

uint32_t sge_txq::txq_dump_start

Definition at line 262 of file cxgb_adapter.h.

Referenced by t3_add_configured_sysctls(), t3_dump_txq_ctrl(), and t3_dump_txq_eth().

◆ txq_enqueued

uint32_t sge_txq::txq_enqueued

Definition at line 261 of file cxgb_adapter.h.

Referenced by t3_add_configured_sysctls().

◆ txq_frees

uint64_t sge_txq::txq_frees

Definition at line 266 of file cxgb_adapter.h.

Referenced by t3_add_configured_sysctls().

◆ txq_ifq

struct ifaltq* sge_txq::txq_ifq

Definition at line 256 of file cxgb_adapter.h.

Referenced by t3_free_qset(), and t3_sge_alloc_qset().

◆ txq_mr

struct buf_ring* sge_txq::txq_mr

◆ txq_sgl

struct sg_ent sge_txq::txq_sgl[TX_MAX_SEGS/2+1]

Definition at line 267 of file cxgb_adapter.h.

Referenced by t3_encap().

◆ txq_skipped

uint32_t sge_txq::txq_skipped

Definition at line 260 of file cxgb_adapter.h.

Referenced by t3_add_configured_sysctls(), and t3_free_tx_desc().

◆ txq_timer

struct callout sge_txq::txq_timer

◆ txq_watchdog

struct callout sge_txq::txq_watchdog

◆ unacked

uint32_t sge_txq::unacked

Definition at line 239 of file cxgb_adapter.h.

Referenced by txq_prod().


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