net/mlx5_core: Make the vport helpers available for the IB driver too
authorMajd Dibbiny <majd@mellanox.com>
Thu, 4 Jun 2015 16:30:40 +0000 (19:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2015 23:41:01 +0000 (16:41 -0700)
commitd18a9470f89727f870db944a36223bf1bb15bdc1
tree46c705ff1117bb1d1124995baf5c2e3f8e415769
parente74a1db03326ecdc7c3f54a581b197a26ce5eebe
net/mlx5_core: Make the vport helpers available for the IB driver too

Move the vport header file to be under include/linux/mlx5, such that
the mlx5 IB can use it as well.

Also add nic_ prefix to the vport NIC commands to differeniate between
HCA vport commands and NIC vport commands.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/vport.c
drivers/net/ethernet/mellanox/mlx5/core/vport.h [deleted file]
include/linux/mlx5/vport.h [new file with mode: 0644]