]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR, Create multiple destination action from dr_create_fte
authorAlex Vesker <valex@mellanox.com>
Sun, 15 Dec 2019 19:50:32 +0000 (21:50 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 7 Jan 2020 18:43:02 +0000 (10:43 -0800)
commit89be5d9be965945f1e8f23a9b2b2029c497139c1
tree091f03d1450723aeb8f5c3a2f9cdb57b32b06db5
parentba9bd127fd584a9604b92d60f2ada5bd77b53fcd
net/mlx5: DR, Create multiple destination action from dr_create_fte

Until now it was possible to pass a packet to a single destination such
as vport or flow table. With the new support if multiple vports or multiple
tables are provided as destinations, fs_dr will create a multiple
destination table action, this action should replace other destination
actions provided to mlx5dr_create_rule.
Each vport destination can be provided with a reformat actions which
will be done before forwarding the packet to the vport.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c