diff options
author | Vasundhara Volam <vasundhara.volam@emulex.com> | 2014-09-02 00:26:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-02 15:46:00 -0400 |
commit | d3de154071c14549c4b99d06a063bf3761e482c3 (patch) | |
tree | 24c384126970f6bc7fea431f48d49f81338672b6 /drivers/net/ethernet/emulex/benet/be.h | |
parent | 512bb8a244d2854953c65c0b36b0d0812fced7d5 (diff) |
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.h | 1 |
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 { | |||
323 | struct be_drv_stats { | 323 | struct be_drv_stats { |
324 | u32 be_on_die_temperature; | 324 | u32 be_on_die_temperature; |
325 | u32 eth_red_drops; | 325 | u32 eth_red_drops; |
326 | u32 dma_map_errors; | ||
326 | u32 rx_drops_no_pbuf; | 327 | u32 rx_drops_no_pbuf; |
327 | u32 rx_drops_no_txpb; | 328 | u32 rx_drops_no_txpb; |
328 | u32 rx_drops_no_erx_descr; | 329 | u32 rx_drops_no_erx_descr; |