Rahul Lakkireddy
68ddc82aff
cxgb4: collect hardware queue descriptors
...
Collect descriptors of all ULD and LLD hardware queues managed
by LLD.
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 >
2018-09-03 22:10:37 -07:00
Rahul Lakkireddy
6078ab196b
cxgb4: collect PCIe configuration logs
...
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 >
2017-12-08 14:31:50 -05:00
Rahul Lakkireddy
4db0401f8a
cxgb4: collect HMA memory dump
...
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 >
2017-12-08 14:31:50 -05:00
Rahul Lakkireddy
a1c69520f7
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 >
2017-12-08 14:31:50 -05:00
Rahul Lakkireddy
123e25c4a5
cxgb4: collect on-chip memory information
...
Collect memory layout of various on-chip memory regions. Move code
for collecting on-chip memory information to cudbg_lib.c and update
cxgb4_debugfs.c to use the common function. Also include
cudbg_entity.h before cudbg_lib.h to avoid adding cudbg entity
structure forward declarations in cudbg_lib.h.
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 >
2017-12-08 14:31:49 -05:00
Rahul Lakkireddy
9e5c598c72
cxgb4: collect SGE queue context dump
...
Collect SGE freelist queue and congestion manager contexts.
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 >
2017-11-14 16:14:07 +09:00
Rahul Lakkireddy
03e98b9118
cxgb4: collect LE-TCAM dump
...
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 >
2017-11-14 16:14:07 +09:00
Rahul Lakkireddy
6f92a6544f
cxgb4: collect hardware misc dumps
...
Collect path mtu, PM stats, TP clock info, congestion control, and VPD
data 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 >
2017-10-27 23:48:30 +09:00
Rahul Lakkireddy
08c4901bfe
cxgb4: collect hardware scheduler dumps
...
Collect hardware TX traffic scheduler and pace tables.
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 >
2017-10-27 23:48:30 +09:00
Rahul Lakkireddy
db8cd7ce20
cxgb4: collect PBT tables dump
...
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 >
2017-10-27 23:48:30 +09:00
Rahul Lakkireddy
b289593e13
cxgb4: collect MPS-TCAM dump
...
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 >
2017-10-27 23:48:29 +09:00
Rahul Lakkireddy
9030e49897
cxgb4: collect TID info dump
...
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 >
2017-10-27 23:48:29 +09:00
Rahul Lakkireddy
28b445561f
cxgb4: collect RSS dumps
...
Collect RSS table and RSS VF configuration 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 >
2017-10-27 23:48:29 +09:00
Rahul Lakkireddy
3044d0fb01
cxgb4: collect CIM queue configuration dump
...
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 >
2017-10-27 23:48:29 +09:00
Rahul Lakkireddy
27887bc7cb
cxgb4: collect hardware LA dumps
...
Collect CIM, CIM_MA, ULP_RX, TP, CIM_PIF, and ULP_TX logic analyzer
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 >
2017-10-27 23:48:29 +09:00
Rahul Lakkireddy
acfdf7eabe
cxgb4: fix overflow in collecting IBQ and OBQ dump
...
Destination buffer already has offset added. So, don't add offset
again.
Fetch actual size of configured OBQ from hardware, instead of using
hardcoded value.
Fixes: 7c075ce221 ("cxgb4: collect IBQ and OBQ 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 >
2017-10-26 17:31:28 +09:00
Rahul Lakkireddy
7c075ce221
cxgb4: collect IBQ and OBQ 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 >
2017-10-14 18:35:14 -07:00
Rahul Lakkireddy
270d39bf32
cxgb4: collect hardware module dumps
...
Collect SGE, PCIE, PM, UP CIM, MA and HMA 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 >
2017-10-14 18:35:14 -07:00
Rahul Lakkireddy
4359cf3368
cxgb4: collect TP dump
...
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 >
2017-10-14 18:35:14 -07:00
Rahul Lakkireddy
844d1b6f0e
cxgb4: collect firmware mbox and device log dump
...
Collect firmware mbox and device logs before collecting the rest of
the hardware dumps to snap the firmware state before the mailbox logs
are updated by other hardware 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 >
2017-10-14 18:35:14 -07:00
Rahul Lakkireddy
b33af022e5
cxgb4: collect on-chip memory dump
...
Collect EDC0 and EDC1 memory dump.
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 >
2017-10-14 18:35:14 -07:00
Rahul Lakkireddy
a7975a2f9a
cxgb4: collect register dump
...
Add base to collect dump entities. Collect register dump and
update template header accordingly.
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 >
2017-10-14 18:35:14 -07:00