Searched refs:tidlen (Results 1 – 2 of 2) sorted by relevance
/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 655 u32 tidlen = EXP_TID_GET(req->tids[req->tididx], LEN) * in compute_data_length() local 661 len = min(tidlen - req->tidoffset, (u32)req->info.fragsize); in compute_data_length() 665 tidlen = EXP_TID_GET(req->tids[req->tididx], in compute_data_length() 668 len = min_t(u32, tidlen, req->info.fragsize); in compute_data_length() 941 tidlen = EXP_TID_GET(tidval, LEN) * PAGE_SIZE, in check_header_template() local 957 if ((tidoff + datalen > tidlen) || in check_header_template()
|
D | tid_rdma.c | 1891 u32 flow_psn, i, tidlen = 0, pktlen, tlen; in tid_rdma_rcv_read_request() local 1923 tidlen += tlen; in tid_rdma_rcv_read_request() 1925 if (tidlen * PAGE_SIZE < len) in tid_rdma_rcv_read_request() 2346 u32 tidlen = EXP_TID_GET(tidentry, LEN) << PAGE_SHIFT; in hfi1_build_tid_rdma_read_resp() local 2353 *len = min_t(u32, qp->pmtu, tidlen - flow->tid_offset); in hfi1_build_tid_rdma_read_resp() 2394 if (next_offset >= tidlen) { in hfi1_build_tid_rdma_read_resp() 3081 u32 tidentry = flow->tid_entry[tididx], tidlen, in hfi1_tid_rdma_restart_req() local 3085 tidlen = EXP_TID_GET(tidentry, LEN) * PAGE_SIZE; in hfi1_tid_rdma_restart_req() 3086 tidnpkts = rvt_div_round_up_mtu(qp, tidlen); in hfi1_tid_rdma_restart_req() 3089 flow->sent += (npkts == tidnpkts ? tidlen : in hfi1_tid_rdma_restart_req() [all …]
|