Home
last modified time | relevance | path

Searched hist:"17 d47f93bc69cc629aa6a20c0ac7b20c9965c116" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/sunrpc/xprtrdma/
H A Dbackchannel.cdiff 17d47f93bc69cc629aa6a20c0ac7b20c9965c116 Mon Aug 19 17:50:16 CDT 2019 Chuck Lever <chuck.lever@oracle.com> xprtrdma: Fix bc_max_slots return value

For the moment the returned value just happens to be correct because
the current backchannel server implementation does not vary the
number of credits it offers. The spec does permit this value to
change during the lifetime of a connection, however.

The actual maximum is fixed for all RPC/RDMA transports, because
each transport instance has to pre-allocate the resources for
processing BC requests. That's the value that should be returned.

Fixes: 7402a4fedc2b ("SUNRPC: Fix up backchannel slot table ... ")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>