]> 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)
commitbae77fc627fd7139b86d35149a350c40f13b18ed
tree091f03d1450723aeb8f5c3a2f9cdb57b32b06db5
parent794ce8843ffa9458b91def5149a1c6aa61415318
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