From: Valentine Fatiev <valentinef@nvidia.com>
Subject: [PATCH] BACKPORT: drivers/infiniband/ulp/srp/ib_srp.h

Change-Id: Id96e4698e422359a79b795cabaa47fe152fb26ab
---
 drivers/infiniband/ulp/srp/ib_srp.h | 6 ++++++
 1 file changed, 6 insertions(+)

--- a/drivers/infiniband/ulp/srp/ib_srp.h
+++ b/drivers/infiniband/ulp/srp/ib_srp.h
@@ -184,6 +184,9 @@ struct srp_rdma_ch {
 
 	struct srp_iu	      **tx_ring;
 	struct srp_iu	      **rx_ring;
+#ifndef HAVE_SCSI_HOST_TEMPLATE_INIT_CMD_PRIV
+	struct srp_request     *req_ring;
+#endif
 	int			comp_vector;
 
 	u64			tsk_mgmt_tag;
@@ -229,6 +232,9 @@ struct srp_target_port {
 	int			mr_pool_size;
 	int			mr_per_cmd;
 	int			queue_size;
+#ifndef HAVE_SCSI_HOST_TEMPLATE_INIT_CMD_PRIV
+	int			req_ring_size;
+#endif
 	int			comp_vector;
 	int			tl_retry_count;
 
