diff options
Diffstat (limited to 'include/linux/mlx4/device.h')
-rw-r--r-- | include/linux/mlx4/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 6a8f002b8ed3..8eadf0f14cc5 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
@@ -534,6 +534,8 @@ struct mlx4_init_port_param { | |||
534 | if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \ | 534 | if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \ |
535 | ((dev)->caps.flags & MLX4_DEV_CAP_FLAG_IBOE)) | 535 | ((dev)->caps.flags & MLX4_DEV_CAP_FLAG_IBOE)) |
536 | 536 | ||
537 | #define MLX4_INVALID_SLAVE_ID 0xFF | ||
538 | |||
537 | static inline int mlx4_is_master(struct mlx4_dev *dev) | 539 | static inline int mlx4_is_master(struct mlx4_dev *dev) |
538 | { | 540 | { |
539 | return dev->flags & MLX4_FLAG_MASTER; | 541 | return dev->flags & MLX4_FLAG_MASTER; |