]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: add a counter for pkts dropped in xmit path
authorSathya Perla <sathya.perla@emulex.com>
Tue, 1 Oct 2013 10:30:01 +0000 (16:00 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 16:45:52 +0000 (12:45 -0400)
commitf5ebe3b10b9fe78a0489bbc99bb3e0990e12c833
tree7adee253bbdef48df13bfd146873e6ea1bb748e9
parentc5890a649bd52c385e9e12ca26d4896a6e0153ae
be2net: add a counter for pkts dropped in xmit path

In the xmit path, the driver may drop some pkts due to reasons such as
DMA mapping errors, out of memory conditions or to protect HW from
unrecoverable errors. Add a counter in TX-stats for such drops.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_ethtool.c
drivers/net/ethernet/emulex/benet/be_main.c