summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRam Amrani <Ram.Amrani@cavium.com>2017-04-30 10:49:10 +0200
committerDavid S. Miller <davem@davemloft.net>2017-05-01 17:42:15 +0200
commit20b1bd96e9f4feeffc9206284df3c6a4438e9ca8 (patch)
treee4281b8f40dcb0b027b79120aacb6d73d3d4cb6f /include
parentqed: align DPI configuration to HW requirements (diff)
downloadlinux-20b1bd96e9f4feeffc9206284df3c6a4438e9ca8.tar.xz
linux-20b1bd96e9f4feeffc9206284df3c6a4438e9ca8.zip
qed: output the DPM status and WID count
Output to the RDMA driver whether DPM mode is enabled or disabled in the HW and if so what is the number of WIDs it supports 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')
-rw-r--r--include/linux/qed/qed_roce_if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/qed/qed_roce_if.h b/include/linux/qed/qed_roce_if.h
index f742d4312c9d..cbb2ff0ce4bc 100644
--- a/include/linux/qed/qed_roce_if.h
+++ b/include/linux/qed/qed_roce_if.h
@@ -240,6 +240,7 @@ struct qed_rdma_add_user_out_params {
u64 dpi_addr;
u64 dpi_phys_addr;
u32 dpi_size;
+ u16 wid_count;
};
enum roce_mode {
@@ -533,6 +534,7 @@ enum qed_rdma_type {
struct qed_dev_rdma_info {
struct qed_dev_info common;
enum qed_rdma_type rdma_type;
+ u8 user_dpm_enabled;
};
struct qed_rdma_ops {