Lines Matching defs:flowc
868 struct fw_flowc_wr *flowc;
870 const int flowclen = sizeof(*flowc) + sizeof(struct fw_flowc_mnemval);
879 flowc = start_wrq_wr(&toep->ofld_txq->wrq, flowclen16, &cookie);
880 if (__predict_false(flowc == NULL)) {
884 flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) |
886 flowc->flowid_len16 = htonl(V_FW_WR_LEN16(flowclen16) |
888 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_MSS;
889 flowc->mnemval[0].val = htobe32(toep->params.emss);
900 commit_wrq_wr(&toep->ofld_txq->wrq, flowc, &cookie);
969 /* Update the firmware flowc. */
2322 struct fw_flowc_wr *flowc;
2329 flowclen = sizeof(*flowc) + nparams * sizeof(struct fw_flowc_mnemval);
2336 flowc = wrtod(wr);
2337 memset(flowc, 0, wr->wr_len);
2339 flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) |
2341 flowc->flowid_len16 = htonl(V_FW_WR_LEN16(howmany(flowclen, 16)) |
2344 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_TXDATAPLEN_MAX;
2345 flowc->mnemval[0].val = htobe32(maxlen);