Searched refs:cpl (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_offload.h95 #define M_GETHDR_OFLD(qset, ctrl, cpl) \
96 m_gethdr_ofld(qset, ctrl, sizeof(*cpl), (void **)&cpl)
98 m_gethdr_ofld(int qset, int ctrl, int cpllen, void **cpl) argument
109 *cpl = (void *)(oh + 1);
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_connect.c75 const struct cpl_act_establish *cpl = (const void *)(rss + 1); local
76 u_int tid = GET_TID(cpl);
77 u_int atid = G_TID_TID(ntohl(cpl->tos_atid));
96 send_reset(sc, toep, be32toh(cpl->snd_isn));
100 make_established(toep, be32toh(cpl->snd_isn) - 1,
101 be32toh(cpl->rcv_isn) - 1, cpl->tcp_opt);
141 const struct cpl_act_open_rpl *cpl = (const void *)(rss + 1); local
142 u_int atid = G_TID_TID(G_AOPEN_ATID(be32toh(cpl->atid_status)));
143 u_int status = G_AOPEN_STATUS(be32toh(cpl
400 struct cpl_act_open_req6 *cpl = wrtod(wr); local
440 struct cpl_act_open_req *cpl = wrtod(wr); local
[all...]
H A Dt4_listen.c727 const struct cpl_pass_open_rpl *cpl = (const void *)(rss + 1); local
728 int stid = GET_TID(cpl);
729 unsigned int status = cpl->status;
733 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl)));
802 const struct cpl_close_listsvr_rpl *cpl = (const void *)(rss + 1); local
803 int stid = GET_TID(cpl);
804 unsigned int status = cpl->status;
808 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl)));
865 const struct cpl_abort_req_rss *cpl = (const void *)(rss + 1); local
866 unsigned int tid = GET_TID(cpl);
912 const struct cpl_abort_rpl_rss *cpl = (const void *)(rss + 1); local
1100 const struct cpl_pass_accept_req *cpl = mtod(m, const void *); local
1239 const struct cpl_pass_accept_req *cpl = mtod(m, const void *); local
1462 synqe_to_protohdrs(struct adapter *sc, struct synq_entry *synqe, const struct cpl_pass_establish *cpl, struct in_conninfo *inc, struct tcphdr *th, struct tcpopt *to) argument
1489 const struct cpl_pass_establish *cpl = (const void *)(rss + 1); local
[all...]
H A Dt4_cpl_io.c1223 const struct cpl_peer_close *cpl = (const void *)(rss + 1); local
1224 unsigned int tid = GET_TID(cpl);
1230 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl)));
1269 handle_ddp_close(toep, tp, cpl->rcv_nxt);
1275 KASSERT(tp->rcv_nxt == be32toh(cpl->rcv_nxt),
1277 be32toh(cpl->rcv_nxt)));
1322 const struct cpl_close_con_rpl *cpl = (const void *)(rss + 1); local
1323 unsigned int tid = GET_TID(cpl);
1329 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl)));
1349 tp->snd_una = be32toh(cpl
1391 struct cpl_abort_rpl *cpl; local
1430 const struct cpl_abort_req_rss *cpl = (const void *)(rss + 1); local
1504 const struct cpl_abort_rpl_rss *cpl = (const void *)(rss + 1); local
1537 const struct cpl_rx_data *cpl = mtod(m, const void *); local
1694 const struct cpl_fw4_ack *cpl = (const void *)(rss + 1); local
[all...]
H A Dt4_tls.c980 write_tlstx_cpl(struct cpl_tx_tls_sfo *cpl, struct toepcb *toep, argument
991 cpl->op_to_seg_len = htobe32(V_CPL_TX_TLS_SFO_OPCODE(CPL_TX_TLS_SFO) |
994 cpl->pld_len = htobe32(plen);
996 cpl->type_protover = htobe32(
998 cpl->seqno_numivs = htobe32(tls_ofld->scmd0.seqno_numivs |
1000 cpl->ivgen_hdrlen = htobe32(tls_ofld->scmd0.ivgen_hdrlen);
1001 cpl->scmd1 = htobe64(tls_ofld->tx_seq_no);
1093 struct cpl_tx_tls_sfo *cpl; local
1327 cpl = (struct cpl_tx_tls_sfo *)(txwr + 1);
1333 write_tlstx_cpl(cpl, toe
1402 const struct cpl_tls_data *cpl = mtod(m, const void *); local
1463 const struct cpl_rx_tls_cmp *cpl = mtod(m, const void *); local
[all...]
H A Dt4_ddp.c631 const struct cpl_set_tcb_rpl *cpl = (const void *)(rss + 1); local
632 unsigned int tid = GET_TID(cpl);
640 if (cpl->status != CPL_ERR_NONE)
641 panic("XXX: tcp_rpl failed: %d", cpl->status);
645 switch (cpl->cookie) {
651 db_idx = G_COOKIE(cpl->cookie) - DDP_BUF0_INVALIDATED;
695 G_WORD(cpl->cookie), G_COOKIE(cpl->cookie));
760 const struct cpl_rx_data_ddp *cpl = (const void *)(rss + 1); local
761 unsigned int tid = GET_TID(cpl);
791 const struct cpl_rx_ddp_complete *cpl = (const void *)(rss + 1); local
[all...]
/freebsd-11-stable/sys/dev/nvme/
H A Dnvme_qpair.c312 struct nvme_completion *cpl)
315 get_status_string(cpl->status.sct, cpl->status.sc),
316 cpl->status.sct, cpl->status.sc, cpl->sqid, cpl->cid, cpl->cdw0);
320 nvme_completion_is_retry(const struct nvme_completion *cpl) argument
329 switch (cpl
311 nvme_qpair_print_completion(struct nvme_qpair *qpair, struct nvme_completion *cpl) argument
363 nvme_qpair_complete_tracker(struct nvme_qpair *qpair, struct nvme_tracker *tr, struct nvme_completion *cpl, error_print_t print_on_error) argument
429 struct nvme_completion cpl; local
444 struct nvme_completion cpl; local
469 struct nvme_completion *cpl; local
[all...]
H A Dnvme.c205 nvme_dump_completion(struct nvme_completion *cpl) argument
209 cpl->cdw0, cpl->sqhd, cpl->sqid,
210 cpl->cid, cpl->status.p, cpl->status.sc, cpl->status.sct,
211 cpl->status.m, cpl
464 nvme_completion_poll_cb(void *arg, const struct nvme_completion *cpl) argument
[all...]
H A Dnvme_ctrlr.c416 if (nvme_completion_is_error(&status.cpl)) {
443 if (nvme_completion_is_error(&status.cpl)) {
453 sq_allocated = (status.cpl.cdw0 & 0xFFFF) + 1;
454 cq_allocated = (status.cpl.cdw0 >> 16) + 1;
482 if (nvme_completion_is_error(&status.cpl)) {
492 if (nvme_completion_is_error(&status.cpl)) {
511 if (nvme_completion_is_error(&status.cpl)) {
521 if (nvme_completion_is_error(&status.cpl)) {
609 nvme_ctrlr_async_event_log_page_cb(void *arg, const struct nvme_completion *cpl) argument
619 if (nvme_completion_is_error(cpl))
658 nvme_ctrlr_async_event_cb(void *arg, const struct nvme_completion *cpl) argument
939 nvme_pt_done(void *arg, const struct nvme_completion *cpl) argument
[all...]
H A Dnvme_test.c161 nvme_ns_io_test_cb(void *arg, const struct nvme_completion *cpl) argument
168 if (nvme_completion_is_error(cpl)) {
203 struct nvme_completion cpl; local
215 memset(&cpl, 0, sizeof(cpl));
217 nvme_ns_io_test_cb(tth, &cpl);
H A Dnvme_sysctl.c61 struct nvme_completion *cpl; local
69 cpl = &qpair->cpl[i];
71 nvme_dump_completion(cpl);
H A Dnvme_sim.c70 nvme_sim_nvmeio_done(void *ccb_arg, const struct nvme_completion *cpl) argument
78 memcpy(&ccb->nvmeio.cpl, cpl, sizeof(*cpl));
80 if (nvme_completion_is_error(cpl)) {
H A Dnvme_private.h118 struct nvme_completion cpl; member in struct:nvme_completion_poll_status
149 struct nvme_completion cpl; member in struct:nvme_async_event_request
192 struct nvme_completion *cpl; member in struct:nvme_qpair
389 void nvme_completion_poll_cb(void *arg, const struct nvme_completion *cpl);
435 void nvme_dump_completion(struct nvme_completion *cpl);
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/
H A Dcxgb_listen.c388 pass_accept_req_to_protohdrs(const struct cpl_pass_accept_req *cpl, argument
391 const struct tcp_options *t3opt = &cpl->tcp_options;
394 inc->inc_faddr.s_addr = cpl->peer_ip;
395 inc->inc_laddr.s_addr = cpl->local_ip;
396 inc->inc_fport = cpl->peer_port;
397 inc->inc_lport = cpl->local_port;
400 th->th_sport = cpl->peer_port;
401 th->th_dport = cpl->local_port;
402 th->th_seq = be32toh(cpl->rcv_isn); /* as in tcp_fields_to_host */
645 pass_establish_to_protohdrs(const struct cpl_pass_establish *cpl, argument
677 struct cpl_pass_establish *cpl = mtod(m, void *); local
1122 struct cpl_pass_establish *cpl = synqe->cpl; local
[all...]
H A Dcxgb_cpl_io.c270 mk_tid_release(struct cpl_tid_release *cpl, unsigned int tid) argument
273 cpl->wr.wrh_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
274 OPCODE_TID(cpl) = htonl(MK_OPCODE_TID(CPL_TID_RELEASE, tid));
283 struct cpl_tid_release *cpl; local
291 m = M_GETHDR_OFLD(qset, CPL_PRIORITY_CONTROL, cpl);
293 mk_tid_release(cpl, tid);
312 struct cpl_tid_release *cpl; local
315 m = M_GETHDR_OFLD(0, CPL_PRIORITY_CONTROL, cpl); /* qs 0 here */
319 mk_tid_release(cpl, tid);
956 struct cpl_act_open_req *cpl; local
[all...]
/freebsd-11-stable/sbin/nvmecontrol/
H A Dpower.c104 if (nvme_completion_is_error(&pt.cpl))
120 if (nvme_completion_is_error(&pt.cpl))
123 printf("Current Power Mode is %d\n", pt.cpl.cdw0);
H A Dfirmware.c138 if (nvme_completion_is_error(&pt.cpl))
159 if (pt.cpl.status.sct == NVME_SCT_COMMAND_SPECIFIC &&
160 pt.cpl.status.sc == NVME_SC_FIRMWARE_REQUIRES_RESET)
163 if (nvme_completion_is_error(&pt.cpl))
H A Dnvmecontrol.c158 if (nvme_completion_is_error(&pt.cpl))
177 if (nvme_completion_is_error(&pt.cpl))
/freebsd-11-stable/sys/amd64/include/
H A Dvmm_instruction_emul.h64 int vie_alignment_check(int cpl, int operand_size, uint64_t cr0,
/freebsd-11-stable/sys/xen/interface/arch-x86/
H A Dpmu.h90 uint8_t cpl; member in struct:xen_pmu_regs
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_netmap.c557 struct cpl_tx_pkt_core *cpl; local
571 cpl = (void *)(wr + 1);
578 cpl->ctrl0 = nm_txq->cpl_ctrl0;
579 cpl->pack = 0;
580 cpl->len = htobe16(slot->len);
590 cpl->ctrl1 = txcsum ? 0 :
593 usgl = (void *)(cpl + 1);
600 cpl = (void *)(usgl + 1);
879 unwrap_nm_fw6_msg(const struct cpl_fw6_msg *cpl) argument
882 MPASS(cpl
912 const void *cpl; local
[all...]
H A Doffload.h55 #define INIT_TP_WR_MIT_CPL(w, cpl, tid) do { \
57 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \
H A Dt4_filter.c1204 const struct cpl_act_open_rpl *cpl = (const void *)(rss + 1); local
1205 u_int atid = G_TID_TID(G_AOPEN_ATID(be32toh(cpl->atid_status)));
1206 u_int status = G_AOPEN_STATUS(be32toh(cpl->atid_status));
1216 f->tid = GET_TID(cpl);
1234 release_tid(sc, GET_TID(cpl), &sc->sge.ctrlq[0]);
1288 const struct cpl_abort_rpl_rss *cpl = (const void *)(rss + 1); local
1289 unsigned int tid = GET_TID(cpl);
1300 if (cpl->status == 0) {
1413 uint64_t ftuple, struct cpl_act_open_req6 *cpl)
1415 struct cpl_t5_act_open_req6 *cpl5 = (void *)cpl;
1412 mk_act_open_req6(struct adapter *sc, struct filter_entry *f, int atid, uint64_t ftuple, struct cpl_act_open_req6 *cpl) argument
1456 mk_act_open_req(struct adapter *sc, struct filter_entry *f, int atid, uint64_t ftuple, struct cpl_act_open_req *cpl) argument
[all...]
/freebsd-11-stable/usr.sbin/bhyve/
H A Dtask_switch.c274 sup_paging.cpl = 0; /* implicit supervisor mode */
317 int cpl, dpl, rpl; local
372 sup_paging.cpl = 0; /* implicit supervisor mode */
399 cpl = cs & SEL_RPL_MASK;
403 if (stackseg && (rpl != cpl || dpl != cpl)) {
410 if ((conforming && (cpl < dpl)) ||
411 (!conforming && (cpl != dpl))) {
427 if (!conforming && (rpl > dpl || cpl > dpl)) {
591 ts->paging.cpl
[all...]
/freebsd-11-stable/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c536 struct cpl_iscsi_hdr *cpl = mtod(m, struct cpl_iscsi_hdr *); local
537 u_int tid = GET_TID(cpl);
548 bcopy(mtod(m, caddr_t) + sizeof(*cpl), icp->ip.ip_bhs, sizeof(struct
550 icp->pdu_seq = ntohl(cpl->seq);
558 CTR4(KTR_CXGBE, "%s: tid %u, cpl->len hlen %u, m->m_len hlen %u",
559 __func__, tid, ntohs(cpl->len), m->m_len);
570 struct cpl_iscsi_data *cpl = mtod(m, struct cpl_iscsi_data *); local
571 u_int tid = GET_TID(cpl);
583 m_adj(m, sizeof(*cpl));
590 CTR4(KTR_CXGBE, "%s: tid %u, cpl
601 const struct cpl_rx_data_ddp *cpl = (const void *)(rss + 1); local
[all...]

Completed in 162 milliseconds

12