]> git.baikalelectronics.ru Git - kernel.git/commit
Handle variable number of SGEs in client smbdirect send.
authorTom Talpey <tom@talpey.com>
Fri, 23 Sep 2022 21:53:59 +0000 (21:53 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 5 Oct 2022 06:30:44 +0000 (01:30 -0500)
commitf16f0f123b568971e60f7c0c7fe8a47d55b3909a
treea00d09623b3c94c3fd2402ce64eb26c03d0b1fc1
parent5456188128070e2c1ba71ff39c97e2e44bcca735
Handle variable number of SGEs in client smbdirect send.

If/when an outgoing request contains more scatter/gather segments
than can be mapped in a single RDMA send work request, use smbdirect
fragments to send it in multiple packets.

Acked-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smbdirect.c