]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/testpmd.c
app/testpmd: fix Tx first with LSC interrupt
[dpdk.git] / app / test-pmd / testpmd.c
index 9a36e6664e23ee120fcd41fb0113335e66514324..7d40139416c59279b221f8398f524c81afea76f5 100644 (file)
@@ -2329,6 +2329,13 @@ main(int argc, char** argv)
        if (tx_first && interactive)
                rte_exit(EXIT_FAILURE, "--tx-first cannot be used on "
                                "interactive mode.\n");
+
+       if (tx_first && lsc_interrupt) {
+               printf("Warning: lsc_interrupt needs to be off when "
+                               " using tx_first. Disabling.\n");
+               lsc_interrupt = 0;
+       }
+
        if (!nb_rxq && !nb_txq)
                printf("Warning: Either rx or tx queues should be non-zero\n");