diff --git a/MAINTAINERS b/MAINTAINERS index 22fd3b7f5a319b17ec5fd3f8aa98b09fd5502fc0..0af558f501cf2d860299ac6e9a73f0a5f0fe8b75 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7801,6 +7801,7 @@ Q: http://patchwork.ozlabs.org/project/netdev/list/ S: Supported F: drivers/net/ethernet/mellanox/mlx4/ F: include/linux/mlx4/ +F: include/uapi/rdma/mlx4-abi.h MELLANOX MLX4 IB driver M: Yishai Hadas diff --git a/drivers/infiniband/hw/mlx4/cq.c b/drivers/infiniband/hw/mlx4/cq.c index d6fc8a6e8c3324fcef4d9081167cce9cc998f13b..2f0b4eed7eaeaef28d08e47a18df89906dcb1da0 100644 --- a/drivers/infiniband/hw/mlx4/cq.c +++ b/drivers/infiniband/hw/mlx4/cq.c @@ -37,7 +37,7 @@ #include #include "mlx4_ib.h" -#include "user.h" +#include static void mlx4_ib_cq_comp(struct mlx4_cq *cq) { diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index 3ae64cefc39ef82e99d834c1c784446e8218c58f..3c6d6103d18bf67669135bb202a4fb433ed08456 100644 --- a/drivers/infiniband/hw/mlx4/main.c +++ b/drivers/infiniband/hw/mlx4/main.c @@ -55,7 +55,7 @@ #include #include "mlx4_ib.h" -#include "user.h" +#include #define DRV_NAME MLX4_IB_DRV_NAME #define DRV_VERSION "2.2-1" diff --git a/drivers/infiniband/hw/mlx4/qp.c b/drivers/infiniband/hw/mlx4/qp.c index 768085f5956645869e65aa5f81edb3f0b972a99b..44c8a0da1507e58eef3332b73e89fdac0db8d398 100644 --- a/drivers/infiniband/hw/mlx4/qp.c +++ b/drivers/infiniband/hw/mlx4/qp.c @@ -47,7 +47,7 @@ #include #include "mlx4_ib.h" -#include "user.h" +#include static void mlx4_ib_lock_cqs(struct mlx4_ib_cq *send_cq, struct mlx4_ib_cq *recv_cq); diff --git a/drivers/infiniband/hw/mlx4/srq.c b/drivers/infiniband/hw/mlx4/srq.c index 0597f3eef5d03ce4729c0fc0f5f0ffd076ae1176..7dd3f267f06b2393f1ba0ac24cc4555c2aa39002 100644 --- a/drivers/infiniband/hw/mlx4/srq.c +++ b/drivers/infiniband/hw/mlx4/srq.c @@ -37,7 +37,7 @@ #include #include "mlx4_ib.h" -#include "user.h" +#include static void *get_wqe(struct mlx4_ib_srq *srq, int n) { diff --git a/include/uapi/rdma/Kbuild b/include/uapi/rdma/Kbuild index 59b2c9b34423b9ca0d23854bd034b13491a234b7..a1090ebc0b3453b0f7d874ca2db208541baa9b84 100644 --- a/include/uapi/rdma/Kbuild +++ b/include/uapi/rdma/Kbuild @@ -9,4 +9,5 @@ header-y += hfi/ header-y += rdma_user_rxe.h header-y += cxgb3-abi.h header-y += cxgb4-abi.h +header-y += mlx4-abi.h header-y += mlx5-abi.h diff --git a/drivers/infiniband/hw/mlx4/user.h b/include/uapi/rdma/mlx4-abi.h similarity index 97% rename from drivers/infiniband/hw/mlx4/user.h rename to include/uapi/rdma/mlx4-abi.h index 07e6769ef43bc8fb5b38af0d5c86a712a7ef6638..af431752655c576fe9bc5cf180e32a84dea0c69a 100644 --- a/drivers/infiniband/hw/mlx4/user.h +++ b/include/uapi/rdma/mlx4-abi.h @@ -31,8 +31,8 @@ * SOFTWARE. */ -#ifndef MLX4_IB_USER_H -#define MLX4_IB_USER_H +#ifndef MLX4_ABI_USER_H +#define MLX4_ABI_USER_H #include @@ -104,4 +104,4 @@ struct mlx4_ib_create_qp { __u8 reserved[5]; }; -#endif /* MLX4_IB_USER_H */ +#endif /* MLX4_ABI_USER_H */