diff options
author | Erez Shitrit <erezsh@nvidia.com> | 2023-08-28 14:37:12 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-09-19 23:33:08 -0700 |
commit | 3b81bcbaee28213ba7e6061c523db918c594ad67 (patch) | |
tree | 7cdaa3ff6d551a2702e97da2cf4a49ed4366e2a3 /include/linux/mlx5/mlx5_ifc.h | |
parent | net/mlx5: DR, Add check for multi destination FTE (diff) | |
download | wireguard-linux-3b81bcbaee28213ba7e6061c523db918c594ad67.tar.xz wireguard-linux-3b81bcbaee28213ba7e6061c523db918c594ad67.zip |
net/mlx5: DR, Handle multi destination action in the right order
Whenever we have few destinations from Flow-table type we need to put
the one that goes to the wire to be the last one.
We are using FW in order to get iterator, the FW uses RX for the first
destinations and TX for the last destination, if we want the packet to
be directed to the wire it should be done in the TX path and not in the
RX.
The code now checks if the FT is directed to the wire and if so puts it
as the last destination.
Signed-off-by: Erez Shitrit <erezsh@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
0 files changed, 0 insertions, 0 deletions