Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/hw/hfi1/
Duser_sdma.c48 struct hfi1_pkt_header *hdr, u32 lrhlen,
669 u32 lrhlen = get_lrh_len(req->hdr, pad_len(datalen)); in user_sdma_txadd_ahg() local
681 if (PBC2LRH(pbclen) != lrhlen) { in user_sdma_txadd_ahg()
682 pbclen = (pbclen & 0xf000) | LRH2PBC(lrhlen); in user_sdma_txadd_ahg()
685 ret = check_header_template(req, &tx->hdr, lrhlen, datalen); in user_sdma_txadd_ahg()
1051 struct hfi1_pkt_header *hdr, u32 lrhlen, in check_header_template() argument
1064 if (req->info.fragsize % PIO_BLOCK_SIZE || lrhlen & 0x3 || in check_header_template()
1065 lrhlen > get_lrh_len(*hdr, req->info.fragsize)) in check_header_template()
1128 u32 tidval = 0, lrhlen = get_lrh_len(*hdr, pad_len(datalen)); in set_txreq_header() local
1138 if (PBC2LRH(pbclen) != lrhlen) { in set_txreq_header()
[all …]