Lines Matching +full:device +full:- +full:addr
1 /* SPDX-License-Identifier: GPL-2.0 */
39 __entry->cq_id = cid->ci_queue_id;
40 __entry->completion_id = cid->ci_completion_id;
41 __entry->status = wc->status;
42 if (wc->status)
43 __entry->vendor_err = wc->vendor_err;
45 __entry->vendor_err = 0;
49 __entry->cq_id, __entry->completion_id,
50 rdma_show_wc_status(__entry->status),
51 __entry->status, __entry->vendor_err
79 __entry->rep = rep;
80 __entry->r_xprt = rep->rr_rxprt;
81 __entry->xid = be32_to_cpu(rep->rr_xid);
82 __entry->version = be32_to_cpu(rep->rr_vers);
83 __entry->proc = be32_to_cpu(rep->rr_proc);
87 __entry->r_xprt, __entry->xid, __entry->rep,
88 __entry->version, __entry->proc
108 __string(addr, rpcrdma_addrstr(r_xprt))
113 __entry->r_xprt = r_xprt;
114 __assign_str(addr, rpcrdma_addrstr(r_xprt));
119 __get_str(addr), __get_str(port), __entry->r_xprt
142 __string(addr, rpcrdma_addrstr(r_xprt))
147 __entry->r_xprt = r_xprt;
148 __entry->rc = rc;
149 __entry->connect_status = r_xprt->rx_ep->re_connect_status;
150 __assign_str(addr, rpcrdma_addrstr(r_xprt));
155 __get_str(addr), __get_str(port), __entry->r_xprt,
156 __entry->rc, __entry->connect_status
190 __entry->task_id = task->tk_pid;
191 __entry->client_id = task->tk_client->cl_clid;
192 __entry->pos = pos;
193 __entry->nents = mr->mr_nents;
194 __entry->handle = mr->mr_handle;
195 __entry->length = mr->mr_length;
196 __entry->offset = mr->mr_offset;
197 __entry->nsegs = nsegs;
201 __entry->task_id, __entry->client_id,
202 __entry->pos, __entry->length,
203 (unsigned long long)__entry->offset, __entry->handle,
204 __entry->nents < __entry->nsegs ? "more" : "last"
238 __entry->task_id = task->tk_pid;
239 __entry->client_id = task->tk_client->cl_clid;
240 __entry->nents = mr->mr_nents;
241 __entry->handle = mr->mr_handle;
242 __entry->length = mr->mr_length;
243 __entry->offset = mr->mr_offset;
244 __entry->nsegs = nsegs;
248 __entry->task_id, __entry->client_id,
249 __entry->length, (unsigned long long)__entry->offset,
250 __entry->handle,
251 __entry->nents < __entry->nsegs ? "more" : "last"
279 __entry->mr_id = frwr->fr_mr->res.id;
280 __entry->status = wc->status;
281 __entry->vendor_err = __entry->status ? wc->vendor_err : 0;
286 __entry->mr_id, rdma_show_wc_status(__entry->status),
287 __entry->status, __entry->vendor_err
328 __entry->mr_id = mr->frwr.fr_mr->res.id;
329 __entry->nents = mr->mr_nents;
330 __entry->handle = mr->mr_handle;
331 __entry->length = mr->mr_length;
332 __entry->offset = mr->mr_offset;
333 __entry->dir = mr->mr_dir;
337 __entry->mr_id, __entry->nents, __entry->length,
338 (unsigned long long)__entry->offset, __entry->handle,
339 xprtrdma_show_direction(__entry->dir)
365 __entry->rqst = rqst;
366 __entry->req = rpcr_to_rdmar(rqst);
367 __entry->rep = rpcr_to_rdmar(rqst)->rl_reply;
368 __entry->xid = be32_to_cpu(rqst->rq_xid);
372 __entry->xid, __entry->rqst, __entry->req, __entry->rep
404 const struct rdma_cm_id *id = ep->re_id;
406 __entry->inline_send = ep->re_inline_send;
407 __entry->inline_recv = ep->re_inline_recv;
408 __entry->max_send = ep->re_max_inline_send;
409 __entry->max_recv = ep->re_max_inline_recv;
410 memcpy(__entry->srcaddr, &id->route.addr.src_addr,
412 memcpy(__entry->dstaddr, &id->route.addr.dst_addr,
416 TP_printk("%pISpc -> %pISpc neg send/recv=%u/%u, calc send/recv=%u/%u",
417 __entry->srcaddr, __entry->dstaddr,
418 __entry->inline_send, __entry->inline_recv,
419 __entry->max_send, __entry->max_recv
439 __string(addr, rpcrdma_addrstr(r_xprt))
444 __entry->r_xprt = r_xprt;
445 __entry->delay = delay;
446 __assign_str(addr, rpcrdma_addrstr(r_xprt));
451 __get_str(addr), __get_str(port), __entry->r_xprt,
452 __entry->delay
470 __string(addr, rpcrdma_addrstr(r_xprt))
475 __entry->r_xprt = r_xprt;
476 __entry->connect = connect;
477 __entry->reconnect = reconnect;
478 __assign_str(addr, rpcrdma_addrstr(r_xprt));
483 __get_str(addr), __get_str(port), __entry->r_xprt,
484 __entry->connect / HZ, __entry->reconnect / HZ
498 __string(name, event->device->name)
504 const struct rdma_cm_id *id = ep->re_id;
506 __entry->event = event->event;
507 __assign_str(name, event->device->name);
508 memcpy(__entry->srcaddr, &id->route.addr.src_addr,
510 memcpy(__entry->dstaddr, &id->route.addr.dst_addr,
514 TP_printk("%pISpc -> %pISpc device=%s %s (%lu)",
515 __entry->srcaddr, __entry->dstaddr, __get_str(name),
516 rdma_show_ib_event(__entry->event), __entry->event
534 __string(addr, rpcrdma_addrstr(r_xprt))
540 __entry->r_xprt = r_xprt;
541 __entry->count = count;
542 __assign_str(addr, rpcrdma_addrstr(r_xprt));
547 __get_str(addr), __get_str(port), __entry->r_xprt,
548 __entry->count
567 const struct rpc_rqst *rqst = &req->rl_slot;
569 __entry->req = req;
570 __entry->task_id = rqst->rq_task->tk_pid;
571 __entry->client_id = rqst->rq_task->tk_client->cl_clid;
572 __entry->xid = be32_to_cpu(rqst->rq_xid);
576 __entry->task_id, __entry->client_id, __entry->xid,
577 __entry->req
596 const struct rpc_rqst *rqst = &req->rl_slot;
598 __entry->req = req;
599 __entry->task_id = rqst->rq_task->tk_pid;
600 __entry->client_id = rqst->rq_task->tk_client->cl_clid;
601 __entry->xid = be32_to_cpu(rqst->rq_xid);
605 __entry->task_id, __entry->client_id, __entry->xid,
606 __entry->req
654 const struct rpc_rqst *rqst = &req->rl_slot;
656 __entry->task_id = rqst->rq_task->tk_pid;
657 __entry->client_id = rqst->rq_task->tk_client->cl_clid;
658 __entry->xid = be32_to_cpu(rqst->rq_xid);
659 __entry->hdrlen = req->rl_hdrbuf.len;
660 __entry->headlen = rqst->rq_snd_buf.head[0].iov_len;
661 __entry->pagelen = rqst->rq_snd_buf.page_len;
662 __entry->taillen = rqst->rq_snd_buf.tail[0].iov_len;
663 __entry->rtype = rtype;
664 __entry->wtype = wtype;
668 __entry->task_id, __entry->client_id, __entry->xid,
669 __entry->hdrlen,
670 __entry->headlen, __entry->pagelen, __entry->taillen,
671 xprtrdma_show_chunktype(__entry->rtype),
672 xprtrdma_show_chunktype(__entry->wtype)
691 __entry->task_id = rqst->rq_task->tk_pid;
692 __entry->client_id = rqst->rq_task->tk_client->cl_clid;
693 __entry->xid = be32_to_cpu(rqst->rq_xid);
694 __entry->ret = ret;
698 __entry->task_id, __entry->client_id, __entry->xid,
699 __entry->ret
718 __entry->task_id = rqst->rq_task->tk_pid;
719 __entry->client_id = rqst->rq_task->tk_client->cl_clid;
720 __entry->xid = be32_to_cpu(rqst->rq_xid);
721 __entry->ret = ret;
725 __entry->task_id, __entry->client_id, __entry->xid,
726 __entry->ret
747 const struct rpc_rqst *rqst = &req->rl_slot;
749 __entry->task_id = rqst->rq_task->tk_pid;
750 __entry->client_id = rqst->rq_task->tk_client ?
751 rqst->rq_task->tk_client->cl_clid : -1;
752 __entry->req = req;
753 __entry->sc = req->rl_sendctx;
754 __entry->num_sge = req->rl_wr.num_sge;
755 __entry->signaled = req->rl_wr.send_flags & IB_SEND_SIGNALED;
759 __entry->task_id, __entry->client_id,
760 __entry->req, __entry->sc, __entry->num_sge,
761 (__entry->num_sge == 1 ? "" : "s"),
762 (__entry->signaled ? "signaled" : "")
778 __entry->rep = rep;
782 __entry->rep
800 __string(addr, rpcrdma_addrstr(r_xprt))
805 __entry->r_xprt = r_xprt;
806 __entry->count = count;
807 __entry->status = status;
808 __entry->posted = r_xprt->rx_ep->re_receive_count;
809 __assign_str(addr, rpcrdma_addrstr(r_xprt));
814 __get_str(addr), __get_str(port), __entry->r_xprt,
815 __entry->count, __entry->posted, __entry->status
834 __entry->req = req;
835 __entry->status = status;
836 __entry->xid = be32_to_cpu(req->rl_slot.rq_xid);
840 __entry->req, __entry->xid, __entry->status
865 __entry->req = sc->sc_req;
866 __entry->sc = sc;
867 __entry->unmap_count = sc->sc_unmap_count;
868 __entry->status = wc->status;
869 __entry->vendor_err = __entry->status ? wc->vendor_err : 0;
873 __entry->req, __entry->sc, __entry->unmap_count,
874 rdma_show_wc_status(__entry->status),
875 __entry->status, __entry->vendor_err
894 __entry->rep = container_of(wc->wr_cqe, struct rpcrdma_rep,
896 __entry->status = wc->status;
897 if (wc->status) {
898 __entry->byte_len = 0;
899 __entry->vendor_err = wc->vendor_err;
901 __entry->byte_len = wc->byte_len;
902 __entry->vendor_err = 0;
907 __entry->rep, __entry->byte_len,
908 rdma_show_wc_status(__entry->status),
909 __entry->status, __entry->vendor_err
932 __entry->mr_id = mr->frwr.fr_mr->res.id;
933 __entry->rc = rc;
937 __entry->mr_id, __entry->rc
960 __entry->mr_id = mr->frwr.fr_mr->res.id;
961 __entry->nents = mr->mr_nents;
962 __entry->handle = mr->mr_handle;
963 __entry->length = mr->mr_length;
964 __entry->offset = mr->mr_offset;
965 __entry->dir = mr->mr_dir;
966 __entry->rc = rc;
970 __entry->mr_id, __entry->nents, __entry->length,
971 (unsigned long long)__entry->offset, __entry->handle,
972 xprtrdma_show_direction(__entry->dir),
973 __entry->rc
987 __field(u64, addr)
993 __entry->mr_id = mr->frwr.fr_mr->res.id;
994 __entry->addr = mr->mr_sg->dma_address;
995 __entry->dir = mr->mr_dir;
996 __entry->nents = sg_nents;
999 TP_printk("mr.id=%u DMA addr=0x%llx (%s) sg_nents=%d",
1000 __entry->mr_id, __entry->addr,
1001 xprtrdma_show_direction(__entry->dir),
1002 __entry->nents
1016 __field(u64, addr)
1023 __entry->mr_id = mr->frwr.fr_mr->res.id;
1024 __entry->addr = mr->mr_sg->dma_address;
1025 __entry->dir = mr->mr_dir;
1026 __entry->num_mapped = num_mapped;
1027 __entry->nents = mr->mr_nents;
1030 TP_printk("mr.id=%u DMA addr=0x%llx (%s) nents=%d of %d",
1031 __entry->mr_id, __entry->addr,
1032 xprtrdma_show_direction(__entry->dir),
1033 __entry->num_mapped, __entry->nents
1045 u64 addr
1048 TP_ARGS(addr),
1051 __field(u64, addr)
1055 __entry->addr = addr;
1058 TP_printk("dma addr=0x%llx\n", __entry->addr)
1085 __entry->task_id = task->tk_pid;
1086 __entry->client_id = task->tk_client->cl_clid;
1087 __entry->rep = rep;
1088 __entry->req = req;
1089 __entry->xid = be32_to_cpu(rep->rr_xid);
1090 __entry->credits = credits;
1093 TP_printk("task:%u@%u xid=0x%08x, %u credits, rep=%p -> req=%p",
1094 __entry->task_id, __entry->client_id, __entry->xid,
1095 __entry->credits, __entry->rep, __entry->req
1114 __entry->task_id = rep->rr_rqst->rq_task->tk_pid;
1115 __entry->client_id = rep->rr_rqst->rq_task->tk_client->cl_clid;
1116 __entry->rep = rep;
1117 __entry->xid = be32_to_cpu(rep->rr_xid);
1121 __entry->task_id, __entry->client_id, __entry->xid,
1122 __entry->rep
1149 __entry->task_id = rqst->rq_task->tk_pid;
1150 __entry->client_id = rqst->rq_task->tk_client->cl_clid;
1151 __entry->fixup = fixup;
1152 __entry->headlen = rqst->rq_rcv_buf.head[0].iov_len;
1153 __entry->pagelen = rqst->rq_rcv_buf.page_len;
1154 __entry->taillen = rqst->rq_rcv_buf.tail[0].iov_len;
1158 __entry->task_id, __entry->client_id, __entry->fixup,
1159 __entry->headlen, __entry->pagelen, __entry->taillen
1179 __entry->handle = handle;
1180 __entry->length = length;
1181 __entry->offset = offset;
1185 __entry->length, (unsigned long long)__entry->offset,
1186 __entry->handle
1205 __string(addr, rpcrdma_addrstr(r_xprt))
1210 __entry->r_xprt = r_xprt;
1211 __entry->reqs = reqs;
1212 __assign_str(addr, rpcrdma_addrstr(r_xprt));
1217 __get_str(addr), __get_str(port),
1218 __entry->r_xprt, __entry->reqs
1241 __entry->task_id = rqst->rq_task->tk_pid;
1242 __entry->client_id = rqst->rq_task->tk_client->cl_clid;
1243 __entry->xid = be32_to_cpu(rqst->rq_xid);
1244 __entry->rep = rep;
1248 __entry->task_id, __entry->client_id, __entry->xid,
1249 __entry->rep
1254 ** Server-side RPC/RDMA events
1267 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1271 __entry->status = status;
1272 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1275 TP_printk("addr=%s status=%ld",
1276 __get_str(addr), __entry->status
1328 __entry->cq_id = ctxt->rc_cid.ci_queue_id;
1329 __entry->completion_id = ctxt->rc_cid.ci_completion_id;
1330 __entry->xid = be32_to_cpup(p++);
1331 __entry->vers = be32_to_cpup(p++);
1332 __entry->credits = be32_to_cpup(p++);
1333 __entry->proc = be32_to_cpup(p);
1334 __entry->hdrlen = hdrlen;
1338 __entry->cq_id, __entry->completion_id,
1339 __entry->xid, __entry->vers, __entry->credits,
1340 show_rpcrdma_proc(__entry->proc), __entry->hdrlen)
1358 __entry->cq_id = ctxt->rc_cid.ci_queue_id;
1359 __entry->completion_id = ctxt->rc_cid.ci_completion_id;
1360 __entry->hdrlen = hdrlen;
1364 __entry->cq_id, __entry->completion_id,
1365 __entry->hdrlen)
1386 __entry->cq_id = ctxt->rc_cid.ci_queue_id;
1387 __entry->completion_id = ctxt->rc_cid.ci_completion_id;
1388 __entry->xid = be32_to_cpup(p++);
1389 __entry->vers = be32_to_cpup(p++);
1390 __entry->credits = be32_to_cpup(p++);
1391 __entry->proc = be32_to_cpup(p);
1395 __entry->cq_id, __entry->completion_id,
1396 __entry->xid, __entry->vers, __entry->credits, __entry->proc)
1429 __entry->handle = handle;
1430 __entry->length = length;
1431 __entry->offset = offset;
1435 __entry->length, (unsigned long long)__entry->offset,
1436 __entry->handle
1467 __entry->length = length;
1471 __entry->length
1502 __entry->length = length;
1503 __entry->position = position;
1507 __entry->length, __entry->position
1523 __entry->xid = be32_to_cpu(xid);
1527 __entry->xid
1542 ** Server-side RDMA API events
1557 __string(device, rdma->sc_cm_id->device->name)
1558 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1562 __entry->dma_addr = dma_addr;
1563 __entry->length = length;
1564 __assign_str(device, rdma->sc_cm_id->device->name);
1565 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1568 TP_printk("addr=%s device=%s dma_addr=%llu length=%u",
1569 __get_str(addr), __get_str(device),
1570 __entry->dma_addr, __entry->length
1598 __string(device, rdma->sc_cm_id->device->name)
1599 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1603 __entry->status = status;
1604 __entry->nents = nents;
1605 __assign_str(device, rdma->sc_cm_id->device->name);
1606 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1609 TP_printk("addr=%s device=%s nents=%u status=%d",
1610 __get_str(addr), __get_str(device), __entry->nents,
1611 __entry->status
1625 __string(device, rdma->sc_cm_id->device->name)
1626 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1630 __entry->num_sges = num_sges;
1631 __assign_str(device, rdma->sc_cm_id->device->name);
1632 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1635 TP_printk("addr=%s device=%s num_sges=%d",
1636 __get_str(addr), __get_str(device), __entry->num_sges
1652 __string(device, rdma->sc_cm_id->device->name)
1653 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1657 __entry->pageno = pageno;
1658 __entry->xid = __be32_to_cpu(rqst->rq_xid);
1659 __assign_str(device, rdma->sc_cm_id->device->name);
1660 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1663 TP_printk("addr=%s device=%s xid=0x%08x pageno=%u", __get_str(addr),
1664 __get_str(device), __entry->xid, __entry->pageno
1682 __string(device, rdma->sc_cm_id->device->name)
1683 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1687 __entry->remaining = remaining;
1688 __entry->seg_no = seg_no;
1689 __entry->num_segs = num_segs;
1690 __assign_str(device, rdma->sc_cm_id->device->name);
1691 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1694 TP_printk("addr=%s device=%s remaining=%u seg_no=%u num_segs=%u",
1695 __get_str(addr), __get_str(device), __entry->remaining,
1696 __entry->seg_no, __entry->num_segs
1712 __entry->len = len;
1715 TP_printk("len=%u", __entry->len)
1729 __string(addr, rqst->rq_xprt->xpt_remotebuf)
1733 __entry->status = status;
1734 __entry->xid = __be32_to_cpu(rqst->rq_xid);
1735 __assign_str(addr, rqst->rq_xprt->xpt_remotebuf);
1738 TP_printk("addr=%s xid=0x%08x status=%d", __get_str(addr),
1739 __entry->xid, __entry->status
1758 const struct ib_send_wr *wr = &ctxt->sc_send_wr;
1760 __entry->cq_id = ctxt->sc_cid.ci_queue_id;
1761 __entry->completion_id = ctxt->sc_cid.ci_completion_id;
1762 __entry->num_sge = wr->num_sge;
1763 __entry->inv_rkey = (wr->opcode == IB_WR_SEND_WITH_INV) ?
1764 wr->ex.invalidate_rkey : 0;
1768 __entry->cq_id, __entry->completion_id,
1769 __entry->num_sge, __entry->inv_rkey
1788 __entry->cq_id = ctxt->rc_cid.ci_queue_id;
1789 __entry->completion_id = ctxt->rc_cid.ci_completion_id;
1793 __entry->cq_id, __entry->completion_id
1809 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1813 __entry->status = status;
1814 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1817 TP_printk("addr=%s status=%d",
1818 __get_str(addr), __entry->status
1837 __entry->cq_id = cid->ci_queue_id;
1838 __entry->completion_id = cid->ci_completion_id;
1839 __entry->sqecount = sqecount;
1843 __entry->cq_id, __entry->completion_id,
1844 __entry->sqecount
1861 __string(device, event->device->name)
1862 __array(__u8, addr, INET6_ADDRSTRLEN + 10)
1866 __entry->event = event->event;
1867 __assign_str(device, event->device->name);
1868 snprintf(__entry->addr, sizeof(__entry->addr) - 1,
1872 TP_printk("addr=%s dev=%s event=%s (%u)",
1873 __entry->addr, __get_str(device),
1874 rdma_show_ib_event(__entry->event), __entry->event
1888 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1892 __entry->avail = atomic_read(&rdma->sc_sq_avail);
1893 __entry->depth = rdma->sc_sq_depth;
1894 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1897 TP_printk("addr=%s sc_sq_avail=%d/%d",
1898 __get_str(addr), __entry->avail, __entry->depth
1924 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1928 __entry->avail = atomic_read(&rdma->sc_sq_avail);
1929 __entry->depth = rdma->sc_sq_depth;
1930 __entry->status = status;
1931 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1934 TP_printk("addr=%s sc_sq_avail=%d/%d status=%d",
1935 __get_str(addr), __entry->avail, __entry->depth,
1936 __entry->status