net/mlx5: rearrange creation of WQ and CQ object
[dpdk.git] / drivers / net / sfc / sfc_rx.c
index 183589c..a62ce4a 100644 (file)
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  *
- * Copyright (c) 2016-2018 Solarflare Communications Inc.
- * All rights reserved.
+ * Copyright(c) 2019-2020 Xilinx, Inc.
+ * Copyright(c) 2016-2019 Solarflare Communications Inc.
  *
  * This software was jointly developed between OKTET Labs (under contract
  * for Solarflare) and Solarflare Communications, Inc.
@@ -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;
 }