bnxt_en: Allow the user to set ethtool stats-block-usecs to 0.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 24 Jul 2017 16:34:24 +0000 (12:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 00:29:58 +0000 (17:29 -0700)
commitadcc331e42e639ea44ac3c746db6c7207c3f69c0
tree754594cffdf19f9e696dfb12f5e7ca8cb0408280
parent5c8227d0d3b1eb1ad8f98d0b6dc619d70f2cfa04
bnxt_en: Allow the user to set ethtool stats-block-usecs to 0.

For debugging purpose, it is sometimes useful to disable periodic
port statistics updates, so that the firmware logs will not be
filled with statistics update messages.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c