Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgbe/tom/t4_tom.h
Show First 20 Lines • Show All 179 Lines • ▼ Show 20 Lines | |||||
struct toepcb { | struct toepcb { | ||||
struct tom_data *td; | struct tom_data *td; | ||||
struct inpcb *inp; /* backpointer to host stack's PCB */ | struct inpcb *inp; /* backpointer to host stack's PCB */ | ||||
u_int flags; /* miscellaneous flags */ | u_int flags; /* miscellaneous flags */ | ||||
TAILQ_ENTRY(toepcb) link; /* toep_list */ | TAILQ_ENTRY(toepcb) link; /* toep_list */ | ||||
int refcount; | int refcount; | ||||
struct vnet *vnet; | struct vnet *vnet; | ||||
struct vi_info *vi; /* virtual interface */ | struct vi_info *vi; /* virtual interface */ | ||||
struct sge_wrq *ofld_txq; | struct sge_ofld_txq *ofld_txq; | ||||
struct sge_ofld_rxq *ofld_rxq; | struct sge_ofld_rxq *ofld_rxq; | ||||
struct sge_wrq *ctrlq; | struct sge_wrq *ctrlq; | ||||
struct l2t_entry *l2te; /* L2 table entry used by this connection */ | struct l2t_entry *l2te; /* L2 table entry used by this connection */ | ||||
struct clip_entry *ce; /* CLIP table entry used by this tid */ | struct clip_entry *ce; /* CLIP table entry used by this tid */ | ||||
int tid; /* Connection identifier */ | int tid; /* Connection identifier */ | ||||
/* tx credit handling */ | /* tx credit handling */ | ||||
u_int tx_total; /* total tx WR credits (in 16B units) */ | u_int tx_total; /* total tx WR credits (in 16B units) */ | ||||
▲ Show 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | |||||
void t4_offload_socket(struct toedev *, void *, struct socket *); | void t4_offload_socket(struct toedev *, void *, struct socket *); | ||||
void synack_failure_cleanup(struct adapter *, int); | void synack_failure_cleanup(struct adapter *, int); | ||||
/* t4_cpl_io.c */ | /* t4_cpl_io.c */ | ||||
void aiotx_init_toep(struct toepcb *); | void aiotx_init_toep(struct toepcb *); | ||||
int t4_aio_queue_aiotx(struct socket *, struct kaiocb *); | int t4_aio_queue_aiotx(struct socket *, struct kaiocb *); | ||||
void t4_init_cpl_io_handlers(void); | void t4_init_cpl_io_handlers(void); | ||||
void t4_uninit_cpl_io_handlers(void); | void t4_uninit_cpl_io_handlers(void); | ||||
void send_abort_rpl(struct adapter *, struct sge_wrq *, int , int); | void send_abort_rpl(struct adapter *, struct sge_ofld_txq *, int , int); | ||||
void send_flowc_wr(struct toepcb *, struct tcpcb *); | void send_flowc_wr(struct toepcb *, struct tcpcb *); | ||||
void send_reset(struct adapter *, struct toepcb *, uint32_t); | void send_reset(struct adapter *, struct toepcb *, uint32_t); | ||||
int send_rx_credits(struct adapter *, struct toepcb *, int); | int send_rx_credits(struct adapter *, struct toepcb *, int); | ||||
void send_rx_modulate(struct adapter *, struct toepcb *); | void send_rx_modulate(struct adapter *, struct toepcb *); | ||||
void make_established(struct toepcb *, uint32_t, uint32_t, uint16_t); | void make_established(struct toepcb *, uint32_t, uint32_t, uint16_t); | ||||
int t4_close_conn(struct adapter *, struct toepcb *); | int t4_close_conn(struct adapter *, struct toepcb *); | ||||
void t4_rcvd(struct toedev *, struct tcpcb *); | void t4_rcvd(struct toedev *, struct tcpcb *); | ||||
void t4_rcvd_locked(struct toedev *, struct tcpcb *); | void t4_rcvd_locked(struct toedev *, struct tcpcb *); | ||||
Show All 9 Lines | |||||
int t4_init_ppod_region(struct ppod_region *, struct t4_range *, u_int, | int t4_init_ppod_region(struct ppod_region *, struct t4_range *, u_int, | ||||
const char *); | const char *); | ||||
void t4_free_ppod_region(struct ppod_region *); | void t4_free_ppod_region(struct ppod_region *); | ||||
int t4_alloc_page_pods_for_ps(struct ppod_region *, struct pageset *); | int t4_alloc_page_pods_for_ps(struct ppod_region *, struct pageset *); | ||||
int t4_alloc_page_pods_for_buf(struct ppod_region *, vm_offset_t, int, | int t4_alloc_page_pods_for_buf(struct ppod_region *, vm_offset_t, int, | ||||
struct ppod_reservation *); | struct ppod_reservation *); | ||||
int t4_write_page_pods_for_ps(struct adapter *, struct sge_wrq *, int, | int t4_write_page_pods_for_ps(struct adapter *, struct sge_wrq *, int, | ||||
struct pageset *); | struct pageset *); | ||||
int t4_write_page_pods_for_buf(struct adapter *, struct sge_wrq *, int tid, | int t4_write_page_pods_for_buf(struct adapter *, struct sge_wrq *, int, | ||||
struct ppod_reservation *, vm_offset_t, int); | struct ppod_reservation *, vm_offset_t, int); | ||||
void t4_free_page_pods(struct ppod_reservation *); | void t4_free_page_pods(struct ppod_reservation *); | ||||
int t4_soreceive_ddp(struct socket *, struct sockaddr **, struct uio *, | int t4_soreceive_ddp(struct socket *, struct sockaddr **, struct uio *, | ||||
struct mbuf **, struct mbuf **, int *); | struct mbuf **, struct mbuf **, int *); | ||||
int t4_aio_queue_ddp(struct socket *, struct kaiocb *); | int t4_aio_queue_ddp(struct socket *, struct kaiocb *); | ||||
void t4_ddp_mod_load(void); | void t4_ddp_mod_load(void); | ||||
void t4_ddp_mod_unload(void); | void t4_ddp_mod_unload(void); | ||||
void ddp_assert_empty(struct toepcb *); | void ddp_assert_empty(struct toepcb *); | ||||
Show All 28 Lines |