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

/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c510 int nparams, flowclen16, flowclen; tx_flowc_wr_credits() local
513 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); tx_flowc_wr_credits()
514 flowclen16 = DIV_ROUND_UP(flowclen, 16); tx_flowc_wr_credits()
515 flowclen = flowclen16 * 16; tx_flowc_wr_credits()
523 *flowclenp = flowclen; tx_flowc_wr_credits()
532 int nparams, flowclen16, flowclen; send_tx_flowc_wr() local
534 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); send_tx_flowc_wr()
535 skb = alloc_wr(flowclen, 0, GFP_ATOMIC); send_tx_flowc_wr()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
H A Dcm.c485 unsigned int flowclen = 80; send_flowc() local
489 skb = get_skb(skb, flowclen, GFP_KERNEL); send_flowc()
490 flowc = (struct fw_flowc_wr *)__skb_put(skb, flowclen); send_flowc()
494 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(DIV_ROUND_UP(flowclen, send_flowc()

Completed in 88 milliseconds