diff options
author | Roi Dayan <roid@nvidia.com> | 2022-11-02 23:55:46 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-16 10:04:01 +0100 |
commit | 8a76f34c5cd40717e0f7f1678a88a9ab277ae667 (patch) | |
tree | b3bf43a3f8277965eecb5c99f119a1adab08e5a0 /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | 699d2d425b574fac89c40be2c7cbc0c38db1b652 (diff) |
net/mlx5e: E-Switch, Fix comparing termination table instance
[ Upstream commit f4f4096b410e8d31c3f07f39de3b17d144edd53d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions