Lines Matching defs:smb_direct_transport
96 struct smb_direct_transport { struct
97 struct ksmbd_transport transport;
99 enum smb_direct_status status;
100 bool full_packet_received;
101 wait_queue_head_t wait_status;
103 struct rdma_cm_id *cm_id;
104 struct ib_cq *send_cq;
105 struct ib_cq *recv_cq;
106 struct ib_pd *pd;
107 struct ib_qp *qp;
109 int max_send_size;
110 int max_recv_size;
111 int max_fragmented_send_size;
112 int max_fragmented_recv_size;
113 int max_rdma_rw_size;
115 spinlock_t reassembly_queue_lock;
116 struct list_head reassembly_queue;
117 int reassembly_data_length;
118 int reassembly_queue_length;
119 int first_entry_offset;
120 wait_queue_head_t wait_reassembly_queue;
122 spinlock_t receive_credit_lock;
123 int recv_credits;
124 int count_avail_recvmsg;
125 int recv_credit_max;
126 int recv_credit_target;
128 spinlock_t recvmsg_queue_lock;
129 struct list_head recvmsg_queue;
131 spinlock_t empty_recvmsg_queue_lock;
132 struct list_head empty_recvmsg_queue;
134 int send_credit_target;
135 atomic_t send_credits;
136 spinlock_t lock_new_recv_credits;
137 int new_recv_credits;
138 int max_rw_credits;
139 int pages_per_rw_credit;
140 atomic_t rw_credits;
142 wait_queue_head_t wait_send_credits;
143 wait_queue_head_t wait_rw_credits;
167 static struct ksmbd_transport_ops ksmbd_smb_direct_transport_ops; argument
177 struct smb_direct_transport *transport; argument