Home
last modified time | relevance | path

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

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