Lines Matching refs:cpl

398 	const struct cpl_set_tcb_rpl *cpl = (const void *)(rss + 1);  in set_tcb_rpl_handler()  local
404 tid = GET_TID(cpl); in set_tcb_rpl_handler()
413 cookie = G_COOKIE(cpl->cookie); in set_tcb_rpl_handler()
438 const struct cpl_act_open_rpl *cpl = (const void *)(rss + 1); in act_open_rpl_handler() local
439 u_int cookie = G_TID_COOKIE(G_AOPEN_ATID(be32toh(cpl->atid_status))); in act_open_rpl_handler()
467 const struct cpl_fw4_ack *cpl = (const void *)(rss + 1); in fw4_ack_handler() local
468 unsigned int tid = G_CPL_FW4_ACK_FLOWID(be32toh(OPCODE_TID(cpl))); in fw4_ack_handler()
1948 const struct cpl_rx_pkt *cpl; in eth_rx() local
2024 cpl = (const void *)(&d->rss + 1); in eth_rx()
2026 const uint16_t ev = be16toh(cpl->err_vec); in eth_rx()
2032 err_vec = be16toh(cpl->err_vec); in eth_rx()
2036 if (cpl->csum_calc && err_vec == 0) { in eth_rx()
2037 int ipv6 = !!(cpl->l2info & htobe32(F_RXF_IP6)); in eth_rx()
2041 MPASS((cpl->l2info & htobe32(F_RXF_IP)) ^ in eth_rx()
2042 (cpl->l2info & htobe32(F_RXF_IP6))); in eth_rx()
2043 m0->m_pkthdr.csum_data = be16toh(cpl->csum); in eth_rx()
2058 if (__predict_false(cpl->ip_frag)) { in eth_rx()
2096 if (cpl->vlan_ex) { in eth_rx()
2102 MPASS(be16toh(cpl->vlan) == sc->vlan_id); in eth_rx()
2104 m0->m_pkthdr.ether_vtag = be16toh(cpl->vlan); in eth_rx()
5355 write_lso_cpl(void *cpl, struct mbuf *m0) in write_lso_cpl() argument
5373 lso = cpl; in write_lso_cpl()
5384 write_tnl_lso_cpl(void *cpl, struct mbuf *m0) in write_tnl_lso_cpl() argument
5386 struct cpl_tx_tnl_lso *tnl_lso = cpl; in write_tnl_lso_cpl()
5456 struct cpl_tx_pkt_core *cpl; in write_txpkt_vm_wr() local
5493 cpl = write_lso_cpl(wr + 1, m0); in write_txpkt_vm_wr()
5496 cpl = (void *)(wr + 1); in write_txpkt_vm_wr()
5512 cpl->ctrl0 = txq->cpl_ctrl0; in write_txpkt_vm_wr()
5513 cpl->pack = 0; in write_txpkt_vm_wr()
5514 cpl->len = htobe16(pktlen); in write_txpkt_vm_wr()
5515 cpl->ctrl1 = htobe64(ctrl1); in write_txpkt_vm_wr()
5518 dst = (void *)(cpl + 1); in write_txpkt_vm_wr()
5589 struct cpl_tx_pkt_core *cpl; in write_txpkt_wr() local
5630 cpl = write_tnl_lso_cpl(wr + 1, m0); in write_txpkt_wr()
5633 cpl = write_lso_cpl(wr + 1, m0); in write_txpkt_wr()
5637 cpl = (void *)(wr + 1); in write_txpkt_wr()
5657 cpl->ctrl0 = txq->cpl_ctrl0; in write_txpkt_wr()
5658 cpl->pack = 0; in write_txpkt_wr()
5659 cpl->len = htobe16(pktlen); in write_txpkt_wr()
5660 cpl->ctrl1 = htobe64(ctrl1); in write_txpkt_wr()
5663 dst = (void *)(cpl + 1); in write_txpkt_wr()
5854 struct cpl_tx_pkt_core *cpl; in write_txpkts_wr() local
5899 cpl = (void *)(ulpsc + 1); in write_txpkts_wr()
5901 (uintptr_t)cpl == (uintptr_t)&eq->desc[eq->sidx]) in write_txpkts_wr()
5902 cpl = (void *)&eq->desc[0]; in write_txpkts_wr()
5904 cpl = flitp; in write_txpkts_wr()
5925 cpl->ctrl0 = txq->cpl_ctrl0; in write_txpkts_wr()
5926 cpl->pack = 0; in write_txpkts_wr()
5927 cpl->len = htobe16(m->m_pkthdr.len); in write_txpkts_wr()
5928 cpl->ctrl1 = htobe64(ctrl1); in write_txpkts_wr()
5930 flitp = cpl + 1; in write_txpkts_wr()
5965 struct cpl_tx_pkt_core *cpl; in write_txpkts_vm_wr() local
5998 cpl = flitp; in write_txpkts_vm_wr()
6014 cpl->ctrl0 = txq->cpl_ctrl0; in write_txpkts_vm_wr()
6015 cpl->pack = 0; in write_txpkts_vm_wr()
6016 cpl->len = htobe16(m->m_pkthdr.len); in write_txpkts_vm_wr()
6017 cpl->ctrl1 = htobe64(ctrl1); in write_txpkts_vm_wr()
6019 flitp = cpl + 1; in write_txpkts_vm_wr()
6383 const struct cpl_sge_egr_update *cpl = (const void *)(rss + 1); in handle_sge_egr_update() local
6384 unsigned int qid = G_EGR_QID(ntohl(cpl->opcode_qid)); in handle_sge_egr_update()
6409 const struct cpl_fw6_msg *cpl = (const void *)(rss + 1); in handle_fw_msg() local
6414 if (cpl->type == FW_TYPE_RSSCPL || cpl->type == FW6_TYPE_RSSCPL) { in handle_fw_msg()
6417 rss2 = (const struct rss_header *)&cpl->data[0]; in handle_fw_msg()
6421 return (t4_fw_msg_handler[cpl->type](sc, &cpl->data[0])); in handle_fw_msg()
6640 struct cpl_tx_pkt_core *cpl; in write_ethofld_wr() local
6679 cpl = (void *)(wr + 1); in write_ethofld_wr()
6710 cpl = (void *)(lso + 1); in write_ethofld_wr()
6713 cpl = (void *)(wr + 1); in write_ethofld_wr()
6728 cpl->ctrl0 = cst->ctrl0; in write_ethofld_wr()
6729 cpl->pack = 0; in write_ethofld_wr()
6730 cpl->len = htobe16(pktlen); in write_ethofld_wr()
6731 cpl->ctrl1 = htobe64(ctrl1); in write_ethofld_wr()
6734 p = (uintptr_t)(cpl + 1); in write_ethofld_wr()
6912 const struct cpl_fw4_ack *cpl = (const void *)(rss + 1); in ethofld_fw4_ack() local
6914 u_int etid = G_CPL_FW4_ACK_FLOWID(be32toh(OPCODE_TID(cpl))); in ethofld_fw4_ack()
6916 uint8_t credits = cpl->credits; in ethofld_fw4_ack()
6942 MPASS(cst->tx_credits + cpl->credits == cst->tx_total); in ethofld_fw4_ack()
6946 cst->tx_credits += cpl->credits; in ethofld_fw4_ack()
6951 ("%s: too many credits (%u, %u)", __func__, cpl->credits, in ethofld_fw4_ack()
6955 cpl->credits, credits, mbuf_eo_len16(m))); in ethofld_fw4_ack()
6961 cst->tx_credits += cpl->credits; in ethofld_fw4_ack()