linux-hardened/include/linux/mlx5
Saeed Mahameed 81848731ff net/mlx5: E-Switch, Add SR-IOV (FDB) support
Enabling E-Switch SRIOV for nvfs+1 vports.

Create E-Switch FDB for L2 UC/MC mac steering between VFs/PF and
external vport (Uplink).

FDB contains forwarding rules such as:
	UC MAC0 -> vport0(PF).
	UC MAC1 -> vport1.
	UC MAC2 -> vport2.
	MC MACX -> vport0, vport2, Uplink.
	MC MACY -> vport1, Uplink.

For unmatched traffic FDB has the following default rules:
	Unmached Traffic (src vport != Uplink) -> Uplink.
	Unmached Traffic (src vport == Uplink) -> vport0(PF).

FDB rules population:
Each NIC vport (VF) will notify E-Switch manager of its UC/MC vport
context changes via modify vport context command, which will be
translated to an event that will be handled by E-Switch manager (PF)
which will update FDB table accordingly.

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>
2015-12-03 12:08:46 -05:00
..
cmd.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
cq.h net/mlx5_core: Modify CQ moderation parameters 2015-05-30 18:23:59 -07:00
device.h net/mlx5: E-Switch, Add SR-IOV (FDB) support 2015-12-03 12:08:46 -05:00
doorbell.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
driver.h net/mlx5: Introducing E-Switch and l2 table 2015-12-03 12:08:46 -05:00
flow_table.h net/mlx5: E-Switch, Add SR-IOV (FDB) support 2015-12-03 12:08:46 -05:00
mlx5_ifc.h net/mlx5: E-Switch, Add SR-IOV (FDB) support 2015-12-03 12:08:46 -05:00
qp.h net/mlx5_core: HW data structs/types definitions cleanup 2015-05-30 18:23:11 -07:00
srq.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
vport.h net/mlx5: Introduce access functions to modify/query vport vlans 2015-12-03 12:08:45 -05:00