mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
smb: smbdirect: add SMBDIRECT_RECV_IO_MAX_SGE
This will allow the client and server specific defines to be replaced. Cc: Steve French <smfrench@gmail.com> Cc: Tom Talpey <tom@talpey.com> Cc: Long Li <longli@microsoft.com> Cc: Namjae Jeon <linkinjeon@kernel.org> Cc: linux-cifs@vger.kernel.org Cc: samba-technical@lists.samba.org Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
b126645b79
commit
3515aa6e43
|
|
@ -92,6 +92,13 @@ struct smbdirect_socket {
|
|||
struct smbdirect_recv_io {
|
||||
struct smbdirect_socket *socket;
|
||||
struct ib_cqe cqe;
|
||||
|
||||
/*
|
||||
* For now we only use a single SGE
|
||||
* as we have just one large buffer
|
||||
* per posted recv.
|
||||
*/
|
||||
#define SMBDIRECT_RECV_IO_MAX_SGE 1
|
||||
struct ib_sge sge;
|
||||
|
||||
/* Link to free or reassembly list */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user