A mixed bag of fixes and clean ups, the important ones being: - Ensure credit grant is reduced to 1 after a reconnect - Delete MRs instead of recovering them - Support sending RPCs with both Write and Reply chunks - Modernize the connect logic Details can be found in the patch descriptions. --- Chuck Lever (22): xprtrdma: Reset credit grant properly after a disconnect xprtrdma: Create more MRs at a time xprtrdma: Explicitly resetting MRs is no longer necessary xprtrdma: Name MR trace events consistently xprtrdma: Refactor chunk encoding xprtrdma: Refactor chunktype handling xprtrdma: Support Write+Reply Replies sunrpc: Fix connect metrics sunrpc: Report connect_time in seconds xprtrdma: Rename rpcrdma_conn_upcall xprtrdma: Conventional variable names in rpcrdma_conn_upcall xprtrdma: Eliminate "connstate" variable from rpcrdma_conn_upcall() xprtrdma: Re-organize the switch() in rpcrdma_conn_upcall xprtrdma: Simplify RPC wake-ups on connect xprtrdma: Rename rpcrdma_qp_async_error_upcall xprtrdma: Remove memory address of "ep" from an error message svcrdma: Don't disable BH's in backchannel xprtrdma: Move rb_flags initialization xprtrdma: Report when there were zero posted Receives xprtrdma: Add documenting comments xprtrdma: Clean up xprt_rdma_disconnect_inject xprtrdma: Squelch a sparse warning include/trace/events/rpcrdma.h | 40 ++++---- net/sunrpc/xprt.c | 10 +- net/sunrpc/xprtrdma/backchannel.c | 16 ++- net/sunrpc/xprtrdma/fmr_ops.c | 131 ++++++++++++--------------- net/sunrpc/xprtrdma/frwr_ops.c | 137 +++++++++++----------------- net/sunrpc/xprtrdma/rpc_rdma.c | 168 +++++++++++++++++++---------------- net/sunrpc/xprtrdma/transport.c | 103 +++++++++++---------- net/sunrpc/xprtrdma/verbs.c | 178 +++++++++++++++++++------------------ net/sunrpc/xprtrdma/xprt_rdma.h | 23 ++--- net/sunrpc/xprtsock.c | 14 ++- 10 files changed, 400 insertions(+), 420 deletions(-) -- Chuck Lever