rdsdebug
rdsdebug("rs %p binding to %pI6c:%d\n",
rdsdebug("rs %p unbinding from %pI6c:%d\n",
rdsdebug("returning rs %p for %pI6c:%u\n", rs, addr,
rdsdebug("map %p for addr %pI6c\n", ret, addr);
rdsdebug("conn %p now on map %p\n", conn, conn->c_lcong);
rdsdebug("removing conn %p from map %p\n", conn, conn->c_lcong);
rdsdebug("waking map %p for %pI4\n",
rdsdebug("setting congestion for %pI4:%u in map %p\n",
rdsdebug("clearing congestion for %pI4:%u in map %p\n",
rdsdebug("waiting on map %p for port %u\n", map, be16_to_cpu(port));
rdsdebug("freeing map %p\n", map);
rdsdebug("returning conn %p for %pI6c -> %pI6c\n", ret,
rdsdebug("connection %pI6c to %pI6c reset\n",
rdsdebug("allocated conn %p for %pI6c -> %pI6c over %s %s\n",
rdsdebug("freeing conn %p for %pI4 -> "
rdsdebug("RDS/IB: max_mr = %d, max_wrs = %d, max_sge = %d, max_1m_mrs = %d, max_8k_mrs = %d\n",
rdsdebug("addr %pI6c%%%u ret %d node type %d\n",
rdsdebug("addr resolve failed for cm id %p: %d\n", ic->i_cm_id,
rdsdebug("cm %p pd %p cq %p %p qp %p\n", ic->i_cm_id,
rdsdebug("disconnecting cm %p\n", ic->i_cm_id);
rdsdebug("failed to disconnect, cm: %p err %d\n",
rdsdebug("conn %p conn ic %p\n", conn, conn->c_transport_data);
rdsdebug("ic %p\n", ic);
rdsdebug("event %u (%s) data %p\n",
rdsdebug("conn %p cq %p\n", conn, cq);
rdsdebug("wc wr_id 0x%llx status %u byte_len %u imm_data %u\n",
rdsdebug("wc wr_id 0x%llx status %u byte_len %u imm_data %u\n",
rdsdebug("conn %p ic %p event %u (%s)\n", conn, ic, event->event,
rdsdebug("Fatal QP Event %u (%s) - connection %pI6c->%pI6c, reconnecting\n",
rdsdebug("conn %p cq %p\n", conn, cq);
rdsdebug("ib_create_cq send failed: %d\n", ret);
rdsdebug("ib_create_cq recv failed: %d\n", ret);
rdsdebug("ib_req_notify_cq send failed: %d\n", ret);
rdsdebug("ib_req_notify_cq recv failed: %d\n", ret);
rdsdebug("rdma_create_qp failed: %d\n", ret);
rdsdebug("DMA send hdrs alloc failed\n");
rdsdebug("DMA recv hdrs alloc failed\n");
rdsdebug("DMA ack header alloc failed\n");
rdsdebug("send allocation failed\n");
rdsdebug("recv allocation failed\n");
rdsdebug("conn %p pd %p cq %p %p\n", conn, ic->i_pd,
rdsdebug("saddr %pI6c daddr %pI6c RDSv%u.%u lguid 0x%llx fguid 0x%llx, tos:%d\n",
rdsdebug("rds_conn_create failed (%ld)\n", PTR_ERR(conn));
rdsdebug("incoming connect while connecting\n");
rdsdebug("rdma_create_id() failed: %d\n", ret);
rdsdebug("created cm id %p for conn %p\n", ic->i_cm_id, conn);
rdsdebug("RDS/IB: free_mr nents %u\n", ibmr->sg_len);
rdsdebug("rds_ib_get_user_mr returned %d\n",
rdsdebug("conn %p\n", conn);
rdsdebug("frag %p page %p\n", frag, sg_page(&frag->f_sg));
rdsdebug("freeing ibinc %p inc %p\n", ibinc, inc);
rdsdebug("recv %p ibinc %p page %p addr %lu\n", recv,
rdsdebug("send_ack: ic %p ack %llu\n", ic, (unsigned long long) seq);
rdsdebug("ic %p ibinc %p recv %p byte len %u\n", ic, ibinc, recv,
rdsdebug("ic %p ibinc %p rem %u flag 0x%x\n", ic, ibinc,
rdsdebug("wc wr_id 0x%llx status %u (%s) byte_len %u imm_data %u\n",
rdsdebug("ring %p val %u next %u free %u\n", ring, val,
rdsdebug("ring %p ret %u wr_id %u oldest %u\n", ring, ret,
rdsdebug("ring %p nr %u\n", ring, ring->w_nr);
rdsdebug("ic %p first %p (wr %p) ret %d wr %p\n", ic,
rdsdebug("wc wr_id 0x%llx status %u (%s) byte_len %u imm_data %u\n",
rdsdebug("wanted=%u credits=%u posted=%u\n",
rdsdebug("credits=%u current=%u%s\n",
rdsdebug("ic %p mapping rm %p: %d\n", ic, rm, rm->data.op_count);
rdsdebug("RDS_EXTHDR_RDMA dropped");
rdsdebug("RDS_EXTHDR_RDMA_BYTES dropped");
rdsdebug("RDS_EXTHDR_RDMA_DEST dropped\n");
rdsdebug("send %p wr %p num_sge %u next %p\n", send,
rdsdebug("ic %p first %p (wr %p) ret %d wr %p\n", ic,
rdsdebug("ic %p mapping atomic op %p. mapped %d pg\n", ic, op, ret);
rdsdebug("rva %Lx rpa %Lx len %u\n", op->op_remote_addr,
rdsdebug("ic %p send %p (wr %p) ret %d wr %p\n", ic,
rdsdebug("ic %p mapping op %p: %d\n", ic, op,
rdsdebug("ic %p sent %d remote_addr %llu\n", ic, sent, remote_addr);
rdsdebug("send %p wr %p num_sge %u next %p\n", send,
rdsdebug("page %p addr %p offset %lu this %lu data %p "
rdsdebug("len %d nr_pages %lu\n", len, nr_pages);
rdsdebug("lc %p\n", lc);
rdsdebug("put rm %p ref %d\n", rm, refcount_read(&rm->m_refcount));
rdsdebug("addref rm %p ref %d\n", rm, refcount_read(&rm->m_refcount));
rdsdebug("bytes %lu ret %d %p %u %u\n", bytes, ret,
rdsdebug("cpu %u\n", cpu);
rdsdebug("RDS: destroy mr key is %x refcnt %u\n",
rdsdebug("RDS: get_mr addr %llx len %llu nr_pages %u\n",
rdsdebug("RDS: trans_private nents is %u\n", nents);
rdsdebug("RDS: get_mr put_user key is %x cookie_addr %p\n",
rdsdebug("RDS: get_mr key is %x\n", mr->r_key);
rdsdebug("RDS: rdma prepare nr_local %llu rva %llx rkey %x\n",
rdsdebug("get_mr ret %d %p\"", ret,
rdsdebug("Need odp; local_odp_mr %p trans_private %p\n",
rdsdebug("RDS: nr_bytes %u nr %u iov->bytes %llu iov->addr %llx\n",
rdsdebug("RDS: sg->offset %x sg->len %x iov->addr %llx iov->bytes %llu\n",
rdsdebug("RDS nr_bytes %u remote_bytes %u do not match\n",
rdsdebug("Connection rejected: %s\n",
rdsdebug("DISCONNECT event - dropping connection "
rdsdebug("id %p event %u (%s) handling ret %d\n", cm_id, event->event,
rdsdebug("cm %p listening on port %u\n", cm_id, RDS_PORT);
rdsdebug("Cannot set up IPv6 RDMA listener\n");
rdsdebug("cm %p\n", rds_rdma_listen_id);
rdsdebug("cm %p\n", rds6_rdma_listen_id);
rdsdebug("conn %p id %p handling event %u (%s)\n", conn, cm_id,
void rdsdebug(char *fmt, ...)
rdsdebug("rs %p (%pI6c:%u) recv bytes %d buf %d "
rdsdebug("conn %p next %llu inc %p seq %llu len %u sport %u dport %u "
rdsdebug("ignore ping with 0 sport from %pI6c\n",
rdsdebug("adding inc %p to rs %p's recv queue\n", inc, rs);
rdsdebug("inc %p rs %p still %d dropped %d\n", inc, rs, ret, drop);
rdsdebug("size %zu flags 0x%x timeo %ld\n", size, msg_flags, timeo);
rdsdebug("recvmsg woke inc %p timeo %ld\n", inc,
rdsdebug("copying inc %p from %pI6c:%u to user\n", inc,
rdsdebug("addref inc %p ref %d\n", inc, refcount_read(&inc->i_refcount));
rdsdebug("put inc %p ref %d\n", inc, refcount_read(&inc->i_refcount));
rdsdebug("sendmsg woke queued %d timeo %ld\n", queued, timeo);
rdsdebug("queued msg %p len %d, rs %p bytes %d seq %llu\n",
rdsdebug("restoring sock %p callbacks from tc %p\n", sock, tc);
rdsdebug("setting sock %p callbacks to tc %p\n", sock, tc);
rdsdebug("freeing tc %p\n", tc);
rdsdebug("rds_conn_path [%d] tc %p\n", i,
rdsdebug("bind failed with %d at address %pI6c\n",
rdsdebug("connect to address %pI6c returned %d\n", &conn->c_faddr, ret);
rdsdebug("shutting down conn %p tc %p sock %p\n",
rdsdebug("sock %p state_change to %d\n", tc->t_sock, sk->sk_state);
rdsdebug("accepted family %d tcp %pI6c:%u -> %pI6c:%u\n",
rdsdebug("listen data ready sk %p\n", sk);
rdsdebug("could not create %s listener socket: %d\n",
rdsdebug("could not bind %s listener socket: %d\n",
rdsdebug("tcp data tc %p skb %p offset %u len %zu\n", tc, skb, offset,
rdsdebug("allocated tinc %p\n", tinc);
rdsdebug("copying %zu header from skb %p\n", to_copy,
rdsdebug("skb %p data %p len %d off %u to_copy %zu -> "
rdsdebug("returning len %zu left %zu skb len %d rx queue depth %d\n",
rdsdebug("tcp_read_sock for tc %p gfp 0x%x returned %d\n", tc, gfp,
rdsdebug("recv worker path [%d] tc %p sock %p\n",
rdsdebug("data ready sk %p\n", sk);
rdsdebug("purging tinc %p inc %p\n", tinc, inc);
rdsdebug("freeing tinc %p inc %p\n", tinc, inc);
rdsdebug("tcp sendpage %p:%u:%u ret %d\n", (void *)sg_page(&rm->data.op_sg[sg]),
rdsdebug("write_space for tc %p\n", tc);
rdsdebug("tcp una %u\n", rds_tcp_snd_una(tc));
rdsdebug("rm %p tcp nxt %u ack_seq %llu\n",
rdsdebug("conn %p for %pI6c to %pI6c reconnect jiffies %lu\n",
rdsdebug("%lu delay %lu ceil conn %p for %pI6c -> %pI6c\n",
rdsdebug("conn %p for %pI6c to %pI6c dispatched, ret %d\n",
rdsdebug("conn %p ret %d\n", cp->cp_conn, ret);
rdsdebug("conn %p ret %d\n", cp->cp_conn, ret);
rdsdebug("conn %p for %pI6c to %pI6c complete\n",