c4iw_dev
static int act_establish(struct c4iw_dev *dev, struct sk_buff *skb)
static int sched(struct c4iw_dev *dev, struct sk_buff *skb);
static int rx_data(struct c4iw_dev *dev, struct sk_buff *skb)
static int abort_rpl(struct c4iw_dev *dev, struct sk_buff *skb)
struct dst_entry *dst, struct c4iw_dev *cdev,
static int act_open_rpl(struct c4iw_dev *dev, struct sk_buff *skb)
static int pass_open_rpl(struct c4iw_dev *dev, struct sk_buff *skb)
static int close_listsrv_rpl(struct c4iw_dev *dev, struct sk_buff *skb)
static void reject_cr(struct c4iw_dev *dev, u32 hwtid, struct sk_buff *skb)
static int pass_accept_req(struct c4iw_dev *dev, struct sk_buff *skb)
static int pass_establish(struct c4iw_dev *dev, struct sk_buff *skb)
static int peer_close(struct c4iw_dev *dev, struct sk_buff *skb)
static void finish_peer_abort(struct c4iw_dev *dev, struct c4iw_ep *ep)
static int peer_abort(struct c4iw_dev *dev, struct sk_buff *skb)
static int close_con_rpl(struct c4iw_dev *dev, struct sk_buff *skb)
static int terminate(struct c4iw_dev *dev, struct sk_buff *skb)
static int fw4_ack(struct c4iw_dev *dev, struct sk_buff *skb)
struct c4iw_dev *h = to_c4iw_dev(cm_id->device);
static int pick_local_ipaddrs(struct c4iw_dev *dev, struct iw_cm_id *cm_id)
static int pick_local_ip6addrs(struct c4iw_dev *dev, struct iw_cm_id *cm_id)
struct c4iw_dev *dev = to_c4iw_dev(cm_id->device);
static int create_server6(struct c4iw_dev *dev, struct c4iw_listen_ep *ep)
static int create_server4(struct c4iw_dev *dev, struct c4iw_listen_ep *ep)
struct c4iw_dev *dev = to_c4iw_dev(cm_id->device);
static struct c4iw_ep *get_ep_from_tid(struct c4iw_dev *dev, unsigned int tid)
static struct c4iw_listen_ep *get_ep_from_stid(struct c4iw_dev *dev,
static void active_ofld_conn_reply(struct c4iw_dev *dev, struct sk_buff *skb,
static void passive_ofld_conn_reply(struct c4iw_dev *dev, struct sk_buff *skb,
static int read_tcb_rpl(struct c4iw_dev *dev, struct sk_buff *skb)
static int deferred_fw6_msg(struct c4iw_dev *dev, struct sk_buff *skb)
struct c4iw_dev *dev;
dev = *((struct c4iw_dev **) (skb->cb + sizeof(void *)));
static void send_fw_pass_open_req(struct c4iw_dev *dev, struct sk_buff *skb,
static int rx_pkt(struct c4iw_dev *dev, struct sk_buff *skb)
struct c4iw_dev *dev;
dev = *((struct c4iw_dev **) (skb->cb + sizeof(void *)));
static int sched(struct c4iw_dev *dev, struct sk_buff *skb)
*((struct c4iw_dev **) (skb->cb + sizeof(void *))) = dev;
static int set_tcb_rpl(struct c4iw_dev *dev, struct sk_buff *skb)
static int fw6_msg(struct c4iw_dev *dev, struct sk_buff *skb)
static int peer_abort_intr(struct c4iw_dev *dev, struct sk_buff *skb)
static int _put_ep_safe(struct c4iw_dev *dev, struct sk_buff *skb)
static int _put_pass_ep_safe(struct c4iw_dev *dev, struct sk_buff *skb)
struct c4iw_dev *rhp = to_c4iw_dev(ibcq->device);
static inline int recv_rx_pkt(struct c4iw_dev *dev, const struct pkt_gl *gl,
struct c4iw_dev *dev = ctx->dev;
struct c4iw_dev *dev = seq->private;
struct c4iw_dev *dev = ((struct seq_file *)file->private_data)->private;
struct c4iw_dev *dev = seq->private;
struct c4iw_dev *dev = ((struct seq_file *)file->private_data)->private;
static void setup_debugfs(struct c4iw_dev *devp)
struct c4iw_dev *devp;
static struct c4iw_dev *c4iw_alloc(const struct cxgb4_lld_info *infop)
struct c4iw_dev *devp;
devp = ib_alloc_device(c4iw_dev, ibdev);
void c4iw_ev_dispatch(struct c4iw_dev *dev, struct t4_cqe *err_cqe)
int c4iw_ev_handler(struct c4iw_dev *dev, u32 qid)
static void print_tpte(struct c4iw_dev *dev, u32 stag)
static void dump_err_cqe(struct c4iw_dev *dev, struct t4_cqe *err_cqe)
static void post_qp_event(struct c4iw_dev *dev, struct c4iw_cq *chp,
int c4iw_ev_handler(struct c4iw_dev *rnicp, u32 qid);
void c4iw_ev_dispatch(struct c4iw_dev *dev, struct t4_cqe *err_cqe);
void c4iw_invalidate_mr(struct c4iw_dev *rhp, u32 rkey);
struct c4iw_dev *dev;
static inline struct c4iw_dev *to_c4iw_dev(struct ib_device *ibdev)
return container_of(ibdev, struct c4iw_dev, ibdev);
static inline struct c4iw_cq *get_chp(struct c4iw_dev *rhp, u32 cqid)
static inline struct c4iw_qp *get_qhp(struct c4iw_dev *rhp, u32 qpid)
static inline int cur_max_read_depth(struct c4iw_dev *dev)
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
int c4iw_modify_qp(struct c4iw_dev *rhp,
struct c4iw_dev *dev;
typedef int (*c4iw_handler_func)(struct c4iw_dev *dev, struct sk_buff *skb);
void c4iw_unregister_device(struct c4iw_dev *dev);
static int register_mem(struct c4iw_dev *rhp, struct c4iw_pd *php,
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
static int mr_exceeds_hw_limits(struct c4iw_dev *dev, u64 length)
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
void c4iw_invalidate_mr(struct c4iw_dev *rhp, u32 rkey)
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
rhp = (struct c4iw_dev *) ibdev;
struct c4iw_dev *dev;
struct c4iw_dev *dev;
struct c4iw_dev *c4iw_dev =
rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev);
CHELSIO_CHIP_RELEASE(c4iw_dev->rdev.lldi.adapter_type));
struct c4iw_dev *c4iw_dev =
rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev);
struct net_device *lldev = c4iw_dev->rdev.lldi.ports[0];
struct c4iw_dev *c4iw_dev =
rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev);
return sysfs_emit(buf, "%x.%x\n", c4iw_dev->rdev.lldi.pdev->vendor,
c4iw_dev->rdev.lldi.pdev->device);
struct c4iw_dev *c4iw_dev = to_c4iw_dev(ibdev);
cxgb4_get_tcp_stats(c4iw_dev->rdev.lldi.pdev, &v4, &v6);
struct c4iw_dev *c4iw_dev = container_of(dev, struct c4iw_dev,
FW_HDR_FW_VER_MAJOR_G(c4iw_dev->rdev.lldi.fw_vers),
FW_HDR_FW_VER_MINOR_G(c4iw_dev->rdev.lldi.fw_vers),
FW_HDR_FW_VER_MICRO_G(c4iw_dev->rdev.lldi.fw_vers),
FW_HDR_FW_VER_BUILD_G(c4iw_dev->rdev.lldi.fw_vers));
struct c4iw_dev *dev = ctx->dev;
void c4iw_unregister_device(struct c4iw_dev *dev)
struct c4iw_dev *rhp;
struct c4iw_dev *rhp = to_c4iw_dev(ibdev);
struct c4iw_dev *rhp;
static int rdma_fini(struct c4iw_dev *rhp, struct c4iw_qp *qhp,
static int rdma_init(struct c4iw_dev *rhp, struct c4iw_qp *qhp)
int c4iw_modify_qp(struct c4iw_dev *rhp, struct c4iw_qp *qhp,
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
struct c4iw_dev *rhp;
static int alloc_ird(struct c4iw_dev *dev, u32 ird)
static void free_ird(struct c4iw_dev *dev, int ird)
struct c4iw_dev *dev = mhp->rhp;