]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
be2net: Fix to use 32-bit stats to report rx_drops_no_fragment
authorAjit Khaparde <ajit.khaparde@emulex.com>
Wed, 1 May 2013 09:37:27 +0000 (09:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 May 2013 20:43:13 +0000 (16:43 -0400)
commita6c578ef9b6dc39efd8cd6e68295f63486d20c75
tree374c40541a9eb889d2ccbb3b85e288e0b5ccf648
parentbbdc42f8147d19f71fe4bc3db8a83e03a21af7a4
be2net: Fix to use 32-bit stats to report rx_drops_no_fragment

Only BE devices provide 16-bit counter for rx_drops_no_fragment.
All other devices provide a 32-bit counter for this stat.
Use the 32-bit value where available.

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c