]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_tx.c
net/sfc: fix TSO limits imposed to the number of Tx queues
[dpdk.git] / drivers / net / sfc / sfc_tx.c
index e772584326f3a25c0d07be3ffee632c84e2d2968..5a6282c318eac4fc5f1fae6057a087159edd0669 100644 (file)
@@ -312,11 +312,6 @@ sfc_tx_init(struct sfc_adapter *sa)
 
        sa->txq_count = sa->eth_dev->data->nb_tx_queues;
 
-       if (sa->tso)
-               sa->txq_count = MIN(sa->txq_count,
-                  efx_nic_cfg_get(sa->nic)->enc_fw_assisted_tso_v2_n_contexts /
-                  efx_nic_cfg_get(sa->nic)->enc_hw_pf_count);
-
        sa->txq_info = rte_calloc_socket("sfc-txqs", sa->txq_count,
                                         sizeof(sa->txq_info[0]), 0,
                                         sa->socket_id);