ibcore: Fix for compiling header files from user-space.
Sponsored by: Mellanox Technologies
This commit is contained in:
parent
0faccd643c
commit
c19d65049e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/bsd_rdma_4_9/; revision=320591
@ -34,7 +34,11 @@
|
|||||||
#ifndef MLX4_ABI_USER_H
|
#ifndef MLX4_ABI_USER_H
|
||||||
#define MLX4_ABI_USER_H
|
#define MLX4_ABI_USER_H
|
||||||
|
|
||||||
|
#ifdef _KERNEL
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
#else
|
||||||
|
#include <infiniband/types.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Increment this value if any changes that break userspace ABI
|
* Increment this value if any changes that break userspace ABI
|
||||||
|
@ -33,7 +33,11 @@
|
|||||||
#ifndef MLX5_ABI_USER_H
|
#ifndef MLX5_ABI_USER_H
|
||||||
#define MLX5_ABI_USER_H
|
#define MLX5_ABI_USER_H
|
||||||
|
|
||||||
|
#ifdef _KERNEL
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
#else
|
||||||
|
#include <infiniband/types.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
MLX5_QP_FLAG_SIGNATURE = 1 << 0,
|
MLX5_QP_FLAG_SIGNATURE = 1 << 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user