linux-stable/include/uapi/rdma
Leon Romanovsky 38e8b671bf RDMA/hfi1: Avoid redeclaration error
Move hfi1 ioctl definitions to a new header which can be included by
both the hfi1 and qib drivers to avoid a duplicate enum definition
as shown in this build error for qib:

  CC [M] drivers/infiniband/hw/qib/qib_sysfs.o
In file included from ./include/uapi/rdma/rdma_user_ioctl.h:39:0,
		 from include/uapi/rdma/ib_user_mad.h:38,
		 from include/rdma/ib_mad.h:43,
		 from include/rdma/ib_pma.h:38,
		 from drivers/infiniband/hw/qib/qib_mad.h:37,
		 from drivers/infiniband/hw/qib/qib_init.c:49:
./include/uapi/rdma/hfi/hfi1_user.h:370:2: error: redeclaration of
enumerator ‘ur_rcvhdrtail’
  ur_rcvhdrtail = 0,

Move hfi1 structures to separate file to avoid this failure.

The actual move of the ioctl definitions comes in a follow on patch.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-01-10 12:41:40 -05:00
..
hfi RDMA/hfi1: Avoid redeclaration error 2017-01-10 12:41:40 -05:00
cxgb3-abi.h IB/cxgb3: Move user vendor structures 2016-10-07 16:54:35 -04: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 RDMA/core: Move legacy MAD IOCTL declarations to common file 2017-01-10 12:41:40 -05:00
ib_user_sa.h
ib_user_verbs.h IB/uverbs: Extend modify_qp and support packet pacing 2016-12-13 13:39:51 -05:00
Kbuild RDMA/core: Commonize RDMA IOCTL declarations location 2017-01-10 12:41:40 -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_ioctl.h RDMA/core: Move legacy MAD IOCTL declarations to common file 2017-01-10 12:41:40 -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