From 6fd44a47a73e8de649ed8636e4972ef18e81aeae Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Tue, 21 Jul 2020 15:54:49 +0100 Subject: [PATCH] net/sfc: do not enforce hash offload in RSS multi-queue Rx RSS hash offload should be controlled by the user and should not be enforced by RSS multi-queue Rx mode. Fixes: 8b945a7f7dcb ("drivers/net: update Rx RSS hash offload capabilities") Cc: stable@dpdk.org Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_rx.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/sfc/sfc_rx.c b/drivers/net/sfc/sfc_rx.c index 7d22e2f8e2..a62ce4a17d 100644 --- a/drivers/net/sfc/sfc_rx.c +++ b/drivers/net/sfc/sfc_rx.c @@ -1561,10 +1561,6 @@ sfc_rx_check_mode(struct sfc_adapter *sa, struct rte_eth_rxmode *rxmode) rxmode->offloads |= DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM; } - if ((offloads_supported & DEV_RX_OFFLOAD_RSS_HASH) && - (rxmode->mq_mode & ETH_MQ_RX_RSS_FLAG)) - rxmode->offloads |= DEV_RX_OFFLOAD_RSS_HASH; - return rc; } -- 2.20.1