Lines Matching refs:reply
127 struct c2wr_rnic_query_rep *reply; in c2_rnic_query() local
150 reply = in c2_rnic_query()
152 if (!reply) in c2_rnic_query()
155 err = c2_errno(reply); in c2_rnic_query()
160 ((u64)be32_to_cpu(reply->fw_ver_major) << 32) | in c2_rnic_query()
161 ((be32_to_cpu(reply->fw_ver_minor) & 0xFFFF) << 16) | in c2_rnic_query()
162 (be32_to_cpu(reply->fw_ver_patch) & 0xFFFF); in c2_rnic_query()
166 props->vendor_id = be32_to_cpu(reply->vendor_id); in c2_rnic_query()
167 props->vendor_part_id = be32_to_cpu(reply->part_number); in c2_rnic_query()
168 props->hw_ver = be32_to_cpu(reply->hw_version); in c2_rnic_query()
169 props->max_qp = be32_to_cpu(reply->max_qps); in c2_rnic_query()
170 props->max_qp_wr = be32_to_cpu(reply->max_qp_depth); in c2_rnic_query()
174 props->max_cq = be32_to_cpu(reply->max_cqs); in c2_rnic_query()
175 props->max_cqe = be32_to_cpu(reply->max_cq_depth); in c2_rnic_query()
176 props->max_mr = be32_to_cpu(reply->max_mrs); in c2_rnic_query()
177 props->max_pd = be32_to_cpu(reply->max_pds); in c2_rnic_query()
178 props->max_qp_rd_atom = be32_to_cpu(reply->max_qp_ird); in c2_rnic_query()
180 props->max_res_rd_atom = be32_to_cpu(reply->max_global_ird); in c2_rnic_query()
181 props->max_qp_init_rd_atom = be32_to_cpu(reply->max_qp_ord); in c2_rnic_query()
186 props->max_mw = be32_to_cpu(reply->max_mws); in c2_rnic_query()
202 vq_repbuf_free(c2dev, reply); in c2_rnic_query()
216 struct c2wr_rnic_setconfig_rep *reply; in c2_add_addr() local
254 reply = in c2_add_addr()
256 if (!reply) { in c2_add_addr()
261 err = c2_errno(reply); in c2_add_addr()
262 vq_repbuf_free(c2dev, reply); in c2_add_addr()
278 struct c2wr_rnic_setconfig_rep *reply; in c2_del_addr() local
316 reply = in c2_del_addr()
318 if (!reply) { in c2_del_addr()
323 err = c2_errno(reply); in c2_del_addr()
324 vq_repbuf_free(c2dev, reply); in c2_del_addr()
341 struct c2wr_rnic_open_rep *reply; in c2_rnic_open() local
369 reply = (struct c2wr_rnic_open_rep *) (unsigned long) (vq_req->reply_msg); in c2_rnic_open()
370 if (!reply) { in c2_rnic_open()
375 if ((err = c2_errno(reply)) != 0) { in c2_rnic_open()
379 c2dev->adapter_handle = reply->rnic_handle; in c2_rnic_open()
382 vq_repbuf_free(c2dev, reply); in c2_rnic_open()
395 struct c2wr_rnic_close_rep *reply; in c2_rnic_close() local
421 reply = (struct c2wr_rnic_close_rep *) (unsigned long) (vq_req->reply_msg); in c2_rnic_close()
422 if (!reply) { in c2_rnic_close()
427 if ((err = c2_errno(reply)) != 0) { in c2_rnic_close()
434 vq_repbuf_free(c2dev, reply); in c2_rnic_close()