linux-stable/drivers/net/ethernet/mellanox
Jianbo Liu 5085f861b4 net/mlx5e: Remove workaround to avoid syndrome for internal port
Previously a workaround was added to avoid syndrome 0xcdb051. It is
triggered when offload a rule with tunnel encapsulation, and
forwarding to another table, but not matching on the internal port in
firmware steering mode. The original workaround skips internal tunnel
port logic, which is not correct as not all cases are considered. As
an example, if vlan is configured on the uplink port, traffic can't
pass because vlan header is not added with this workaround. Besides,
there is no such issue for software steering. So, this patch removes
that, and returns error directly if trying to offload such rule for
firmware steering.

Fixes: 06b4eac9c4 ("net/mlx5e: Don't offload internal port if filter device is out device")
Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Tested-by: Frode Nordahl <frode.nordahl@canonical.com>
Reviewed-by: Chris Mi <cmi@nvidia.com>
Reviewed-by: Ariel Levkovich <lariel@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241203204920.232744-7-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-04 19:43:46 -08:00
..
mlx4 mlx4: Add support for persistent NAPI config to RX CQs 2024-10-14 17:54:30 -07:00
mlx5/core net/mlx5e: Remove workaround to avoid syndrome for internal port 2024-12-04 19:43:46 -08:00
mlxbf_gige net: ethernet: Switch back to struct platform_driver::remove() 2024-10-04 16:39:56 -07:00
mlxfw mlxfw: Replace zero-length array with DECLARE_FLEX_ARRAY() helper 2023-05-17 21:24:47 -07:00
mlxsw mlxsw: spectrum_acl_flex_keys: Use correct key block on Spectrum-4 2024-12-04 19:18:35 -08:00
Kconfig Add Mellanox BlueField Gigabit Ethernet driver 2021-06-25 11:20:23 -07:00
Makefile Add Mellanox BlueField Gigabit Ethernet driver 2021-06-25 11:20:23 -07:00