Commit a0e95cba authored by Gavin Li's avatar Gavin Li Committed by sanglipeng
Browse files

net/mlx5e: Don't support encap rules with gbp option

stable inclusion
from stable-v5.10.164
commit 092f0c2d1f836498fff8f68b26d529daa24b94a6
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7T7G4

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=092f0c2d1f836498fff8f68b26d529daa24b94a6



--------------------------------

[ Upstream commit d515d63c ]

Previously, encap rules with gbp option would be offloaded by mistake but
driver does not support gbp option offload.

To fix this issue, check if the encap rule has gbp option and don't
offload the rule

Fixes: d8f9dfae ("net: sched: allow flower to match vxlan options")
Signed-off-by: default avatarGavin Li <gavinl@nvidia.com>
Reviewed-by: default avatarMaor Dickman <maord@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 80c5b1ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment