diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mlx4/cmd.h | 2 | ||||
| -rw-r--r-- | include/linux/mlx4/device.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mlx4/cmd.h b/include/linux/mlx4/cmd.h index ae62630a665e..9958ff2cad3c 100644 --- a/include/linux/mlx4/cmd.h +++ b/include/linux/mlx4/cmd.h | |||
| @@ -225,4 +225,6 @@ void mlx4_free_cmd_mailbox(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbo | |||
| 225 | 225 | ||
| 226 | u32 mlx4_comm_get_version(void); | 226 | u32 mlx4_comm_get_version(void); |
| 227 | 227 | ||
| 228 | #define MLX4_COMM_GET_IF_REV(cmd_chan_ver) (u8)((cmd_chan_ver) >> 8) | ||
| 229 | |||
| 228 | #endif /* MLX4_CMD_H */ | 230 | #endif /* MLX4_CMD_H */ |
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 65bb466c575f..5f784ff6a36e 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
| @@ -489,6 +489,7 @@ struct mlx4_dev { | |||
| 489 | struct radix_tree_root qp_table_tree; | 489 | struct radix_tree_root qp_table_tree; |
| 490 | u8 rev_id; | 490 | u8 rev_id; |
| 491 | char board_id[MLX4_BOARD_ID_LEN]; | 491 | char board_id[MLX4_BOARD_ID_LEN]; |
| 492 | int num_vfs; | ||
| 492 | }; | 493 | }; |
| 493 | 494 | ||
| 494 | struct mlx4_init_port_param { | 495 | struct mlx4_init_port_param { |
