Commit c546b2a3 authored by Leon Romanovsky's avatar Leon Romanovsky Committed by Doug Ledford

IB/nes: Move user vendor structures

This patch moves nes vendor's specific structures to
common UAPI folder which will be visible to all consumers.

These structures are used by user-space library driver
(libmlx4) and currently manually copied to that library.

This move will allow cross-compile against these files and
simplify introduction of vendor specific data.
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent a7fe7380
...@@ -8086,6 +8086,7 @@ L: linux-rdma@vger.kernel.org ...@@ -8086,6 +8086,7 @@ L: linux-rdma@vger.kernel.org
W: http://www.intel.com/Products/Server/Adapters/Server-Cluster/Server-Cluster-overview.htm W: http://www.intel.com/Products/Server/Adapters/Server-Cluster/Server-Cluster-overview.htm
S: Supported S: Supported
F: drivers/infiniband/hw/nes/ F: drivers/infiniband/hw/nes/
F: include/uapi/rdma/nes-abi.h
NETEM NETWORK EMULATOR NETEM NETWORK EMULATOR
M: Stephen Hemminger <stephen@networkplumber.org> M: Stephen Hemminger <stephen@networkplumber.org>
......
...@@ -165,7 +165,7 @@ do { \ ...@@ -165,7 +165,7 @@ do { \
#include "nes_hw.h" #include "nes_hw.h"
#include "nes_verbs.h" #include "nes_verbs.h"
#include "nes_context.h" #include "nes_context.h"
#include "nes_user.h" #include <rdma/nes-abi.h>
#include "nes_cm.h" #include "nes_cm.h"
#include "nes_mgt.h" #include "nes_mgt.h"
......
...@@ -11,4 +11,5 @@ header-y += cxgb3-abi.h ...@@ -11,4 +11,5 @@ header-y += cxgb3-abi.h
header-y += cxgb4-abi.h header-y += cxgb4-abi.h
header-y += mlx4-abi.h header-y += mlx4-abi.h
header-y += mlx5-abi.h header-y += mlx5-abi.h
header-y += nes-abi.h
header-y += ocrdma-abi.h header-y += ocrdma-abi.h
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
* *
*/ */
#ifndef NES_USER_H #ifndef NES_ABI_USER_H
#define NES_USER_H #define NES_ABI_USER_H
#include <linux/types.h> #include <linux/types.h>
...@@ -111,4 +111,4 @@ struct nes_create_qp_resp { ...@@ -111,4 +111,4 @@ struct nes_create_qp_resp {
__u32 nes_drv_opt; __u32 nes_drv_opt;
}; };
#endif /* NES_USER_H */ #endif /* NES_ABI_USER_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment