]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net/mlx5: E-Switch, Introduce HCA cap and E-Switch vport context
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 1 Dec 2015 16:03:22 +0000 (18:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 17:08:46 +0000 (12:08 -0500)
commitd6666753c6e85834f1669c7b831cc2b7fc9e4390
tree6d524e1565e0bff2d7790d626e807dd91e9791e6
parent77256579c6b43bb88da96b43637bafc0df20f8e8
net/mlx5: E-Switch, Introduce HCA cap and E-Switch vport context

E-Switch vport context is unlike NIC vport context, managed by the
E-Switch manager or vport_group_manager and not by the NIC(VF) driver.

The E-Switch manager can access (read/modify) any of its vports
E-Switch context.

Currently E-Switch vport context includes only clietnt and server
vlan insertion and striping data (for later support of VST mode).

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/fw.c
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h