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)
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