Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/cxgbe/adapter.h
Show First 20 Lines • Show All 568 Lines • ▼ Show 20 Lines | struct sge_txq { | ||||
uint64_t vlan_insertion;/* # of times VLAN tag was inserted */ | uint64_t vlan_insertion;/* # of times VLAN tag was inserted */ | ||||
uint64_t imm_wrs; /* # of work requests with immediate data */ | uint64_t imm_wrs; /* # of work requests with immediate data */ | ||||
uint64_t sgl_wrs; /* # of work requests with direct SGL */ | uint64_t sgl_wrs; /* # of work requests with direct SGL */ | ||||
uint64_t txpkt_wrs; /* # of txpkt work requests (not coalesced) */ | uint64_t txpkt_wrs; /* # of txpkt work requests (not coalesced) */ | ||||
uint64_t txpkts0_wrs; /* # of type0 coalesced tx work requests */ | uint64_t txpkts0_wrs; /* # of type0 coalesced tx work requests */ | ||||
uint64_t txpkts1_wrs; /* # of type1 coalesced tx work requests */ | uint64_t txpkts1_wrs; /* # of type1 coalesced tx work requests */ | ||||
uint64_t txpkts0_pkts; /* # of frames in type0 coalesced tx WRs */ | uint64_t txpkts0_pkts; /* # of frames in type0 coalesced tx WRs */ | ||||
uint64_t txpkts1_pkts; /* # of frames in type1 coalesced tx WRs */ | uint64_t txpkts1_pkts; /* # of frames in type1 coalesced tx WRs */ | ||||
uint64_t raw_wrs; /* # of raw work requests (alloc_wr_mbuf) */ | |||||
/* stats for not-that-common events */ | /* stats for not-that-common events */ | ||||
} __aligned(CACHE_LINE_SIZE); | } __aligned(CACHE_LINE_SIZE); | ||||
/* rxq: SGE ingress queue + SGE free list + miscellaneous items */ | /* rxq: SGE ingress queue + SGE free list + miscellaneous items */ | ||||
struct sge_rxq { | struct sge_rxq { | ||||
struct sge_iq iq; /* MUST be first */ | struct sge_iq iq; /* MUST be first */ | ||||
struct sge_fl fl; /* MUST follow iq */ | struct sge_fl fl; /* MUST follow iq */ | ||||
▲ Show 20 Lines • Show All 580 Lines • ▼ Show 20 Lines | |||||
#ifdef DEV_NETMAP | #ifdef DEV_NETMAP | ||||
void t4_nm_intr(void *); | void t4_nm_intr(void *); | ||||
void t4_vi_intr(void *); | void t4_vi_intr(void *); | ||||
#endif | #endif | ||||
void t4_intr_err(void *); | void t4_intr_err(void *); | ||||
void t4_intr_evt(void *); | void t4_intr_evt(void *); | ||||
void t4_wrq_tx_locked(struct adapter *, struct sge_wrq *, struct wrqe *); | void t4_wrq_tx_locked(struct adapter *, struct sge_wrq *, struct wrqe *); | ||||
void t4_update_fl_bufsize(struct ifnet *); | void t4_update_fl_bufsize(struct ifnet *); | ||||
struct mbuf *alloc_wr_mbuf(int, int); | |||||
int parse_pkt(struct adapter *, struct mbuf **); | int parse_pkt(struct adapter *, struct mbuf **); | ||||
void *start_wrq_wr(struct sge_wrq *, int, struct wrq_cookie *); | void *start_wrq_wr(struct sge_wrq *, int, struct wrq_cookie *); | ||||
void commit_wrq_wr(struct sge_wrq *, void *, struct wrq_cookie *); | void commit_wrq_wr(struct sge_wrq *, void *, struct wrq_cookie *); | ||||
int tnl_cong(struct port_info *, int); | int tnl_cong(struct port_info *, int); | ||||
void t4_register_an_handler(an_handler_t); | void t4_register_an_handler(an_handler_t); | ||||
void t4_register_fw_msg_handler(int, fw_msg_handler_t); | void t4_register_fw_msg_handler(int, fw_msg_handler_t); | ||||
void t4_register_cpl_handler(int, cpl_handler_t); | void t4_register_cpl_handler(int, cpl_handler_t); | ||||
void t4_register_shared_cpl_handler(int, cpl_handler_t, int); | void t4_register_shared_cpl_handler(int, cpl_handler_t, int); | ||||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |