bnxt_en: add debugfs support for DIM
authorAndy Gospodarek <gospo@broadcom.com>
Thu, 26 Apr 2018 21:44:40 +0000 (17:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 18:47:30 +0000 (14:47 -0400)
commitcabfb09d87bd7980cb4e39bd2ce679a788eb7e7a
tree9f6300d1f02c2aa8a79d903bbbffac656b7441dc
parent9751e8e714872aa650b030e52a9fafbb694a3714
bnxt_en: add debugfs support for DIM

This adds debugfs support for bnxt_en with the purpose of allowing users
to examine the current DIM profile in use for each receive queue.  This
was instrumental in debugging issues found with DIM and ensuring that
the profiles we expect to use are the profiles being used.

Signed-off-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/Makefile
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c [new file with mode: 0644]
drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.h [new file with mode: 0644]