diff options
author | Roi Dayan <roid@nvidia.com> | 2022-11-02 23:55:46 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-11-09 10:30:43 -0800 |
commit | f4f4096b410e8d31c3f07f39de3b17d144edd53d (patch) | |
tree | 2ee34e550a306a104e0f3a80e67bd7d91af1ab17 /drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | |
parent | net/mlx5e: TC, Fix wrong rejection of packet-per-second policing (diff) | |
download | linux-dev-f4f4096b410e8d31c3f07f39de3b17d144edd53d.tar.xz linux-dev-f4f4096b410e8d31c3f07f39de3b17d144edd53d.zip |
net/mlx5e: E-Switch, Fix comparing termination table instance
The pkt_reformat pointer being saved under flow_act and not
dest attribute in the termination table instance.
Fix the comparison pointers.
Also fix returning success if one pkt_reformat pointer is null
and the other is not.
Fixes: 249ccc3c95bd ("net/mlx5e: Add support for offloading traffic from uplink to uplink")
Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Chris Mi <cmi@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_tc.c')
0 files changed, 0 insertions, 0 deletions