net/mlx4_en: Set statistics bitmap at port init
authorEran Ben Elisha <eranbe@mellanox.com>
Wed, 18 Mar 2015 14:51:38 +0000 (16:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2015 19:17:11 +0000 (15:17 -0400)
commit39de961a4a3317741a7ac0cb9607593f9ffec779
tree1c279e27459b8ec3844b47514a6fa7e69e279869
parent61a3855bb726cbb062ef02a31a832dea455456e0
net/mlx4_en: Set statistics bitmap at port init

Port statistics bitmap will now be initialized at port init.  Even before
starting the port, statistics are visible to the user and must be properly masked.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c