Commit e5783345 authored by Shun Hao's avatar Shun Hao Committed by Greg Kroah-Hartman
Browse files

net/mlx5: DR, Align mlx5dv_dr API vport action with FW behavior



[ Upstream commit aa818fbf ]

This aligns the behavior with FW when creating an FDB rule with wire
vport destination but no source port matching. Until now such rules
would fail on internal DR RX rule creation since the source and
destination are the wire vport.
The new behavior is the same as done on FW steering, if destination is
wire, we will create both TX and RX rules, but the RX packet coming from
wire will be dropped due to loopback not supported.

Signed-off-by: default avatarShun Hao <shunh@nvidia.com>
Reviewed-by: default avatarAlex Vesker <valex@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Stable-dep-of: 5b2a2523 ("net/mlx5: DR, Can't go to uplink vport on RX rule")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8e215c24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment