net/sfc: allow to query RSS key and HF when RSS is disabled
[dpdk.git] / drivers / net / sfc / sfc_ethdev.c
index 00f0880..b2e17f2 100644 (file)
@@ -1358,9 +1358,6 @@ sfc_dev_rss_hash_conf_get(struct rte_eth_dev *dev,
        if (rss->context_type != EFX_RX_SCALE_EXCLUSIVE)
                return -ENOTSUP;
 
-       if (rss->channels == 0)
-               return -EINVAL;
-
        sfc_adapter_lock(sa);
 
        /*