Home
last modified time | relevance | path

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

/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1347 struct fw_flowc_wr *flowc; in cxgbit_send_tx_flowc_wr() local
1359 flowc = (struct fw_flowc_wr *)__skb_put(skb, flowclen); in cxgbit_send_tx_flowc_wr()
1360 memset(flowc, 0, flowclen); in cxgbit_send_tx_flowc_wr()
1362 flowc->op_to_nparams = cpu_to_be32(FW_WR_OP_V(FW_FLOWC_WR) | in cxgbit_send_tx_flowc_wr()
1364 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(flowclen16) | in cxgbit_send_tx_flowc_wr()
1366 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN; in cxgbit_send_tx_flowc_wr()
1367 flowc->mnemval[0].val = cpu_to_be32(FW_PFVF_CMD_PFN_V in cxgbit_send_tx_flowc_wr()
1369 flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH; in cxgbit_send_tx_flowc_wr()
1370 flowc->mnemval[1].val = cpu_to_be32(csk->tx_chan); in cxgbit_send_tx_flowc_wr()
1371 flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT; in cxgbit_send_tx_flowc_wr()
[all …]
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c534 struct fw_flowc_wr *flowc; in send_tx_flowc_wr() local
539 flowc = (struct fw_flowc_wr *)skb->head; in send_tx_flowc_wr()
540 flowc->op_to_nparams = in send_tx_flowc_wr()
542 flowc->flowid_len16 = in send_tx_flowc_wr()
544 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN; in send_tx_flowc_wr()
545 flowc->mnemval[0].val = htonl(csk->cdev->pfvf); in send_tx_flowc_wr()
546 flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH; in send_tx_flowc_wr()
547 flowc->mnemval[1].val = htonl(csk->tx_chan); in send_tx_flowc_wr()
548 flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT; in send_tx_flowc_wr()
549 flowc->mnemval[2].val = htonl(csk->tx_chan); in send_tx_flowc_wr()
[all …]
/drivers/infiniband/hw/cxgb4/
Dcm.c585 struct fw_flowc_wr *flowc; in send_flowc() local
599 flowc = (struct fw_flowc_wr *)__skb_put(skb, FLOWC_LEN); in send_flowc()
601 flowc->op_to_nparams = cpu_to_be32(FW_WR_OP_V(FW_FLOWC_WR) | in send_flowc()
603 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(DIV_ROUND_UP(FLOWC_LEN, in send_flowc()
606 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN; in send_flowc()
607 flowc->mnemval[0].val = cpu_to_be32(FW_PFVF_CMD_PFN_V in send_flowc()
609 flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH; in send_flowc()
610 flowc->mnemval[1].val = cpu_to_be32(ep->tx_chan); in send_flowc()
611 flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT; in send_flowc()
612 flowc->mnemval[2].val = cpu_to_be32(ep->tx_chan); in send_flowc()
[all …]
/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()