cifs: smbd: Check and extend sender credits in interrupt context
authorLong Li <longli@microsoft.com>
Fri, 27 Mar 2020 05:33:01 +0000 (22:33 -0700)
committerSteve French <stfrench@microsoft.com>
Sun, 29 Mar 2020 21:42:36 +0000 (16:42 -0500)
commit4ebb8795a746b2a3dbab4f12e4a1227603441a81
tree9c19030680139bea49552202f30a20857ba8907d
parentf7950cb05d060b00db5e6102261417cef26c5789
cifs: smbd: Check and extend sender credits in interrupt context

When a RDMA packet is received and server is extending send credits, we should
check and unblock senders immediately in IRQ context. Doing it in a worker
queue causes unnecessary delay and doesn't save much CPU on the receive path.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smbdirect.c
fs/cifs/smbdirect.h