Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c531 struct fw_flowc_wr *flowc; in send_tx_flowc_wr() local
536 flowc = (struct fw_flowc_wr *)skb->head; in send_tx_flowc_wr()
537 flowc->op_to_nparams = in send_tx_flowc_wr()
539 flowc->flowid_len16 = in send_tx_flowc_wr()
541 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN; in send_tx_flowc_wr()
542 flowc->mnemval[0].val = htonl(csk->cdev->pfvf); in send_tx_flowc_wr()
543 flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH; in send_tx_flowc_wr()
544 flowc->mnemval[1].val = htonl(csk->tx_chan); in send_tx_flowc_wr()
545 flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT; in send_tx_flowc_wr()
546 flowc->mnemval[2].val = htonl(csk->tx_chan); in send_tx_flowc_wr()
[all …]
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dcm.c486 struct fw_flowc_wr *flowc; in send_flowc() local
490 flowc = (struct fw_flowc_wr *)__skb_put(skb, flowclen); in send_flowc()
492 flowc->op_to_nparams = cpu_to_be32(FW_WR_OP_V(FW_FLOWC_WR) | in send_flowc()
494 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(DIV_ROUND_UP(flowclen, in send_flowc()
497 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN; in send_flowc()
498 flowc->mnemval[0].val = cpu_to_be32(FW_PFVF_CMD_PFN_V in send_flowc()
500 flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH; in send_flowc()
501 flowc->mnemval[1].val = cpu_to_be32(ep->tx_chan); in send_flowc()
502 flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT; in send_flowc()
503 flowc->mnemval[2].val = cpu_to_be32(ep->tx_chan); in send_flowc()
[all …]
/linux-4.4.14/drivers/s390/net/
Dctcm_mpc.h32 extern void ctc_mpc_flow_control(int port, int flowc);
Dctcm_mpc.c549 void ctc_mpc_flow_control(int port_num, int flowc) in ctc_mpc_flow_control() argument
565 CTCM_FUNTAIL, dev->name, flowc); in ctc_mpc_flow_control()
570 switch (flowc) { in ctc_mpc_flow_control()