]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt: count Tx drops
authorJakub Kicinski <kuba@kernel.org>
Thu, 12 Aug 2021 21:42:42 +0000 (14:42 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Aug 2021 17:26:17 +0000 (10:26 -0700)
commitf709fcee3b6ffb66d99965983ece3fa20e0ea1db
tree2bfc06ec4845c37ea7f0dc1bf1fb2b9c25225136
parent78ce35bf228e3f283b2f5bd0281789821a23259b
bnxt: count Tx drops

Drivers should count packets they are dropping.

Fixes: dfe047769e71 ("bnxt_en: New Broadcom ethernet driver.")
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c