Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c524 struct fw_flowc_wr *flowc; in send_tx_flowc_wr() local
529 flowc = (struct fw_flowc_wr *)skb->head; in send_tx_flowc_wr()
530 flowc->op_to_nparams = in send_tx_flowc_wr()
532 flowc->flowid_len16 = in send_tx_flowc_wr()
534 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN; in send_tx_flowc_wr()
535 flowc->mnemval[0].val = htonl(csk->cdev->pfvf); in send_tx_flowc_wr()
536 flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH; in send_tx_flowc_wr()
537 flowc->mnemval[1].val = htonl(csk->tx_chan); in send_tx_flowc_wr()
538 flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT; in send_tx_flowc_wr()
539 flowc->mnemval[2].val = htonl(csk->tx_chan); in send_tx_flowc_wr()
[all …]
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dcm.c469 struct fw_flowc_wr *flowc; in send_flowc() local
473 flowc = (struct fw_flowc_wr *)__skb_put(skb, flowclen); in send_flowc()
475 flowc->op_to_nparams = cpu_to_be32(FW_WR_OP_V(FW_FLOWC_WR) | in send_flowc()
477 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(DIV_ROUND_UP(flowclen, in send_flowc()
480 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN; in send_flowc()
481 flowc->mnemval[0].val = cpu_to_be32(FW_PFVF_CMD_PFN_V in send_flowc()
483 flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH; in send_flowc()
484 flowc->mnemval[1].val = cpu_to_be32(ep->tx_chan); in send_flowc()
485 flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT; in send_flowc()
486 flowc->mnemval[2].val = cpu_to_be32(ep->tx_chan); in send_flowc()
[all …]
/linux-4.1.27/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()