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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Sep 2021 12:17:39 +0000 (13:17 +0100)
commitfdbccea419dc782079ce5881d2705cc9e3881480
tree40f472d0d7a73af1ff2fb26256777ae270eb894c
parentacc64f52afac15e9e44d9b5253271346841786e0
net/mlx4_en: Don't allow aRFS for encapsulated packets

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>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c