linux/include/uapi/rdma
Leon Romanovsky 646ebd4166 RDMA: Don't reference kernel private header from UAPI header
Remove references to private kernel header and defines from exported
ib_user_verb.h file.

The code snippet below is used to reproduce the issue:

 #include <stdio.h>
 #include <rdma/ib_user_verb.h>

 int main(void)
 {
	printf("IB_USER_VERBS_ABI_VERSION = %d\n", IB_USER_VERBS_ABI_VERSION);
	return 0;
 }

It fails during compilation phase with an error:
➜  /tmp gcc main.c
main.c:2:31: fatal error: rdma/ib_user_verb.h: No such file or directory
 #include <rdma/ib_user_verb.h>
                               ^
compilation terminated.

Fixes: 189aba99e7 ("IB/uverbs: Extend modify_qp and support packet pacing")
CC: Bodong Wang <bodong@mellanox.com>
CC: Matan Barak <matanb@mellanox.com>
CC: Christoph Hellwig <hch@infradead.org>
Tested-by: Slava Shwartsman <slavash@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-02-08 12:28:49 -05:00
..
hfi IB/hfi1: Disable header suppression for short packets 2016-12-11 15:25:13 -05:00
cxgb3-abi.h IB/cxgb3: fix misspelling in header guard 2017-01-24 12:20:23 -05:00
cxgb4-abi.h IB/cxgb4: Move user vendor structures 2016-10-07 16:54:35 -04:00
hns-abi.h IB/hns: Move HNS RoCE user vendor structures 2016-12-03 14:23:14 -05:00
ib_user_cm.h
ib_user_mad.h IB/mad: Add user space RMPP support 2014-08-10 20:36:00 -07:00
ib_user_sa.h
ib_user_verbs.h RDMA: Don't reference kernel private header from UAPI header 2017-02-08 12:28:49 -05:00
Kbuild RDMA/qedr: Add uapi header qedr-abi.h 2017-01-24 15:34:36 -05:00
mlx4-abi.h IB/mlx4: Move user vendor structures 2016-10-07 16:54:36 -04:00
mlx5-abi.h IB/mlx5: Report mlx5 packet pacing capabilities when querying device 2016-12-13 13:39:50 -05:00
mthca-abi.h IB/mthca: Move user vendor structures 2016-10-07 16:54:37 -04:00
nes-abi.h IB/nes: Move user vendor structures 2016-10-07 16:54:37 -04:00
ocrdma-abi.h IB/ocrdma: Move user vendor structures 2016-10-07 16:54:36 -04:00
qedr-abi.h qedr: Add support for QP verbs 2016-10-14 15:00:10 -04:00
rdma_netlink.h IB/netlink: Add a new local service operation 2016-05-24 14:42:48 -04:00
rdma_user_cm.h rdma UAPI: Use __kernel_sockaddr_storage 2016-12-14 11:42:39 -05:00
rdma_user_rxe.h Soft RoCE driver 2016-08-04 11:13:12 -04:00
vmw_pvrdma-abi.h IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00