OSDN Git Service

net: qed: Disable aRFS for NPAR and 100G
authorDmitry Bogdanov <dbogdanov@marvell.com>
Wed, 9 Sep 2020 17:43:08 +0000 (20:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2020 21:28:18 +0000 (14:28 -0700)
commit2d2fe8433796603091ac8ea235b9165ac5a85f9a
tree8a789237a812327d6e4f2803e043f1e4aba16972
parenta19454b60963a50d12b4f919723c0b1250f7ef7f
net: qed: Disable aRFS for NPAR and 100G

In CMT and NPAR the PF is unknown when the GFS block processes the
packet. Therefore cannot use searcher as it has a per PF database,
and thus ARFS must be disabled.

Fixes: d51e4af5c209 ("qed: aRFS infrastructure support")
Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Dmitry Bogdanov <dbogdanov@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_l2.c
drivers/net/ethernet/qlogic/qed/qed_main.c
include/linux/qed/qed_if.h