]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57aece0f11d7049c26ab4b1b4c218c50242d7cff
tree9f6300d1f02c2aa8a79d903bbbffac656b7441dc
parentfc80c3c9ccb731df4befa8bfdd57cbb838252e0e
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]