linma / rpms / iproute

Forked from rpms/iproute 4 years ago
Clone

Blame SOURCES/0047-uapi-update-ib_verbs.patch

7e752c
From bca44fb15b57a32a991780100171708e9e2e4960 Mon Sep 17 00:00:00 2001
7e752c
From: Andrea Claudi <aclaudi@redhat.com>
7e752c
Date: Wed, 29 May 2019 18:40:20 +0200
7e752c
Subject: [PATCH] uapi: update ib_verbs
7e752c
7e752c
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1664694
7e752c
Upstream Status: iproute2.git commit 27886a12416dd
7e752c
7e752c
commit 27886a12416dd315cf386cfbfa93c2fb2aceca98
7e752c
Author: Stephen Hemminger <stephen@networkplumber.org>
7e752c
Date:   Fri Aug 31 15:03:49 2018 -0700
7e752c
7e752c
    uapi: update ib_verbs
7e752c
7e752c
    Merge current uapi from 4.19-rc1
7e752c
7e752c
    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
7e752c
---
7e752c
 rdma/include/uapi/rdma/ib_user_verbs.h | 5 +++--
7e752c
 1 file changed, 3 insertions(+), 2 deletions(-)
7e752c
7e752c
diff --git a/rdma/include/uapi/rdma/ib_user_verbs.h b/rdma/include/uapi/rdma/ib_user_verbs.h
7e752c
index 4f9991de8e3ad..25a16760de2ad 100644
7e752c
--- a/rdma/include/uapi/rdma/ib_user_verbs.h
7e752c
+++ b/rdma/include/uapi/rdma/ib_user_verbs.h
7e752c
@@ -279,7 +279,7 @@ struct ib_uverbs_query_port {
7e752c
 };
7e752c
 
7e752c
 struct ib_uverbs_query_port_resp {
7e752c
-	__u32 port_cap_flags;
7e752c
+	__u32 port_cap_flags;		/* see ib_uverbs_query_port_cap_flags */
7e752c
 	__u32 max_msg_sz;
7e752c
 	__u32 bad_pkey_cntr;
7e752c
 	__u32 qkey_viol_cntr;
7e752c
@@ -299,7 +299,8 @@ struct ib_uverbs_query_port_resp {
7e752c
 	__u8  active_speed;
7e752c
 	__u8  phys_state;
7e752c
 	__u8  link_layer;
7e752c
-	__u8  reserved[2];
7e752c
+	__u8  flags;			/* see ib_uverbs_query_port_flags */
7e752c
+	__u8  reserved;
7e752c
 };
7e752c
 
7e752c
 struct ib_uverbs_alloc_pd {
7e752c
-- 
7e752c
2.20.1
7e752c