diff options
author | Meny Yossefi | 2016-02-18 17:14:59 +0100 |
---|---|---|
committer | Doug Ledford | 2016-03-01 16:57:15 +0100 |
commit | b54ba2772b7af82a07eb48f88c88f7cadfb33401 (patch) | |
tree | a95be1c9ff02e4210656e795073b82734221b21a /include/linux/mlx5/mlx5_ifc.h | |
parent | Linux 4.5-rc6 (diff) | |
download | kernel-qcow2-linux-b54ba2772b7af82a07eb48f88c88f7cadfb33401.tar.gz kernel-qcow2-linux-b54ba2772b7af82a07eb48f88c88f7cadfb33401.tar.xz kernel-qcow2-linux-b54ba2772b7af82a07eb48f88c88f7cadfb33401.zip |
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>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
-rw-r--r-- | include/linux/mlx5/mlx5_ifc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 51f1e540fc2b..0732e6c1fe7a 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -3126,7 +3126,8 @@ struct mlx5_ifc_query_vport_counter_in_bits { u8 op_mod[0x10]; u8 other_vport[0x1]; - u8 reserved_at_41[0xf]; + u8 reserved_at_41[0xb]; + u8 port_num[0x4]; u8 vport_number[0x10]; u8 reserved_at_60[0x60]; |