bnxt_en: Display function level rx/tx_discard_pkts via ethtool
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Thu, 26 Apr 2018 21:44:36 +0000 (17:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 18:47:29 +0000 (14:47 -0400)
commit20c1d28e106c0b526ae015fcac8e1e254bff091c
tree7072022fa8b2764b9714a70058739393baac2028
parent2727c888f2f8bef071e9a07d6e2f018840d0a834
bnxt_en: Display function level rx/tx_discard_pkts via ethtool

Add counters to display sum of rx/tx_discard_pkts of all rings as
function level statistics via ethtool.

Signed-off-by: Vasundhara Volam <vasundhara-v.volam@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/bnxt_ethtool.c