Searched refs:rds_iwdev (Results 1 - 5 of 5) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rds/ |
H A D | iw.c | 61 struct rds_iw_device *rds_iwdev; local 77 rds_iwdev = kmalloc(sizeof *rds_iwdev, GFP_KERNEL); 78 if (!rds_iwdev) 81 spin_lock_init(&rds_iwdev->spinlock); 83 rds_iwdev->dma_local_lkey = !!(dev_attr->device_cap_flags & IB_DEVICE_LOCAL_DMA_LKEY); 84 rds_iwdev->max_wrs = dev_attr->max_qp_wr; 85 rds_iwdev->max_sge = min(dev_attr->max_sge, RDS_IW_MAX_SGE); 87 rds_iwdev->dev = device; 88 rds_iwdev 129 struct rds_iw_device *rds_iwdev; local 182 struct rds_iw_device *rds_iwdev; local [all...] |
H A D | iw_rdma.c | 90 static int rds_iw_get_device(struct rds_sock *rs, struct rds_iw_device **rds_iwdev, struct rdma_cm_id **cm_id) argument 95 *rds_iwdev = NULL; 127 *rds_iwdev = iwdev; 138 static int rds_iw_add_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id *cm_id) argument 148 spin_lock_irq(&rds_iwdev->spinlock); 149 list_add_tail(&i_cm_id->list, &rds_iwdev->cm_id_list); 150 spin_unlock_irq(&rds_iwdev->spinlock); 155 void rds_iw_remove_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id *cm_id) argument 159 spin_lock_irq(&rds_iwdev->spinlock); 160 list_for_each_entry(i_cm_id, &rds_iwdev 171 rds_iw_update_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id *cm_id) argument 194 rds_iw_add_conn(struct rds_iw_device *rds_iwdev, struct rds_connection *conn) argument 212 rds_iw_remove_conn(struct rds_iw_device *rds_iwdev, struct rds_connection *conn) argument 257 rds_iw_map_scatterlist(struct rds_iw_device *rds_iwdev, struct rds_iw_scatterlist *sg) argument 330 rds_iw_create_mr_pool(struct rds_iw_device *rds_iwdev) argument 362 rds_iw_get_mr_info(struct rds_iw_device *rds_iwdev, struct rds_info_rdma_connection *iinfo) argument 394 rds_iw_alloc_mr(struct rds_iw_device *rds_iwdev) argument 458 struct rds_iw_device *rds_iwdev = ibmr->device; local 588 struct rds_iw_device *rds_iwdev; local 601 struct rds_iw_device *rds_iwdev; local 664 struct rds_iw_device *rds_iwdev = pool->device; local 759 struct rds_iw_device *rds_iwdev = pool->device; local [all...] |
H A D | iw_cm.c | 73 struct rds_iw_device *rds_iwdev; local 86 rds_iwdev = ib_get_client_data(ic->i_cm_id->device, &rds_iw_client); 87 err = rds_iw_update_cm_id(rds_iwdev, ic->i_cm_id); 90 rds_iw_add_conn(rds_iwdev, conn); 172 struct rds_iw_device *rds_iwdev, 179 struct ib_device *dev = rds_iwdev->dev; 184 send_size = min_t(unsigned int, rds_iwdev->max_wrs, rds_iw_sysctl_max_send_wr + 1); 185 recv_size = min_t(unsigned int, rds_iwdev->max_wrs, rds_iw_sysctl_max_recv_wr + 1); 194 attr->cap.max_send_sge = rds_iwdev->max_sge; 250 struct rds_iw_device *rds_iwdev; local 171 rds_iw_init_qp_attrs(struct ib_qp_init_attr *attr, struct rds_iw_device *rds_iwdev, struct rds_iw_work_ring *send_ring, void (*send_cq_handler)(struct ib_cq *, void *), struct rds_iw_work_ring *recv_ring, void (*recv_cq_handler)(struct ib_cq *, void *), void *context) argument 381 struct rds_iw_device *rds_iwdev; local 513 struct rds_iw_device *rds_iwdev; local [all...] |
H A D | iw.h | 104 struct rds_iw_device *rds_iwdev; member in struct:rds_iw_connection 301 int rds_iw_update_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id *cm_id); 302 void rds_iw_add_conn(struct rds_iw_device *rds_iwdev, struct rds_connection *conn); 303 void rds_iw_remove_conn(struct rds_iw_device *rds_iwdev, struct rds_connection *conn); 309 static inline void rds_iw_destroy_conns(struct rds_iw_device *rds_iwdev) argument 311 __rds_iw_destroy_conns(&rds_iwdev->conn_list, &rds_iwdev->spinlock); 314 void rds_iw_get_mr_info(struct rds_iw_device *rds_iwdev, struct rds_info_rdma_connection *iinfo); 321 void rds_iw_remove_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id *cm_id);
|
H A D | iw_send.c | 765 static void rds_iw_build_send_fastreg(struct rds_iw_device *rds_iwdev, struct rds_iw_connection *ic, struct rds_iw_send_work *send, int nent, int len, u64 sg_addr) argument 792 struct rds_iw_device *rds_iwdev; local 804 rds_iwdev = ib_get_client_data(ic->i_cm_id->device, &rds_iw_client); 836 i = ceil(op->r_count, rds_iwdev->max_sge); 883 if (num_sge > rds_iwdev->max_sge) { 884 send->s_wr.num_sge = rds_iwdev->max_sge; 885 num_sge -= rds_iwdev->max_sge; 943 rds_iw_build_send_fastreg(rds_iwdev, ic, &ic->i_sends[fr_pos],
|
Completed in 51 milliseconds