net/mlx4_en: Don't allow aRFS for encapsulated packets
authorAya Levin <ayal@nvidia.com>
Thu, 23 Sep 2021 06:51:45 +0000 (09:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Oct 2021 13:05:06 +0000 (15:05 +0200)
commit5dbb82342ac4e202261e7af0358c2bbb622d6131
tree90e692190efacb3ac260ac10c1f671df4e0c49ef
parent0c8ff25583b57f12c823b27d58b848f095cc20e0
net/mlx4_en: Don't allow aRFS for encapsulated packets

[ Upstream commit fdbccea419dc782079ce5881d2705cc9e3881480 ]

Driver doesn't support aRFS for encapsulated packets, return early error
in such a case.

Fixes: 1eb8c695bda9 ("net/mlx4_en: Add accelerated RFS support")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c