diff options
Diffstat (limited to 'include/linux/mlx4/device.h')
-rw-r--r-- | include/linux/mlx4/device.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index d5bed0875d30..aad5d81dfb44 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
@@ -1068,7 +1068,7 @@ static inline int mlx4_is_eth(struct mlx4_dev *dev, int port) | |||
1068 | } | 1068 | } |
1069 | 1069 | ||
1070 | int mlx4_buf_alloc(struct mlx4_dev *dev, int size, int max_direct, | 1070 | int mlx4_buf_alloc(struct mlx4_dev *dev, int size, int max_direct, |
1071 | struct mlx4_buf *buf, gfp_t gfp); | 1071 | struct mlx4_buf *buf); |
1072 | void mlx4_buf_free(struct mlx4_dev *dev, int size, struct mlx4_buf *buf); | 1072 | void mlx4_buf_free(struct mlx4_dev *dev, int size, struct mlx4_buf *buf); |
1073 | static inline void *mlx4_buf_offset(struct mlx4_buf *buf, int offset) | 1073 | static inline void *mlx4_buf_offset(struct mlx4_buf *buf, int offset) |
1074 | { | 1074 | { |
@@ -1105,10 +1105,9 @@ int mlx4_mw_enable(struct mlx4_dev *dev, struct mlx4_mw *mw); | |||
1105 | int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, | 1105 | int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, |
1106 | int start_index, int npages, u64 *page_list); | 1106 | int start_index, int npages, u64 *page_list); |
1107 | int mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, | 1107 | int mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, |
1108 | struct mlx4_buf *buf, gfp_t gfp); | 1108 | struct mlx4_buf *buf); |
1109 | 1109 | ||
1110 | int mlx4_db_alloc(struct mlx4_dev *dev, struct mlx4_db *db, int order, | 1110 | int mlx4_db_alloc(struct mlx4_dev *dev, struct mlx4_db *db, int order); |
1111 | gfp_t gfp); | ||
1112 | void mlx4_db_free(struct mlx4_dev *dev, struct mlx4_db *db); | 1111 | void mlx4_db_free(struct mlx4_dev *dev, struct mlx4_db *db); |
1113 | 1112 | ||
1114 | int mlx4_alloc_hwq_res(struct mlx4_dev *dev, struct mlx4_hwq_resources *wqres, | 1113 | int mlx4_alloc_hwq_res(struct mlx4_dev *dev, struct mlx4_hwq_resources *wqres, |
@@ -1124,8 +1123,7 @@ int mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, | |||
1124 | int *base, u8 flags); | 1123 | int *base, u8 flags); |
1125 | void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt); | 1124 | void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt); |
1126 | 1125 | ||
1127 | int mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp, | 1126 | int mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp); |
1128 | gfp_t gfp); | ||
1129 | void mlx4_qp_free(struct mlx4_dev *dev, struct mlx4_qp *qp); | 1127 | void mlx4_qp_free(struct mlx4_dev *dev, struct mlx4_qp *qp); |
1130 | 1128 | ||
1131 | int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcdn, | 1129 | int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcdn, |