numam-dpdk/app
David Hunt 8820cba4d9 app/testpmd: fix Tx first with LSC interrupt
The lsc_interrupt flag is enabled by default, and when the --tx-first is
used as a command line parameter, the 32 packets can be sent out before
the link state is up, resulting in the loss of the packets, and no further
forwarding will take place.

E.g. ./build/app/testpmd -c f0 -- --tx-first --stats-period 1

When the --tx-first is used, the lsc_interrupt flag needs to be disabled,
ensuring the links are up before forwarding traffic.  Therefore, during the
parameter checking at startup, if --tx-first is used, we now warn the user,
and set lsc_interrupt to 0.

Fixes: 99cabef088 ("app/testpmd: add parameter to start forwarding Tx first")

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2017-08-03 23:42:08 +02:00
..
pdump ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
proc_info app/procinfo: remove duplicate include 2017-07-16 17:30:24 +02:00
test-crypto-perf app/crypto-perf: fix CSV output 2017-07-28 18:47:49 +02:00
test-eventdev app/testeventdev: fix divide by zero in stats 2017-07-31 22:43:48 +02:00
test-pmd app/testpmd: fix Tx first with LSC interrupt 2017-08-03 23:42:08 +02:00
Makefile app/testeventdev: introduce dpdk-test-eventdev app 2017-07-07 09:30:46 +02:00