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>
This commit is contained in:

committed by
David S. Miller

parent
107392b75f
commit
20b1bd96e9
@@ -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 {
|
||||
|
Reference in New Issue
Block a user