From: Andrew Rybchenko Date: Tue, 21 Jul 2020 14:54:49 +0000 (+0100) Subject: net/sfc: do not enforce hash offload in RSS multi-queue X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6fd44a47a73e8de649ed8636e4972ef18e81aeae;p=dpdk.git 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 --- 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; }