]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Introduce a new header file for physical port functions
authorAchiad Shochat <achiad@mellanox.com>
Mon, 22 Feb 2016 16:17:23 +0000 (18:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Feb 2016 18:50:20 +0000 (13:50 -0500)
commit5550320a21a631932bf25f8c4772e5006d695b61
tree8886c0b359530842aeafb2b5fc547b8074034db3
parent90e2d68f20d520f5539509cd9bc512cd2d175657
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>
drivers/infiniband/hw/mlx5/main.c
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/driver.h
include/linux/mlx5/port.h [new file with mode: 0644]