summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorAchiad Shochat2015-12-23 17:47:20 +0100
committerDoug Ledford2015-12-23 18:07:37 +0100
commit9efa75254593d6ca3ae54bac8153f47e1a7cbcda (patch)
tree7f9b3f4dc8f4bf126813eabcf715c4b5f280c296 /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5_core: Introduce access functions to enable/disable RoCE (diff)
downloadkernel-qcow2-linux-9efa75254593d6ca3ae54bac8153f47e1a7cbcda.tar.gz
kernel-qcow2-linux-9efa75254593d6ca3ae54bac8153f47e1a7cbcda.tar.xz
kernel-qcow2-linux-9efa75254593d6ca3ae54bac8153f47e1a7cbcda.zip
net/mlx5_core: Introduce access functions to query vport RoCE fields
Introduce access functions to query NIC vport system_image_guid, node_guid and qkey_viol_cntr. Signed-off-by: Achiad Shochat <achiad@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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 1565324eb620..49b34c6466ac 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -2141,7 +2141,15 @@ struct mlx5_ifc_nic_vport_context_bits {
u8 reserved_0[0x1f];
u8 roce_en[0x1];
- u8 reserved_1[0x760];
+ u8 reserved_1[0x120];
+
+ u8 system_image_guid[0x40];
+ u8 port_guid[0x40];
+ u8 node_guid[0x40];
+
+ u8 reserved_5[0x140];
+ u8 qkey_violation_counter[0x10];
+ u8 reserved_6[0x430];
u8 reserved_2[0x5];
u8 allowed_list_type[0x3];