summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be.h
diff options
context:
space:
mode:
authorVasundhara Volam <vasundhara.volam@emulex.com>2014-09-02 09:56:50 +0530
committerDavid S. Miller <davem@davemloft.net>2014-09-02 12:46:00 -0700
commitd3de154071c14549c4b99d06a063bf3761e482c3 (patch)
tree24c384126970f6bc7fea431f48d49f81338672b6 /drivers/net/ethernet/emulex/benet/be.h
parent512bb8a244d2854953c65c0b36b0d0812fced7d5 (diff)
downloadlinux-d3de154071c14549c4b99d06a063bf3761e482c3.tar.gz
linux-d3de154071c14549c4b99d06a063bf3761e482c3.tar.bz2
linux-d3de154071c14549c4b99d06a063bf3761e482c3.zip
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>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be.h')
-rw-r--r--drivers/net/ethernet/emulex/benet/be.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h
index d491ac614dcf..069bdda00c55 100644
--- a/drivers/net/ethernet/emulex/benet/be.h
+++ b/drivers/net/ethernet/emulex/benet/be.h
@@ -323,6 +323,7 @@ struct be_rx_obj {
struct be_drv_stats {
u32 be_on_die_temperature;
u32 eth_red_drops;
+ u32 dma_map_errors;
u32 rx_drops_no_pbuf;
u32 rx_drops_no_txpb;
u32 rx_drops_no_erx_descr;