net/mlx5e: Use devlink virtual flavour for VF devlink port
authorParav Pandit <parav@mellanox.com>
Tue, 3 Mar 2020 14:12:43 +0000 (08:12 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 23:40:40 +0000 (15:40 -0800)
commit162add8cbae4635cf0598c640a24d5ed2849774f
treee97dc67c70453024cc25356c8e413af85d3b3b3e
parentacf1ee44ca5da39755d2aa9080392eae46a0eb34
net/mlx5e: Use devlink virtual flavour for VF devlink port

Use newly introduce 'virtual' port flavour for devlink
port of PCI VF devlink device in non-representors mode.

While at it, remove recently introduced empty lines at end of the file.

Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Parav Pandit <parav@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/devlink.c
drivers/net/ethernet/mellanox/mlx5/core/en/devlink.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c