]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_ethdev.c
net/sfc: remove RxQ control from shared RxQ info
[dpdk.git] / drivers / net / sfc / sfc_ethdev.c
index a00ea9ce4096141ceecada315f3f1d06a351b7a5..3d38bf661534dec2c059643012005dfc5b30fa5f 100644 (file)
@@ -1196,7 +1196,7 @@ sfc_rx_queue_start(struct rte_eth_dev *dev, uint16_t rx_queue_id)
        if (sa->state != SFC_ADAPTER_STARTED)
                goto fail_not_started;
 
-       if (sa->rxq_info[rx_queue_id].rxq == NULL)
+       if (sa->rxq_info[rx_queue_id].state != SFC_RXQ_INITIALIZED)
                goto fail_not_setup;
 
        rc = sfc_rx_qstart(sa, rx_queue_id);