diff options
author | Ram Amrani <Ram.Amrani@cavium.com> | 2017-04-30 11:49:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-01 18:42:15 +0300 |
commit | 20b1bd96e9f4feeffc9206284df3c6a4438e9ca8 (patch) | |
tree | e4281b8f40dcb0b027b79120aacb6d73d3d4cb6f /include/linux/qed | |
parent | 107392b75ffc96a2418d5382e52b08c598575e1b (diff) | |
download | linux-20b1bd96e9f4feeffc9206284df3c6a4438e9ca8.tar.xz |
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/linux/qed')
-rw-r--r-- | include/linux/qed/qed_roce_if.h | 2 |
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 { |