mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
smb: client: make use of smbdirect_socket.rdma.legacy_iwarp
Currently it's write only for the client, but it will likely be use for debugging later. Cc: Steve French <smfrench@gmail.com> Cc: Tom Talpey <tom@talpey.com> Cc: Long Li <longli@microsoft.com> Cc: linux-cifs@vger.kernel.org Cc: samba-technical@lists.samba.org Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
dd53b45fc8
commit
ea5a4e31ab
|
|
@ -318,7 +318,7 @@ static int smbd_conn_upcall(
|
|||
ird32 = min_t(u32, ird32, U8_MAX);
|
||||
ord32 = min_t(u32, ord32, U8_MAX);
|
||||
|
||||
info->legacy_iwarp = true;
|
||||
sc->rdma.legacy_iwarp = true;
|
||||
peer_initiator_depth = (u8)ird32;
|
||||
peer_responder_resources = (u8)ord32;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@ struct smbd_connection {
|
|||
int protocol;
|
||||
|
||||
/* Memory registrations */
|
||||
/* Maximum number of RDMA read/write outstanding on this connection */
|
||||
bool legacy_iwarp;
|
||||
/* Maximum number of pages in a single RDMA write/read on this connection */
|
||||
int max_frmr_depth;
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user