]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net/mlx5: DR, Add support for multiple destination table action
authorAlex Vesker <valex@mellanox.com>
Sun, 15 Dec 2019 19:27:54 +0000 (21:27 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 7 Jan 2020 18:42:49 +0000 (10:42 -0800)
commitb8853c969f406bfb682740b7646ee8b4623ee955
treeb9c5a1eaf5bc6499be23f3f59f91f1a848ad5b0c
parentaec292ee6f290920fc77907dfe1b94baa600484d
net/mlx5: DR, Add support for multiple destination table action

A multiple destination table action allows HW packet duplication
to multiple destinations, this is useful for multicast or mirroring
traffic for debug. Duplicating is done using a FW flow table with
multiple destinations.

The new action creation function, mlx5dr_action_create_mult_dest_tbl
will allow creating a single table to iterate over several dr actions.

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