]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6304ff1e8663bd5b2a6dfc02edb0fab3f7eb1965
tree2fe8a3ca9c1a4d8754143568185f630eb74926d2
parent2f09e53c420eff0755163e288a0831e497253cb6
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