summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qed/qed.h
diff options
context:
space:
mode:
authorRam Amrani <Ram.Amrani@cavium.com>2017-04-30 11:49:10 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-01 18:42:15 +0300
commit20b1bd96e9f4feeffc9206284df3c6a4438e9ca8 (patch)
treee4281b8f40dcb0b027b79120aacb6d73d3d4cb6f /drivers/net/ethernet/qlogic/qed/qed.h
parent107392b75ffc96a2418d5382e52b08c598575e1b (diff)
downloadlinux-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 'drivers/net/ethernet/qlogic/qed/qed.h')
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed.h b/drivers/net/ethernet/qlogic/qed/qed.h
index edf3b68bf935..2ab1aab7c3fe 100644
--- a/drivers/net/ethernet/qlogic/qed/qed.h
+++ b/drivers/net/ethernet/qlogic/qed/qed.h
@@ -526,6 +526,7 @@ struct qed_hwfn {
struct dbg_tools_data dbg_info;
/* PWM region specific data */
+ u16 wid_count;
u32 dpi_size;
u32 dpi_count;