mirror of
https://github.com/torvalds/linux.git
synced 2026-08-02 04:50:05 +02:00
smb: smbdirect: introduce struct smbdirect_send_batch
This will replace struct smb_direct_send_ctx in the server and allow us move code to the common smbdirect layer soon. Cc: Steve French <smfrench@gmail.com> Cc: Tom Talpey <tom@talpey.com> Cc: Long Li <longli@microsoft.com> Acked-by: 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
2191b3471d
commit
cce93d2d0c
|
|
@ -210,6 +210,23 @@ struct smbdirect_send_io {
|
|||
u8 packet[];
|
||||
};
|
||||
|
||||
struct smbdirect_send_batch {
|
||||
/*
|
||||
* List of smbdirect_send_io messages
|
||||
*/
|
||||
struct list_head msg_list;
|
||||
/*
|
||||
* Number of list entries
|
||||
*/
|
||||
size_t wr_cnt;
|
||||
|
||||
/*
|
||||
* Possible remote key invalidation state
|
||||
*/
|
||||
bool need_invalidate_rkey;
|
||||
u32 remote_key;
|
||||
};
|
||||
|
||||
struct smbdirect_recv_io {
|
||||
struct smbdirect_socket *socket;
|
||||
struct ib_cqe cqe;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user