Already checked in ethdev now.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 drivers/net/enetfec/enet_ethdev.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/drivers/net/enetfec/enet_ethdev.c 
b/drivers/net/enetfec/enet_ethdev.c
index 91c0f60490..d8c81f4a70 100644
--- a/drivers/net/enetfec/enet_ethdev.c
+++ b/drivers/net/enetfec/enet_ethdev.c
@@ -377,12 +377,6 @@ enetfec_tx_queue_setup(struct rte_eth_dev *dev,
                sizeof(struct bufdesc);
        unsigned int dsize_log2 = rte_fls_u64(dsize) - 1;
 
-       /* Tx deferred start is not supported */
-       if (tx_conf->tx_deferred_start) {
-               ENETFEC_PMD_ERR("Tx deferred start not supported");
-               return -EINVAL;
-       }
-
        /* allocate transmit queue */
        txq = rte_zmalloc(NULL, sizeof(*txq), RTE_CACHE_LINE_SIZE);
        if (txq == NULL) {
@@ -456,12 +450,6 @@ enetfec_rx_queue_setup(struct rte_eth_dev *dev,
                        sizeof(struct bufdesc);
        unsigned int dsize_log2 = rte_fls_u64(dsize) - 1;
 
-       /* Rx deferred start is not supported */
-       if (rx_conf->rx_deferred_start) {
-               ENETFEC_PMD_ERR("Rx deferred start not supported");
-               return -EINVAL;
-       }
-
        if (queue_idx >= ENETFEC_MAX_Q) {
                ENETFEC_PMD_ERR("Invalid queue id %" PRIu16 ", max %d",
                        queue_idx, ENETFEC_MAX_Q);
-- 
2.45.2

Reply via email to