Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/tom/
H A Dt4_listen.c485 struct fw_flowc_wr *flowc; in send_flowc_wr_synqe() local
489 const int flowclen = sizeof(*flowc) + nparams * sizeof(struct fw_flowc_mnemval); in send_flowc_wr_synqe()
503 flowc = wrtod(wr); in send_flowc_wr_synqe()
504 memset(flowc, 0, wr->wr_len); in send_flowc_wr_synqe()
505 flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) | in send_flowc_wr_synqe()
507 flowc->flowid_len16 = htonl(V_FW_WR_LEN16(howmany(flowclen, 16)) | in send_flowc_wr_synqe()
509 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN; in send_flowc_wr_synqe()
510 flowc->mnemval[0].val = htobe32(pfvf); in send_flowc_wr_synqe()
511 flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH; in send_flowc_wr_synqe()
512 flowc->mnemval[1].val = htobe32(pi->tx_chan); in send_flowc_wr_synqe()
[all …]
H A Dt4_cpl_io.c84 struct fw_flowc_wr *flowc; in send_flowc_wr() local
105 flowclen = sizeof(*flowc) + nparams * sizeof(struct fw_flowc_mnemval); in send_flowc_wr()
112 flowc = wrtod(wr); in send_flowc_wr()
113 memset(flowc, 0, wr->wr_len); in send_flowc_wr()
115 flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) | in send_flowc_wr()
117 flowc->flowid_len16 = htonl(V_FW_WR_LEN16(howmany(flowclen, 16)) | in send_flowc_wr()
122 flowc->mnemval[paramidx].mnemonic = FW_FLOWC_MNEM_##__m; \ in send_flowc_wr()
123 flowc->mnemval[paramidx].val = htobe32(__v); \ in send_flowc_wr()
189 struct fw_flowc_wr *flowc; in update_tx_rate_limit() local
193 flowclen = sizeof(*flowc) + nparams * sizeof(struct in update_tx_rate_limit()
[all …]
H A Dt4_tom.c861 struct fw_flowc_wr *flowc; in send_mss_flowc_wr() local
863 const int flowclen = sizeof(*flowc) + sizeof(struct fw_flowc_mnemval); in send_mss_flowc_wr()
872 flowc = start_wrq_wr(&toep->ofld_txq->wrq, flowclen16, &cookie); in send_mss_flowc_wr()
873 if (__predict_false(flowc == NULL)) { in send_mss_flowc_wr()
877 flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) | in send_mss_flowc_wr()
879 flowc->flowid_len16 = htonl(V_FW_WR_LEN16(flowclen16) | in send_mss_flowc_wr()
881 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_MSS; in send_mss_flowc_wr()
882 flowc->mnemval[0].val = htobe32(toep->params.emss); in send_mss_flowc_wr()
891 commit_wrq_wr(&toep->ofld_txq->wrq, flowc, &cookie); in send_mss_flowc_wr()
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c1033 struct fw_flowc_wr *flowc; in send_iscsi_flowc_wr() local
1038 flowclen = sizeof(*flowc) + nparams * sizeof(struct fw_flowc_mnemval); in send_iscsi_flowc_wr()
1045 flowc = wrtod(wr); in send_iscsi_flowc_wr()
1046 memset(flowc, 0, wr->wr_len); in send_iscsi_flowc_wr()
1048 flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) | in send_iscsi_flowc_wr()
1050 flowc->flowid_len16 = htonl(V_FW_WR_LEN16(howmany(flowclen, 16)) | in send_iscsi_flowc_wr()
1053 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_TXDATAPLEN_MAX; in send_iscsi_flowc_wr()
1054 flowc->mnemval[0].val = htobe32(maxlen); in send_iscsi_flowc_wr()
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c6561 struct fw_flowc_wr *flowc; in send_etid_flowc_wr() local
6567 flowc = start_wrq_wr(&cst->eo_txq->wrq, ETID_FLOWC_LEN16, &cookie); in send_etid_flowc_wr()
6568 if (__predict_false(flowc == NULL)) in send_etid_flowc_wr()
6571 bzero(flowc, ETID_FLOWC_LEN); in send_etid_flowc_wr()
6572 flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) | in send_etid_flowc_wr()
6574 flowc->flowid_len16 = htonl(V_FW_WR_LEN16(ETID_FLOWC_LEN16) | in send_etid_flowc_wr()
6576 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN; in send_etid_flowc_wr()
6577 flowc->mnemval[0].val = htobe32(pfvf); in send_etid_flowc_wr()
6578 flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH; in send_etid_flowc_wr()
6579 flowc->mnemval[1].val = htobe32(pi->tx_chan); in send_etid_flowc_wr()
[all …]