net/mlx5: Introduce access functions to modify/query vport state
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 1 Dec 2015 16:03:13 +0000 (18:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 17:08:44 +0000 (12:08 -0500)
commite75465148b7df7f2796c75bf98bf33f171edeb2b
tree2fe8a3ca9c1a4d8754143568185f630eb74926d2
parente16aea2744abea612c27ee0eef606c6a6a8204de
net/mlx5: Introduce access functions to modify/query vport state

In preparation for SR-IOV we add here an API to enable each e-switch
manager (PF) to configure its VFs link states in e-switch

preparation for ethernet sriov.

Signed-off-by: Saeed Mahameed <saeedm@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_main.c
drivers/net/ethernet/mellanox/mlx5/core/vport.c
include/linux/mlx5/mlx5_ifc.h
include/linux/mlx5/vport.h