diff options
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | 2017-12-08 07:18:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-08 22:31:50 +0300 |
commit | a1c69520f7851ce3ffa571df451c5ad31092f517 (patch) | |
tree | 1bf770d036af839669f9841103f79d11caf73f2e /drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h | |
parent | 123e25c4a5658be27f08ed0fb85ade34683e5dc7 (diff) | |
download | linux-a1c69520f7851ce3ffa571df451c5ad31092f517.tar.xz |
cxgb4: collect MC memory dump
Use meminfo to get base address and size of MC memory. Also use same
meminfo for EDC memory dumps.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h b/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h index eb4460c8583e..8bd3d49e712e 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h @@ -75,6 +75,12 @@ int cudbg_collect_edc0_meminfo(struct cudbg_init *pdbg_init, int cudbg_collect_edc1_meminfo(struct cudbg_init *pdbg_init, struct cudbg_buffer *dbg_buff, struct cudbg_error *cudbg_err); +int cudbg_collect_mc0_meminfo(struct cudbg_init *pdbg_init, + struct cudbg_buffer *dbg_buff, + struct cudbg_error *cudbg_err); +int cudbg_collect_mc1_meminfo(struct cudbg_init *pdbg_init, + struct cudbg_buffer *dbg_buff, + struct cudbg_error *cudbg_err); int cudbg_collect_rss(struct cudbg_init *pdbg_init, struct cudbg_buffer *dbg_buff, struct cudbg_error *cudbg_err); |