• C
    svcrdma: Break up dprintk format in svc_rdma_accept() · 07257450
    Chuck Lever 提交于
    The current code results in:
    
    Nov  7 14:50:19 klimt kernel: svcrdma: newxprt->sc_cm_id=ffff88085590c800,
     newxprt->sc_pd=ffff880852a7ce00#012    cm_id->device=ffff88084dd20000,
     sc_pd->device=ffff88084dd20000#012    cap.max_send_wr = 272#012
     cap.max_recv_wr = 34#012    cap.max_send_sge = 32#012
     cap.max_recv_sge = 32
    Nov  7 14:50:19 klimt kernel: svcrdma: new connection ffff880855908000
     accepted with the following attributes:#12    local_ip        :
     10.0.0.5#012    local_port#011     : 20049#012    remote_ip       :
     10.0.0.2#012    remote_port     : 59909#012    max_sge         : 32#012
     max_sge_rd      : 30#012    sq_depth        : 272#012    max_requests    :
     32#012    ord             : 16
    
    Split up the output over multiple dprintks and take the opportunity
    to fix the display of IPv6 addresses.
    Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
    07257450
svc_rdma_transport.c 36.8 KB