]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Add promiscuous and allmulti FDB flowtable groups
authorMohamad Haj Yahia <mohamad@mellanox.com>
Tue, 3 May 2016 14:14:02 +0000 (17:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 18:04:48 +0000 (14:04 -0400)
commit74ff1e24bc924fd4fcbb7b14360f7f3c4a76c40a
tree7852fe645b10b3c389c36e0de6d64fe66a9f5d74
parent60a10124382d57189d1ff89acb8069fda3d54f38
net/mlx5: E-Switch, Add promiscuous and allmulti FDB flowtable groups

Add promiscuous and allmulti steering groups in FDB table.
Besides the full match L2 steering rules group, we added
two more groups to catch the "miss" rules traffic:
* Allmulti group: One rule that forwards any mcast traffic coming from
either uplink or VFs/PF vports
* Promisc group: One rule that forwards all unmatched traffic coming
from uplink.

Needed for downstream privileged VF promisc and allmulti support.

Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h