Lines Matching refs:cxgbi_sock
112 struct cxgbi_sock {
273 static inline void cxgbi_sock_set_flag(struct cxgbi_sock *csk,
282 static inline void cxgbi_sock_clear_flag(struct cxgbi_sock *csk,
291 static inline int cxgbi_sock_flag(struct cxgbi_sock *csk,
299 static inline void cxgbi_sock_set_state(struct cxgbi_sock *csk, int state)
309 struct cxgbi_sock *csk = container_of(kref,
310 struct cxgbi_sock,
320 static inline void __cxgbi_sock_put(const char *fn, struct cxgbi_sock *csk)
329 static inline void __cxgbi_sock_get(const char *fn, struct cxgbi_sock *csk)
338 static inline int cxgbi_sock_is_closing(struct cxgbi_sock *csk)
343 static inline int cxgbi_sock_is_established(struct cxgbi_sock *csk)
348 static inline void cxgbi_sock_purge_write_queue(struct cxgbi_sock *csk)
386 static inline void cxgbi_sock_reset_wr_list(struct cxgbi_sock *csk)
391 static inline void cxgbi_sock_enqueue_wr(struct cxgbi_sock *csk,
408 static inline int cxgbi_sock_count_pending_wrs(const struct cxgbi_sock *csk)
420 static inline struct sk_buff *cxgbi_sock_peek_wr(const struct cxgbi_sock *csk)
425 static inline struct sk_buff *cxgbi_sock_dequeue_wr(struct cxgbi_sock *csk)
436 void cxgbi_sock_check_wr_invariants(const struct cxgbi_sock *);
437 void cxgbi_sock_purge_wr_queue(struct cxgbi_sock *);
438 void cxgbi_sock_skb_entail(struct cxgbi_sock *, struct sk_buff *);
439 void cxgbi_sock_fail_act_open(struct cxgbi_sock *, int);
441 void cxgbi_sock_closed(struct cxgbi_sock *);
442 void cxgbi_sock_established(struct cxgbi_sock *, unsigned int, unsigned int);
443 void cxgbi_sock_rcv_abort_rpl(struct cxgbi_sock *);
444 void cxgbi_sock_rcv_peer_close(struct cxgbi_sock *);
445 void cxgbi_sock_rcv_close_conn_rpl(struct cxgbi_sock *, u32);
446 void cxgbi_sock_rcv_wr_ack(struct cxgbi_sock *, unsigned int, unsigned int,
448 unsigned int cxgbi_sock_select_mss(struct cxgbi_sock *, unsigned int);
449 void cxgbi_sock_free_cpl_skbs(struct cxgbi_sock *);
466 struct cxgbi_sock **port_csk;
504 int (*csk_ddp_set_map)(struct cxgbi_ppm *, struct cxgbi_sock *,
509 int (*csk_ddp_setup_digest)(struct cxgbi_sock *,
511 int (*csk_ddp_setup_pgidx)(struct cxgbi_sock *,
514 void (*csk_release_offload_resources)(struct cxgbi_sock *);
515 int (*csk_rx_pdu_ready)(struct cxgbi_sock *, struct sk_buff *);
516 u32 (*csk_send_rx_credits)(struct cxgbi_sock *, u32);
517 int (*csk_push_tx_frames)(struct cxgbi_sock *, int);
518 void (*csk_send_abort_req)(struct cxgbi_sock *);
519 void (*csk_send_close_req)(struct cxgbi_sock *);
520 int (*csk_alloc_cpls)(struct cxgbi_sock *);
521 int (*csk_init_act_open)(struct cxgbi_sock *);
539 struct cxgbi_sock *csk;
602 void cxgbi_conn_tx_open(struct cxgbi_sock *);
603 void cxgbi_conn_pdu_ready(struct cxgbi_sock *);