be2net: Add a dma_mapping_error counter in ethtool
authorVasundhara Volam <vasundhara.volam@emulex.com>
Tue, 2 Sep 2014 04:26:50 +0000 (09:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 19:46:00 +0000 (12:46 -0700)
commitd3de154071c14549c4b99d06a063bf3761e482c3
tree24c384126970f6bc7fea431f48d49f81338672b6
parent512bb8a244d2854953c65c0b36b0d0812fced7d5
be2net: Add a dma_mapping_error counter in ethtool

Add a dma_mapping_error counter to count the number of packets dropped
due to DMA mapping errors.

Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
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