diff options
Diffstat (limited to 'include/linux/mlx4/device.h')
-rw-r--r-- | include/linux/mlx4/device.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 049214642036..78380823d827 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
@@ -39,6 +39,11 @@ | |||
39 | 39 | ||
40 | #include <asm/atomic.h> | 40 | #include <asm/atomic.h> |
41 | 41 | ||
42 | #define MAX_MSIX_P_PORT 17 | ||
43 | #define MAX_MSIX 64 | ||
44 | #define MSIX_LEGACY_SZ 4 | ||
45 | #define MIN_MSIX_P_PORT 5 | ||
46 | |||
42 | enum { | 47 | enum { |
43 | MLX4_FLAG_MSI_X = 1 << 0, | 48 | MLX4_FLAG_MSI_X = 1 << 0, |
44 | MLX4_FLAG_OLD_PORT_CMDS = 1 << 1, | 49 | MLX4_FLAG_OLD_PORT_CMDS = 1 << 1, |
@@ -223,6 +228,7 @@ struct mlx4_caps { | |||
223 | int num_eqs; | 228 | int num_eqs; |
224 | int reserved_eqs; | 229 | int reserved_eqs; |
225 | int num_comp_vectors; | 230 | int num_comp_vectors; |
231 | int comp_pool; | ||
226 | int num_mpts; | 232 | int num_mpts; |
227 | int num_mtt_segs; | 233 | int num_mtt_segs; |
228 | int mtts_per_seg; | 234 | int mtts_per_seg; |
@@ -526,5 +532,7 @@ void mlx4_fmr_unmap(struct mlx4_dev *dev, struct mlx4_fmr *fmr, | |||
526 | int mlx4_fmr_free(struct mlx4_dev *dev, struct mlx4_fmr *fmr); | 532 | int mlx4_fmr_free(struct mlx4_dev *dev, struct mlx4_fmr *fmr); |
527 | int mlx4_SYNC_TPT(struct mlx4_dev *dev); | 533 | int mlx4_SYNC_TPT(struct mlx4_dev *dev); |
528 | int mlx4_test_interrupts(struct mlx4_dev *dev); | 534 | int mlx4_test_interrupts(struct mlx4_dev *dev); |
535 | int mlx4_assign_eq(struct mlx4_dev *dev, char* name , int* vector); | ||
536 | void mlx4_release_eq(struct mlx4_dev *dev, int vec); | ||
529 | 537 | ||
530 | #endif /* MLX4_DEVICE_H */ | 538 | #endif /* MLX4_DEVICE_H */ |