Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c503 int nparams, flowclen16, flowclen; in tx_flowc_wr_credits() local
506 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in tx_flowc_wr_credits()
507 flowclen16 = DIV_ROUND_UP(flowclen, 16); in tx_flowc_wr_credits()
508 flowclen = flowclen16 * 16; in tx_flowc_wr_credits()
516 *flowclenp = flowclen; in tx_flowc_wr_credits()
525 int nparams, flowclen16, flowclen; in send_tx_flowc_wr() local
527 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); in send_tx_flowc_wr()
528 skb = alloc_wr(flowclen, 0, GFP_ATOMIC); in send_tx_flowc_wr()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dcm.c468 unsigned int flowclen = 80; in send_flowc() local
472 skb = get_skb(skb, flowclen, GFP_KERNEL); in send_flowc()
473 flowc = (struct fw_flowc_wr *)__skb_put(skb, flowclen); in send_flowc()
477 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(DIV_ROUND_UP(flowclen, in send_flowc()