We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b5964a commit 92ac696Copy full SHA for 92ac696
fs/smb/common/smbdirect/smbdirect_socket.h
@@ -89,6 +89,30 @@ struct smbdirect_socket {
89
} recv_io;
90
};
91
92
+struct smbdirect_send_io {
93
+ struct smbdirect_socket *socket;
94
+ struct ib_cqe cqe;
95
+
96
+ /*
97
+ * The SGE entries for this work request
98
+ *
99
+ * The first points to the packet header
100
+ */
101
+#define SMBDIRECT_SEND_IO_MAX_SGE 6
102
+ size_t num_sge;
103
+ struct ib_sge sge[SMBDIRECT_SEND_IO_MAX_SGE];
104
105
106
+ * Link to the list of sibling smbdirect_send_io
107
+ * messages.
108
109
+ struct list_head sibling_list;
110
+ struct ib_send_wr wr;
111
112
+ /* SMBD packet header follows this structure */
113
+ u8 packet[];
114
+};
115
116
struct smbdirect_recv_io {
117
struct smbdirect_socket *socket;
118
struct ib_cqe cqe;
0 commit comments