diff options
author | Erez Shitrit <erezsh@nvidia.com> | 2023-08-28 14:37:12 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-09-20 09:33:08 +0300 |
commit | 3b81bcbaee28213ba7e6061c523db918c594ad67 (patch) | |
tree | 7cdaa3ff6d551a2702e97da2cf4a49ed4366e2a3 /include/linux/mlx5/mlx5_ifc.h | |
parent | f6f46e7173cb4613b84a0c0640355826ee39654f (diff) | |
download | linux-3b81bcbaee28213ba7e6061c523db918c594ad67.tar.xz |
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