Searched refs:tidlen (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 594 u32 tidlen = EXP_TID_GET(req->tids[req->tididx], LEN) * in compute_data_length() local 600 len = min(tidlen - req->tidoffset, (u32)req->info.fragsize); in compute_data_length() 604 tidlen = EXP_TID_GET(req->tids[req->tididx], in compute_data_length() 607 len = min_t(u32, tidlen, req->info.fragsize); in compute_data_length() 869 tidlen = EXP_TID_GET(tidval, LEN) * PAGE_SIZE, in check_header_template() local 885 if ((tidoff + datalen > tidlen) || in check_header_template()
|
D | tid_rdma.c | 1898 u32 flow_psn, i, tidlen = 0, pktlen, tlen; in tid_rdma_rcv_read_request() local 1930 tidlen += tlen; in tid_rdma_rcv_read_request() 1932 if (tidlen * PAGE_SIZE < len) in tid_rdma_rcv_read_request() 2353 u32 tidlen = EXP_TID_GET(tidentry, LEN) << PAGE_SHIFT; in hfi1_build_tid_rdma_read_resp() local 2360 *len = min_t(u32, qp->pmtu, tidlen - flow->tid_offset); in hfi1_build_tid_rdma_read_resp() 2401 if (next_offset >= tidlen) { in hfi1_build_tid_rdma_read_resp() 3090 u32 tidentry = flow->tid_entry[tididx], tidlen, in hfi1_tid_rdma_restart_req() local 3094 tidlen = EXP_TID_GET(tidentry, LEN) * PAGE_SIZE; in hfi1_tid_rdma_restart_req() 3095 tidnpkts = rvt_div_round_up_mtu(qp, tidlen); in hfi1_tid_rdma_restart_req() 3098 flow->sent += (npkts == tidnpkts ? tidlen : in hfi1_tid_rdma_restart_req() [all …]
|