net/mlx5_core: Add helper function to read virtual port counters
authorMeny Yossefi <menyy@mellanox.com>
Thu, 18 Feb 2016 16:14:59 +0000 (18:14 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 1 Mar 2016 15:57:15 +0000 (10:57 -0500)
commitb54ba2772b7af82a07eb48f88c88f7cadfb33401
treea95be1c9ff02e4210656e795073b82734221b21a
parentfc77dbd34c5c99bce46d40a2491937c3bcbd10af
net/mlx5_core: Add helper function to read virtual port counters

Added helper function to read 64bit virtual port Infiniband traffic
counters.

Signed-off-by: Meny Yossefi <menyy@mellanox.com>
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/vport.c
include/linux/mlx5/mlx5_ifc.h
include/linux/mlx5/vport.h