cxgb4: Add debugfs entry to enable backdoor access
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 21 Jul 2015 17:09:40 +0000 (22:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2015 05:33:06 +0000 (22:33 -0700)
commit0b2c2a931a051e75f9df429b520bb2c2f2bb056b
tree74593128879ad6ff73ec689e7906e03dfa471395
parent01faef2cebae02685e2bcfc9bbee8416d5ec19fc
cxgb4: Add debugfs entry to enable backdoor access

Add debugfs entry 'use_backdoor' to enable backdoor access to read sge
context. By default, we read sge context's via firmware. In case of FW
issues, one can enable backdoor access via debugfs to dump sge context
for debugging purpose.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c