net/sfc: do not drop TSO on device configure
[dpdk.git] / drivers / net / sfc / sfc_tx.c
index d1a064e..3c4717f 100644 (file)
@@ -241,6 +241,8 @@ sfc_tx_qfini(struct sfc_adapter *sa, unsigned int sw_index)
 
        sfc_dma_free(sa, &txq->mem);
        rte_free(txq);
+
+       sfc_ev_qfini(sa, sfc_evq_index_by_txq_sw_index(sa, sw_index));
 }
 
 static int
@@ -305,9 +307,6 @@ sfc_tx_init(struct sfc_adapter *sa)
                goto fail_tx_dma_desc_boundary;
        }
 
-       if (~sa->dp_tx->features & SFC_DP_TX_FEAT_TSO)
-               sa->tso = B_FALSE;
-
        rc = sfc_tx_check_mode(sa, &dev_conf->txmode);
        if (rc != 0)
                goto fail_check_mode;