summaryrefslogtreecommitdiffstats
path: root/include/linux/qed
diff options
context:
space:
mode:
authorMintz, Yuval <Yuval.Mintz@cavium.com>2017-04-06 15:58:33 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-06 14:26:31 -0700
commit08737a3fa30a4c6c10b4c4b682125c7d3c494094 (patch)
tree695c699ae414af9afaf7adbea151ce641c570c67 /include/linux/qed
parent3ddc48dc1953c364ec0ac4c21a75e8063fddb53e (diff)
downloadlinux-08737a3fa30a4c6c10b4c4b682125c7d3c494094.tar.gz
linux-08737a3fa30a4c6c10b4c4b682125c7d3c494094.tar.bz2
linux-08737a3fa30a4c6c10b4c4b682125c7d3c494094.zip
qed: Inform qedi the number of possible CQs
Now that management firmware is capable of telling us the number of CQs available for a given PF, qed needs to communicate the number to qedi so it would know have many to use. 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_iscsi_if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/qed/qed_iscsi_if.h b/include/linux/qed/qed_iscsi_if.h
index f70bb81b8b6a..3414649133d2 100644
--- a/include/linux/qed/qed_iscsi_if.h
+++ b/include/linux/qed/qed_iscsi_if.h
@@ -67,6 +67,8 @@ struct qed_dev_iscsi_info {
void __iomem *primary_dbq_rq_addr;
void __iomem *secondary_bdq_rq_addr;
+
+ u8 num_cqs;
};
struct qed_iscsi_id_params {