Home
last modified time | relevance | path

Searched refs:rx_sa (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_zcopy.c195 if (ssk->rx_sa && (tx_sa->bytes_acked < tx_sa->bytes_sent)) { in sdp_wait_rdmardcompl()
208 ssk->rx_sa && in sdp_wait_rdmardcompl()
284 struct rx_srcavail_state *rx_sa) in sdp_post_rdma_rd_compl() argument
287 int copied = rx_sa->used - rx_sa->reported; in sdp_post_rdma_rd_compl()
289 if (rx_sa->used <= rx_sa->reported) in sdp_post_rdma_rd_compl()
294 rx_sa->reported += copied; in sdp_post_rdma_rd_compl()
520 static int sdp_post_rdma_read(struct socket *sk, struct rx_srcavail_state *rx_sa) in sdp_post_rdma_read() argument
530 wr.wr.rdma.rkey = rx_sa->rkey; in sdp_post_rdma_read()
533 ssk->tx_ring.rdma_inflight = rx_sa; in sdp_post_rdma_read()
535 sge.addr = rx_sa->umem->offset; in sdp_post_rdma_read()
[all …]
H A Dsdp_rx.c213 struct rx_srcavail_state *rx_sa; in sdp_sock_queue_rcv_mb() local
217 ssk->rx_sa = rx_sa = RX_SRCAVAIL_STATE(mb) = kzalloc( in sdp_sock_queue_rcv_mb()
220 rx_sa->mseq = ntohl(h->mseq); in sdp_sock_queue_rcv_mb()
221 rx_sa->used = 0; in sdp_sock_queue_rcv_mb()
222 rx_sa->len = mb_len = ntohl(srcah->len); in sdp_sock_queue_rcv_mb()
223 rx_sa->rkey = ntohl(srcah->rkey); in sdp_sock_queue_rcv_mb()
224 rx_sa->vaddr = be64_to_cpu(srcah->vaddr); in sdp_sock_queue_rcv_mb()
225 rx_sa->flags = 0; in sdp_sock_queue_rcv_mb()
236 mb_len, rx_sa->vaddr); in sdp_sock_queue_rcv_mb()
355 if (ssk->rx_sa) { in sdp_process_rx_ctl_mb()
[all …]
H A Dsdp.h128 struct rx_srcavail_state *rx_sa; member
137 #define RX_SRCAVAIL_STATE(mb) (SDP_SKB_CB(mb)->rx_sa)
395 struct rx_srcavail_state *rx_sa; member
676 struct rx_srcavail_state *rx_sa);