summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx5
diff options
context:
space:
mode:
authorAchiad Shochat <achiad@mellanox.com>2016-02-22 16:17:23 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-02-24 18:50:20 (GMT)
commitada68c31ba9c02d7aabdd87db979fe670b499d54 (patch)
tree8886c0b359530842aeafb2b5fc547b8074034db3 /drivers/infiniband/hw/mlx5
parente5fbfc1c2d7657eafed645727cb5d74731f6d68c (diff)
downloadlinux-ada68c31ba9c02d7aabdd87db979fe670b499d54.tar.xz
net/mlx5: Introduce a new header file for physical port functions
All the device physical port access functions are implemented in the port.c file. We just extract the exposure of these functions from driver.h into a dedicated header file called port.h. Signed-off-by: Achiad Shochat <achiad@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/mlx5')
-rw-r--r--drivers/infiniband/hw/mlx5/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
index 03c418c..e1cea44 100644
--- a/drivers/infiniband/hw/mlx5/main.c
+++ b/drivers/infiniband/hw/mlx5/main.c
@@ -42,6 +42,7 @@
#include <rdma/ib_user_verbs.h>
#include <rdma/ib_addr.h>
#include <rdma/ib_cache.h>
+#include <linux/mlx5/port.h>
#include <linux/mlx5/vport.h>
#include <rdma/ib_smi.h>
#include <rdma/ib_umem.h>