File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,20 @@ struct smbdirect_socket {
39
39
40
40
struct smbdirect_socket_parameters parameters ;
41
41
42
+ /*
43
+ * The state for posted send buffers
44
+ */
45
+ struct {
46
+ /*
47
+ * Memory pools for preallocating
48
+ * smbdirect_send_io buffers
49
+ */
50
+ struct {
51
+ struct kmem_cache * cache ;
52
+ mempool_t * pool ;
53
+ } mem ;
54
+ } send_io ;
55
+
42
56
/*
43
57
* The state for posted receive buffers
44
58
*/
@@ -52,6 +66,15 @@ struct smbdirect_socket {
52
66
SMBDIRECT_EXPECT_DATA_TRANSFER = 3 ,
53
67
} expected ;
54
68
69
+ /*
70
+ * Memory pools for preallocating
71
+ * smbdirect_recv_io buffers
72
+ */
73
+ struct {
74
+ struct kmem_cache * cache ;
75
+ mempool_t * pool ;
76
+ } mem ;
77
+
55
78
/*
56
79
* The list of free smbdirect_recv_io
57
80
* structures
You can’t perform that action at this time.
0 commit comments