summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.co.il>2010-10-18 14:45:20 -0700
committerRoland Dreier <rolandd@cisco.com>2010-10-25 10:20:39 -0700
commit2420b60b1dc4ed98cb1788e928bc57ff2efa1a8d (patch)
tree5696498ba9fc4a9bc17b055113af06585a9a7a13 /include/rdma
parentff7f5aab354dee01f29c9c00933f6d4aa590eadb (diff)
downloadop-kernel-dev-2420b60b1dc4ed98cb1788e928bc57ff2efa1a8d.zip
op-kernel-dev-2420b60b1dc4ed98cb1788e928bc57ff2efa1a8d.tar.gz
IB/uverbs: Return link layer type to userspace for query port operation
Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/ib_user_verbs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rdma/ib_user_verbs.h b/include/rdma/ib_user_verbs.h
index a17f771..fe5b051 100644
--- a/include/rdma/ib_user_verbs.h
+++ b/include/rdma/ib_user_verbs.h
@@ -205,7 +205,8 @@ struct ib_uverbs_query_port_resp {
__u8 active_width;
__u8 active_speed;
__u8 phys_state;
- __u8 reserved[3];
+ __u8 link_layer;
+ __u8 reserved[2];
};
struct ib_uverbs_alloc_pd {
OpenPOWER on IntegriCloud