Searched refs:rds_ibdev (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/net/rds/ |
D | ib.c | 83 static void rds_ib_dev_shutdown(struct rds_ib_device *rds_ibdev) in rds_ib_dev_shutdown() argument 88 spin_lock_irqsave(&rds_ibdev->spinlock, flags); in rds_ib_dev_shutdown() 89 list_for_each_entry(ic, &rds_ibdev->conn_list, ib_node) in rds_ib_dev_shutdown() 91 spin_unlock_irqrestore(&rds_ibdev->spinlock, flags); in rds_ib_dev_shutdown() 101 struct rds_ib_device *rds_ibdev = container_of(work, in rds_ib_dev_free() local 104 if (rds_ibdev->mr_8k_pool) in rds_ib_dev_free() 105 rds_ib_destroy_mr_pool(rds_ibdev->mr_8k_pool); in rds_ib_dev_free() 106 if (rds_ibdev->mr_1m_pool) in rds_ib_dev_free() 107 rds_ib_destroy_mr_pool(rds_ibdev->mr_1m_pool); in rds_ib_dev_free() 108 if (rds_ibdev->pd) in rds_ib_dev_free() [all …]
|
D | ib_rdma.c | 52 struct rds_ib_device *rds_ibdev; in rds_ib_get_device() local 56 list_for_each_entry_rcu(rds_ibdev, &rds_ib_devices, list) { in rds_ib_get_device() 57 list_for_each_entry_rcu(i_ipaddr, &rds_ibdev->ipaddr_list, list) { in rds_ib_get_device() 59 refcount_inc(&rds_ibdev->refcount); in rds_ib_get_device() 61 return rds_ibdev; in rds_ib_get_device() 70 static int rds_ib_add_ipaddr(struct rds_ib_device *rds_ibdev, __be32 ipaddr) in rds_ib_add_ipaddr() argument 80 spin_lock_irq(&rds_ibdev->spinlock); in rds_ib_add_ipaddr() 81 list_add_tail_rcu(&i_ipaddr->list, &rds_ibdev->ipaddr_list); in rds_ib_add_ipaddr() 82 spin_unlock_irq(&rds_ibdev->spinlock); in rds_ib_add_ipaddr() 87 static void rds_ib_remove_ipaddr(struct rds_ib_device *rds_ibdev, __be32 ipaddr) in rds_ib_remove_ipaddr() argument [all …]
|
D | ib_cm.c | 146 err = rds_ib_update_ipaddr(ic->rds_ibdev, &conn->c_laddr); in rds_ib_cm_connect_complete() 172 struct rds_ib_device *rds_ibdev = ic->rds_ibdev; in rds_ib_cm_fill_conn_param() local 177 min_t(u32, rds_ibdev->max_responder_resources, max_responder_resources); in rds_ib_cm_fill_conn_param() 179 min_t(u32, rds_ibdev->max_initiator_depth, max_initiator_depth); in rds_ib_cm_fill_conn_param() 326 struct rds_ib_device *rds_ibdev = ic->rds_ibdev; in rds_ib_tasklet_fn_recv() local 329 if (!rds_ibdev) in rds_ib_tasklet_fn_recv() 387 static inline int ibdev_get_unused_vector(struct rds_ib_device *rds_ibdev) in ibdev_get_unused_vector() argument 389 int min = rds_ibdev->vector_load[rds_ibdev->dev->num_comp_vectors - 1]; in ibdev_get_unused_vector() 390 int index = rds_ibdev->dev->num_comp_vectors - 1; in ibdev_get_unused_vector() 393 for (i = rds_ibdev->dev->num_comp_vectors - 1; i >= 0; i--) { in ibdev_get_unused_vector() [all …]
|
D | ib_frmr.c | 53 static struct rds_ib_mr *rds_ib_alloc_frmr(struct rds_ib_device *rds_ibdev, in rds_ib_alloc_frmr() argument 62 pool = rds_ibdev->mr_8k_pool; in rds_ib_alloc_frmr() 64 pool = rds_ibdev->mr_1m_pool; in rds_ib_alloc_frmr() 71 rdsibdev_to_node(rds_ibdev)); in rds_ib_alloc_frmr() 78 frmr->mr = ib_alloc_mr(rds_ibdev->pd, IB_MR_TYPE_MEM_REG, in rds_ib_alloc_frmr() 187 static int rds_ib_map_frmr(struct rds_ib_device *rds_ibdev, in rds_ib_map_frmr() argument 192 struct ib_device *dev = rds_ibdev->dev; in rds_ib_map_frmr() 260 ib_dma_unmap_sg(rds_ibdev->dev, ibmr->sg, ibmr->sg_len, in rds_ib_map_frmr() 401 struct rds_ib_mr *rds_ib_reg_frmr(struct rds_ib_device *rds_ibdev, in rds_ib_reg_frmr() argument 418 ibmr = rds_ib_alloc_frmr(rds_ibdev, nents); in rds_ib_reg_frmr() [all …]
|
D | ib_mr.h | 115 void rds_ib_get_mr_info(struct rds_ib_device *rds_ibdev, 117 void rds6_ib_get_mr_info(struct rds_ib_device *rds_ibdev, 136 struct rds_ib_mr *rds_ib_reg_frmr(struct rds_ib_device *rds_ibdev,
|
D | ib.h | 146 struct rds_ib_device *rds_ibdev; member 359 void rds_ib_dev_put(struct rds_ib_device *rds_ibdev); 387 int rds_ib_update_ipaddr(struct rds_ib_device *rds_ibdev, 389 void rds_ib_add_conn(struct rds_ib_device *rds_ibdev, struct rds_connection *conn); 390 void rds_ib_remove_conn(struct rds_ib_device *rds_ibdev, struct rds_connection *conn);
|
D | ib_recv.c | 667 ib_dma_sync_single_for_cpu(ic->rds_ibdev->dev, ic->i_ack_dma, in rds_ib_send_ack() 673 ib_dma_sync_single_for_device(ic->rds_ibdev->dev, ic->i_ack_dma, in rds_ib_send_ack() 874 ib_dma_sync_single_for_cpu(ic->rds_ibdev->dev, dma_addr, in rds_ib_process_recv() 979 ib_dma_sync_single_for_device(ic->rds_ibdev->dev, dma_addr, in rds_ib_process_recv()
|
D | ib_send.c | 640 ib_dma_sync_single_for_cpu(ic->rds_ibdev->dev, in rds_ib_xmit() 694 ib_dma_sync_single_for_device(ic->rds_ibdev->dev, in rds_ib_xmit() 862 u32 max_sge = ic->rds_ibdev->max_sge; in rds_ib_xmit_rdma()
|