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

12

/freebsd-10.1-release/sys/dev/cxgbe/tom/
H A Dt4_connect.c117 const struct cpl_act_establish *cpl = (const void *)(rss + 1); local
118 unsigned int tid = GET_TID(cpl);
119 unsigned int atid = G_TID_TID(ntohl(cpl->tos_atid));
137 send_reset(sc, toep, be32toh(cpl->snd_isn));
141 make_established(toep, cpl->snd_isn, cpl->rcv_isn, cpl->tcp_opt);
186 const struct cpl_act_open_rpl *cpl = (const void *)(rss + 1); local
187 unsigned int atid = G_TID_TID(G_AOPEN_ATID(be32toh(cpl->atid_status)));
188 unsigned int status = G_AOPEN_STATUS(be32toh(cpl
377 struct cpl_act_open_req6 *cpl = wrtod(wr); local
413 struct cpl_act_open_req *cpl = wrtod(wr); local
[all...]
H A Dt4_listen.c715 const struct cpl_pass_open_rpl *cpl = (const void *)(rss + 1); local
716 int stid = GET_TID(cpl);
717 unsigned int status = cpl->status;
721 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl)));
790 const struct cpl_close_listsvr_rpl *cpl = (const void *)(rss + 1); local
791 int stid = GET_TID(cpl);
792 unsigned int status = cpl->status;
796 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl)));
845 const struct cpl_abort_req_rss *cpl = (const void *)(rss + 1); local
846 unsigned int tid = GET_TID(cpl);
894 const struct cpl_abort_rpl_rss *cpl = (const void *)(rss + 1); local
930 struct cpl_pass_establish *cpl = mtod(synqe->syn, void *); local
1059 const struct cpl_pass_accept_req *cpl = mtod(m, const void *); local
1215 const struct cpl_pass_accept_req *cpl = mtod(m, const void *); local
1464 synqe_to_protohdrs(struct synq_entry *synqe, const struct cpl_pass_establish *cpl, struct in_conninfo *inc, struct tcphdr *th, struct tcpopt *to) argument
1491 const struct cpl_pass_establish *cpl = (const void *)(rss + 1); local
[all...]
H A Dt4_cpl_io.c1023 const struct cpl_peer_close *cpl = (const void *)(rss + 1); local
1024 unsigned int tid = GET_TID(cpl);
1031 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl)));
1078 m = get_ddp_mbuf(be32toh(cpl->rcv_nxt) - tp->rcv_nxt);
1079 tp->rcv_nxt = be32toh(cpl->rcv_nxt);
1095 KASSERT(tp->rcv_nxt == be32toh(cpl->rcv_nxt),
1097 be32toh(cpl->rcv_nxt)));
1140 const struct cpl_close_con_rpl *cpl = (const void *)(rss + 1); local
1141 unsigned int tid = GET_TID(cpl);
1147 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl)));
1206 struct cpl_abort_rpl *cpl; local
1330 const struct cpl_abort_req_rss *cpl = (const void *)(rss + 1); local
1402 const struct cpl_abort_rpl_rss *cpl = (const void *)(rss + 1); local
1435 const struct cpl_rx_data *cpl = mtod(m, const void *); local
1626 const struct cpl_fw4_ack *cpl = (const void *)(rss + 1); local
1739 const struct cpl_set_tcb_rpl *cpl = (const void *)(rss + 1); local
[all...]
H A Dt4_ddp.c492 const struct cpl_rx_data_ddp *cpl = (const void *)(rss + 1); local
493 unsigned int tid = GET_TID(cpl);
503 vld = be32toh(cpl->ddpvld);
512 memcpy(mtod(m, unsigned char *), cpl, local
519 handle_ddp_data(toep, cpl->u.ddp_report, cpl->seq, be16toh(cpl->len));
529 const struct cpl_rx_ddp_complete *cpl = (const void *)(rss + 1); local
530 unsigned int tid = GET_TID(cpl);
538 handle_ddp_data(toep, cpl
[all...]
/freebsd-10.1-release/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);
H A Dcxgb_sge.c480 const struct cpl_rx_data *cpl = (const void *)&resp->imm_data[0]; local
481 m->m_len = sizeof(*cpl) + ntohs(cpl->len);
483 const struct cpl_rx_pkt *cpl = (const void *)&resp->imm_data[0]; local
484 m->m_len = sizeof(*cpl) + ntohs(cpl->len);
1545 struct cpl_tx_pkt *cpl = (struct cpl_tx_pkt *)txd; local
1554 cpl->cntrl = htonl(cntrl);
1555 cpl->len = htonl(mlen | 0x80000000);
1567 set_wr_hdr(&cpl
2627 struct cpl_rx_pkt *cpl = (struct cpl_rx_pkt *)(mtod(m, uint8_t *) + ethpad); local
[all...]
/freebsd-10.1-release/sys/dev/nvme/
H A Dnvme_qpair.c243 struct nvme_completion *cpl)
246 get_status_string(cpl->status.sct, cpl->status.sc),
247 cpl->status.sct, cpl->status.sc, cpl->sqid, cpl->cid, cpl->cdw0);
251 nvme_completion_is_retry(const struct nvme_completion *cpl) argument
259 switch (cpl
242 nvme_qpair_print_completion(struct nvme_qpair *qpair, struct nvme_completion *cpl) argument
309 nvme_qpair_complete_tracker(struct nvme_qpair *qpair, struct nvme_tracker *tr, struct nvme_completion *cpl, boolean_t print_on_error) argument
370 struct nvme_completion cpl; local
386 struct nvme_completion cpl; local
411 struct nvme_completion *cpl; local
[all...]
H A Dnvme.c207 nvme_dump_completion(struct nvme_completion *cpl) argument
211 cpl->cdw0, cpl->sqhd, cpl->sqid,
212 cpl->cid, cpl->status.p, cpl->status.sc, cpl->status.sct,
213 cpl->status.m, cpl
408 nvme_completion_poll_cb(void *arg, const struct nvme_completion *cpl) argument
[all...]
H A Dnvme_ctrlr.c459 if (nvme_completion_is_error(&status.cpl)) {
491 if (nvme_completion_is_error(&status.cpl)) {
501 sq_allocated = (status.cpl.cdw0 & 0xFFFF) + 1;
502 cq_allocated = (status.cpl.cdw0 >> 16) + 1;
544 if (nvme_completion_is_error(&status.cpl)) {
554 if (nvme_completion_is_error(&status.cpl)) {
645 nvme_ctrlr_async_event_log_page_cb(void *arg, const struct nvme_completion *cpl) argument
655 if (nvme_completion_is_error(cpl))
656 nvme_notify_async_consumers(aer->ctrlr, &aer->cpl,
679 * Pass the cpl dat
694 nvme_ctrlr_async_event_cb(void *arg, const struct nvme_completion *cpl) argument
927 nvme_pt_done(void *arg, const struct nvme_completion *cpl) argument
[all...]
H A Dnvme_test.c175 nvme_ns_io_test_cb(void *arg, const struct nvme_completion *cpl) argument
182 if (nvme_completion_is_error(cpl)) {
217 struct nvme_completion cpl; local
229 memset(&cpl, 0, sizeof(cpl));
231 nvme_ns_io_test_cb(tth, &cpl);
H A Dnvme_sysctl.c49 struct nvme_completion *cpl; local
57 cpl = &qpair->cpl[i];
59 nvme_dump_completion(cpl);
H A Dnvme_private.h135 struct nvme_completion cpl; member in struct:nvme_completion_poll_status
167 struct nvme_completion cpl; member in struct:nvme_async_event_request
211 struct nvme_completion *cpl; member in struct:nvme_qpair
440 void nvme_completion_poll_cb(void *arg, const struct nvme_completion *cpl);
487 void nvme_dump_completion(struct nvme_completion *cpl);
H A Dnvme_ns.c50 const struct nvme_completion *cpl);
117 nvme_ns_strategy_done(void *arg, const struct nvme_completion *cpl) argument
125 if (nvme_completion_is_error(cpl)) {
263 nvme_bio_child_done(void *arg, const struct nvme_completion *cpl) argument
271 bio_error = nvme_completion_is_error(cpl) ? EIO : 0;
526 if (nvme_completion_is_error(&status.cpl)) {
H A Dnvme.h752 * cpl returns completion status for the passthrough command
762 struct nvme_completion cpl; member in struct:nvme_pt_command
789 #define nvme_completion_is_error(cpl) \
790 ((cpl)->status.sc != 0 || (cpl)->status.sct != 0)
/freebsd-10.1-release/sys/dev/cxgb/ulp/tom/
H A Dcxgb_listen.c386 pass_accept_req_to_protohdrs(const struct cpl_pass_accept_req *cpl, argument
389 const struct tcp_options *t3opt = &cpl->tcp_options;
392 inc->inc_faddr.s_addr = cpl->peer_ip;
393 inc->inc_laddr.s_addr = cpl->local_ip;
394 inc->inc_fport = cpl->peer_port;
395 inc->inc_lport = cpl->local_port;
398 th->th_sport = cpl->peer_port;
399 th->th_dport = cpl->local_port;
400 th->th_seq = be32toh(cpl->rcv_isn); /* as in tcp_fields_to_host */
662 pass_establish_to_protohdrs(const struct cpl_pass_establish *cpl, argument
694 struct cpl_pass_establish *cpl = mtod(m, void *); local
1140 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-10.1-release/sys/dev/cxgbe/
H A Doffload.h52 #define INIT_TP_WR_MIT_CPL(w, cpl, tid) do { \
54 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \
H A Dt4_netmap.c652 struct cpl_tx_pkt_core *cpl; local
666 cpl = (void *)(wr + 1);
672 cpl->ctrl0 = nm_txq->cpl_ctrl0;
673 cpl->pack = 0;
674 cpl->len = htobe16(slot->len);
682 cpl->ctrl1 = htobe64(F_TXPKT_IPCSUM_DIS |
685 usgl = (void *)(cpl + 1);
692 cpl = (void *)(usgl + 1);
1037 const struct cpl_fw6_msg *cpl)
1043 if (cpl
1036 handle_nm_fw6_msg(struct adapter *sc, struct ifnet *ifp, const struct cpl_fw6_msg *cpl) argument
[all...]
H A Dt4_sge.c1725 const struct cpl_rx_pkt *cpl = (const void *)(rss + 1); local
1741 if (cpl->csum_calc && !cpl->err_vec) {
1743 cpl->l2info & htobe32(F_RXF_IP)) {
1748 cpl->l2info & htobe32(F_RXF_IP6)) {
1754 if (__predict_false(cpl->ip_frag))
1755 m0->m_pkthdr.csum_data = be16toh(cpl->csum);
1760 if (cpl->vlan_ex) {
1761 m0->m_pkthdr.ether_vtag = be16toh(cpl->vlan);
1767 if (cpl
3633 struct cpl_tx_pkt_core *cpl; local
3940 struct cpl_tx_pkt_core *cpl; local
4478 const struct cpl_sge_egr_update *cpl = (const void *)(rss + 1); local
4511 const struct cpl_fw6_msg *cpl = (const void *)(rss + 1); local
[all...]
/freebsd-10.1-release/sbin/nvmecontrol/
H A Dfirmware.c136 if (nvme_completion_is_error(&pt.cpl))
157 if (pt.cpl.status.sct == NVME_SCT_COMMAND_SPECIFIC &&
158 pt.cpl.status.sc == NVME_SC_FIRMWARE_REQUIRES_RESET)
161 if (nvme_completion_is_error(&pt.cpl))
H A Dnvmecontrol.c141 if (nvme_completion_is_error(&pt.cpl))
160 if (nvme_completion_is_error(&pt.cpl))
/freebsd-10.1-release/sys/amd64/include/
H A Dvmm_instruction_emul.h64 int vie_alignment_check(int cpl, int operand_size, uint64_t cr0,
/freebsd-10.1-release/usr.sbin/bhyve/
H A Dtask_switch.c269 sup_paging.cpl = 0; /* implicit supervisor mode */
316 int cpl, dpl, rpl; local
371 sup_paging.cpl = 0; /* implicit supervisor mode */
398 cpl = cs & SEL_RPL_MASK;
402 if (stackseg && (rpl != cpl || dpl != cpl)) {
409 if ((conforming && (cpl < dpl)) ||
410 (!conforming && (cpl != dpl))) {
426 if (!conforming && (rpl > dpl || cpl > dpl)) {
590 ts->paging.cpl
[all...]
/freebsd-10.1-release/sbin/fsdb/
H A Dfsdbutil.c232 int i, j, cpl, charssofar; local
248 cpl = charsperline();
259 if (charssofar >= cpl - 2) {
/freebsd-10.1-release/sys/amd64/vmm/
H A Dvmm_instruction_emul.c874 if (vie_alignment_check(paging->cpl, size, cr0, rflags, stack_gla)) {
955 vie_alignment_check(int cpl, int size, uint64_t cr0, uint64_t rf, uint64_t gla) argument
959 KASSERT(cpl >= 0 && cpl <= 3, ("%s: invalid cpl %d", __func__, cpl));
961 if (cpl != 3 || (cr0 & CR0_AM) == 0 || (rf & PSL_AC) == 0)
1163 usermode = (paging->cpl == 3 ? 1 : 0);

Completed in 126 milliseconds

12