summaryrefslogtreecommitdiff
path: root/include/rdma/opa_port_info.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-07-22 17:01:30 +0000
committerJason Gunthorpe <jgg@mellanox.com>2019-07-25 13:58:47 -0300
commit39289bfc221423b27570e7c9157b690828e786cb (patch)
treea66ee47a2f1a49b7795fed229135d1795ef32043 /include/rdma/opa_port_info.h
parentcf167e5eb92c143ac2b0300ea65ed9f0ce572c3b (diff)
RDMA: Make most headers compile stand alone
So that rdma can work with CONFIG_KERNEL_HEADER_TEST and CONFIG_HEADERS_CHECK. Link: https://lore.kernel.org/r/20190722170126.GA16453@ziepe.ca Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/opa_port_info.h')
-rw-r--r--include/rdma/opa_port_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rdma/opa_port_info.h b/include/rdma/opa_port_info.h
index 7147a9263011..bdbfe25d3854 100644
--- a/include/rdma/opa_port_info.h
+++ b/include/rdma/opa_port_info.h
@@ -33,6 +33,8 @@
#if !defined(OPA_PORT_INFO_H)
#define OPA_PORT_INFO_H
+#include <rdma/opa_smi.h>
+
#define OPA_PORT_LINK_MODE_NOP 0 /* No change */
#define OPA_PORT_LINK_MODE_OPA 4 /* Port mode is OPA */