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>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c 1 addition, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/en_main.c
- drivers/net/ethernet/mellanox/mlx5/core/vport.c 55 additions, 6 deletionsdrivers/net/ethernet/mellanox/mlx5/core/vport.c
- include/linux/mlx5/mlx5_ifc.h 1 addition, 0 deletionsinclude/linux/mlx5/mlx5_ifc.h
- include/linux/mlx5/vport.h 5 additions, 1 deletioninclude/linux/mlx5/vport.h
Loading
Please register or sign in to comment