net/ena/base: store admin stats as 64-bit
authorMichal Krawczyk <mk@semihalf.com>
Thu, 17 Sep 2020 05:30:29 +0000 (07:30 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:09 +0000 (19:19 +0200)
commit39f817d081ea4341445a019d6d52c53a6239f102
tree7f3e018ff4898f4d153d62ee9f643d7347c019fc
parent41083bd532ef13f6a0b0d26b0b28de68789a2d7f
net/ena/base: store admin stats as 64-bit

To minimize chance of integer overflow, the type of admin statistics was
changed from u32 to u64.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/ena/base/ena_com.h