diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mlx4/driver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mlx4/driver.h b/include/linux/mlx4/driver.h index 2e8af001c5da..bd0e7075ea6d 100644 --- a/include/linux/mlx4/driver.h +++ b/include/linux/mlx4/driver.h | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | #ifndef MLX4_DRIVER_H | 33 | #ifndef MLX4_DRIVER_H |
| 34 | #define MLX4_DRIVER_H | 34 | #define MLX4_DRIVER_H |
| 35 | 35 | ||
| 36 | #include <net/devlink.h> | ||
| 36 | #include <linux/mlx4/device.h> | 37 | #include <linux/mlx4/device.h> |
| 37 | 38 | ||
| 38 | struct mlx4_dev; | 39 | struct mlx4_dev; |
| @@ -89,6 +90,8 @@ int mlx4_port_map_set(struct mlx4_dev *dev, struct mlx4_port_map *v2p); | |||
| 89 | 90 | ||
| 90 | void *mlx4_get_protocol_dev(struct mlx4_dev *dev, enum mlx4_protocol proto, int port); | 91 | void *mlx4_get_protocol_dev(struct mlx4_dev *dev, enum mlx4_protocol proto, int port); |
| 91 | 92 | ||
| 93 | struct devlink_port *mlx4_get_devlink_port(struct mlx4_dev *dev, int port); | ||
| 94 | |||
| 92 | static inline u64 mlx4_mac_to_u64(u8 *addr) | 95 | static inline u64 mlx4_mac_to_u64(u8 *addr) |
| 93 | { | 96 | { |
| 94 | u64 mac = 0; | 97 | u64 mac = 0; |
