Lines Matching defs:smc_link

83 struct smc_link {  struct
84 struct smc_ib_device *smcibdev; /* ib-device */
85 u8 ibport; /* port - values 1 | 2 */
86 struct ib_pd *roce_pd; /* IB protection domain,
89 struct ib_qp *roce_qp; /* IB queue pair */
90 struct ib_qp_attr qp_attr; /* IB queue pair attributes */
92 struct smc_wr_buf *wr_tx_bufs; /* WR send payload buffers */
93 struct ib_send_wr *wr_tx_ibs; /* WR send meta data */
94 struct ib_sge *wr_tx_sges; /* WR send gather meta data */
95 struct smc_rdma_sges *wr_tx_rdma_sges;/*RDMA WRITE gather meta data*/
96 struct smc_rdma_wr *wr_tx_rdmas; /* WR RDMA WRITE */
97 struct smc_wr_tx_pend *wr_tx_pends; /* WR send waiting for CQE */
98 struct completion *wr_tx_compl; /* WR send CQE completion */
100 struct ib_send_wr *wr_tx_v2_ib; /* WR send v2 meta data */
101 struct ib_sge *wr_tx_v2_sge; /* WR send v2 gather meta data*/
102 struct smc_wr_tx_pend *wr_tx_v2_pend; /* WR send v2 waiting for CQE */
103 dma_addr_t wr_tx_dma_addr; /* DMA address of wr_tx_bufs */
104 dma_addr_t wr_tx_v2_dma_addr; /* DMA address of v2 tx buf*/
105 atomic_long_t wr_tx_id; /* seq # of last sent WR */
106 unsigned long *wr_tx_mask; /* bit mask of used indexes */
107 u32 wr_tx_cnt; /* number of WR send buffers */
108 wait_queue_head_t wr_tx_wait; /* wait for free WR send buf */
109 atomic_t wr_tx_refcnt; /* tx refs to link */
111 struct smc_wr_buf *wr_rx_bufs; /* WR recv payload buffers */
112 struct ib_recv_wr *wr_rx_ibs; /* WR recv meta data */
113 struct ib_sge *wr_rx_sges; /* WR recv scatter meta data */
115 dma_addr_t wr_rx_dma_addr; /* DMA address of wr_rx_bufs */
116 dma_addr_t wr_rx_v2_dma_addr; /* DMA address of v2 rx buf*/
117 u64 wr_rx_id; /* seq # of last recv WR */
118 u64 wr_rx_id_compl; /* seq # of last completed WR */
119 u32 wr_rx_cnt; /* number of WR recv buffers */
120 unsigned long wr_rx_tstamp; /* jiffies when last buf rx */
144 struct smc_link_group *lgr; /* parent link group */ argument
149 enum smc_link_state state; /* state of link */ argument
150 struct delayed_work llc_testlink_wrk; /* testlink worker */
151 struct completion llc_testlink_resp; /* wait for rx of testlink */
152 int llc_testlink_time; /* testlink interval */
153 atomic_t conn_cnt; /* connections on this link */