diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2013-10-04 01:16:50 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-09 23:50:51 +0400 |
commit | 461ae37922ccc224b20c7cf20314eb4166d2494a (patch) | |
tree | a984bb6f5e0cb9e3281c65cbdd6acfa06d85317e /drivers/net/ethernet/emulex/benet/be.h | |
parent | 61000861e860baf5f21b8d2bcd784810bfb0ad06 (diff) | |
download | linux-461ae37922ccc224b20c7cf20314eb4166d2494a.tar.xz |
be2net: Display RoCE specific counters in ethtool -S
SkyHawk-R can support RoCE. Add code to display RoCE specific
counters maintained in hardware.
Signed-off-by: Ajit Khaparde <ajit.khaparde@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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h index add6d7a953c6..944e6be27c64 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h @@ -325,6 +325,11 @@ struct be_drv_stats { u32 rx_input_fifo_overflow_drop; u32 pmem_fifo_overflow_drop; u32 jabber_events; + u32 rx_roce_bytes_lsd; + u32 rx_roce_bytes_msd; + u32 rx_roce_frames; + u32 roce_drops_payload_len; + u32 roce_drops_crc; }; struct be_vf_cfg { |