summaryrefslogtreecommitdiff
path: root/include/linux/qed
diff options
context:
space:
mode:
authorRam Amrani <Ram.Amrani@cavium.com>2017-04-03 12:21:13 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-04 05:16:37 +0300
commitf9dc4d1f0d6f75c102ee13c0a939d9ae880a3c1e (patch)
tree145c16efd429fda35b7646c89df8ed2edd290ae2 /include/linux/qed
parent5f8cb033f4c814760c9f7f2345278111d06afe47 (diff)
downloadlinux-f9dc4d1f0d6f75c102ee13c0a939d9ae880a3c1e.tar.xz
qed: Manage with less memory regions for RoCE
It's possible some configurations would prevent driver from utilizing all the Memory Regions due to a lack of ILT lines. In such a case, calculate how many memory regions would have to be dropped due to limit, and manage without those. Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed')
-rw-r--r--include/linux/qed/qed_if.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/qed/qed_if.h b/include/linux/qed/qed_if.h
index 8e0065c52857..625f80f08f91 100644
--- a/include/linux/qed/qed_if.h
+++ b/include/linux/qed/qed_if.h
@@ -263,7 +263,6 @@ struct qed_rdma_pf_params {
* the doorbell BAR).
*/
u32 min_dpis; /* number of requested DPIs */
- u32 num_mrs; /* number of requested memory regions */
u32 num_qps; /* number of requested Queue Pairs */
u32 num_srqs; /* number of requested SRQ */
u8 roce_edpm_mode; /* see QED_ROCE_EDPM_MODE_ENABLE */