]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 16:03:08 +0000 (09:03 -0700)
commit1462ba07805feef18c738270c681f0ce7c9fb289
tree9ed8017ccc3fb65755a6c1bbeefd2e3b2a292c0a
parent9d32a8cac57ec9b2f25074c1dd7dca7ac7defbee
net/mlx5: Introduce access functions to modify/query vport state

BugLink: http://bugs.launchpad.net/bugs/1540435
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>
(cherry picked from commit e75465148b7df7f2796c75bf98bf33f171edeb2b)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
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