net/sfc: do not enforce hash offload in RSS multi-queue
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 21 Jul 2020 14:54:49 +0000 (15:54 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 16:13:45 +0000 (18:13 +0200)
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 <arybchenko@solarflare.com>
drivers/net/sfc/sfc_rx.c

index 7d22e2f..a62ce4a 100644 (file)
@@ -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;
 }