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

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

Completed in 85 milliseconds