qed: fix dump of context data
Currently when dumping a context data only word number '1' is read for the entire context. Fixes: c965db444629 ("qed: Add support for debug data collection") Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
60cfe1eacc
commit
ace17c3692
@ -2956,7 +2956,7 @@ static u32 qed_grc_dump_ctx_data(struct qed_hwfn *p_hwfn,
|
||||
qed_wr(p_hwfn,
|
||||
p_ptt,
|
||||
s_storm_defs[storm_id].cm_ctx_wr_addr,
|
||||
BIT(9) | lid);
|
||||
(i << 9) | lid);
|
||||
*(dump_buf + offset) = qed_rd(p_hwfn,
|
||||
p_ptt,
|
||||
rd_reg_addr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user