net/mlx5: E-Switch, Add match on vport metadata for rule in slow path
authorJianbo Liu <jianbol@mellanox.com>
Tue, 25 Jun 2019 17:48:09 +0000 (17:48 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 26 Jun 2019 19:01:29 +0000 (12:01 -0700)
commita5641cb524cd023c5fafbe41891c8ec510b65f3b
tree024b0311a2891368774d3e0dfece3e8acef0aa7a
parentc1286050cf47170fbce7edc3787ab577a882863b
net/mlx5: E-Switch, Add match on vport metadata for rule in slow path

In slow path, packet that not matched by any offloaded rule is
forwarded to eswitch vport manager for further processing.
Add matching on metadata for peer miss rules in FDB, and rules which
forward packet to correct representor in esw manager NIC_RX table.

Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Reviewed-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c