@@ -270,7 +270,7 @@ static void send_done(struct ib_cq *cq, struct ib_wc *wc)
270
270
struct smbd_request * request =
271
271
container_of (wc -> wr_cqe , struct smbd_request , cqe );
272
272
273
- log_rdma_send (INFO , "smbd_request %p completed wc->status=%d\n" ,
273
+ log_rdma_send (INFO , "smbd_request 0x %p completed wc->status=%d\n" ,
274
274
request , wc -> status );
275
275
276
276
if (wc -> status != IB_WC_SUCCESS || wc -> opcode != IB_WC_SEND ) {
@@ -448,7 +448,7 @@ static void recv_done(struct ib_cq *cq, struct ib_wc *wc)
448
448
struct smbd_connection * info = response -> info ;
449
449
int data_length = 0 ;
450
450
451
- log_rdma_recv (INFO , "response=%p type=%d wc status=%d wc opcode %d byte_len=%d pkey_index=%x \n" ,
451
+ log_rdma_recv (INFO , "response=0x %p type=%d wc status=%d wc opcode %d byte_len=%d pkey_index=%u \n" ,
452
452
response , response -> type , wc -> status , wc -> opcode ,
453
453
wc -> byte_len , wc -> pkey_index );
454
454
@@ -723,7 +723,7 @@ static int smbd_post_send_negotiate_req(struct smbd_connection *info)
723
723
send_wr .opcode = IB_WR_SEND ;
724
724
send_wr .send_flags = IB_SEND_SIGNALED ;
725
725
726
- log_rdma_send (INFO , "sge addr=%llx length=%x lkey=%x\n" ,
726
+ log_rdma_send (INFO , "sge addr=0x %llx length=%u lkey=0x %x\n" ,
727
727
request -> sge [0 ].addr ,
728
728
request -> sge [0 ].length , request -> sge [0 ].lkey );
729
729
@@ -792,7 +792,7 @@ static int smbd_post_send(struct smbd_connection *info,
792
792
793
793
for (i = 0 ; i < request -> num_sge ; i ++ ) {
794
794
log_rdma_send (INFO ,
795
- "rdma_request sge[%d] addr=%llu length=%u\n" ,
795
+ "rdma_request sge[%d] addr=0x%llx length=%u\n" ,
796
796
i , request -> sge [i ].addr , request -> sge [i ].length );
797
797
ib_dma_sync_single_for_device (
798
798
info -> id -> device ,
@@ -1079,7 +1079,7 @@ static int smbd_negotiate(struct smbd_connection *info)
1079
1079
1080
1080
response -> type = SMBD_NEGOTIATE_RESP ;
1081
1081
rc = smbd_post_recv (info , response );
1082
- log_rdma_event (INFO , "smbd_post_recv rc=%d iov.addr=%llx iov.length=%x iov.lkey=%x\n" ,
1082
+ log_rdma_event (INFO , "smbd_post_recv rc=%d iov.addr=0x %llx iov.length=%u iov.lkey=0x %x\n" ,
1083
1083
rc , response -> sge .addr ,
1084
1084
response -> sge .length , response -> sge .lkey );
1085
1085
if (rc )
@@ -1539,7 +1539,7 @@ static struct smbd_connection *_smbd_get_connection(
1539
1539
1540
1540
if (smbd_send_credit_target > info -> id -> device -> attrs .max_cqe ||
1541
1541
smbd_send_credit_target > info -> id -> device -> attrs .max_qp_wr ) {
1542
- log_rdma_event (ERR , "consider lowering send_credit_target = %d. Possible CQE overrun, device reporting max_cpe %d max_qp_wr %d\n" ,
1542
+ log_rdma_event (ERR , "consider lowering send_credit_target = %d. Possible CQE overrun, device reporting max_cqe %d max_qp_wr %d\n" ,
1543
1543
smbd_send_credit_target ,
1544
1544
info -> id -> device -> attrs .max_cqe ,
1545
1545
info -> id -> device -> attrs .max_qp_wr );
@@ -1548,7 +1548,7 @@ static struct smbd_connection *_smbd_get_connection(
1548
1548
1549
1549
if (smbd_receive_credit_max > info -> id -> device -> attrs .max_cqe ||
1550
1550
smbd_receive_credit_max > info -> id -> device -> attrs .max_qp_wr ) {
1551
- log_rdma_event (ERR , "consider lowering receive_credit_max = %d. Possible CQE overrun, device reporting max_cpe %d max_qp_wr %d\n" ,
1551
+ log_rdma_event (ERR , "consider lowering receive_credit_max = %d. Possible CQE overrun, device reporting max_cqe %d max_qp_wr %d\n" ,
1552
1552
smbd_receive_credit_max ,
1553
1553
info -> id -> device -> attrs .max_cqe ,
1554
1554
info -> id -> device -> attrs .max_qp_wr );
0 commit comments