numam-dpdk/app
Viacheslav Ovsiienko 4940344dab app/testpmd: add Tx scheduling command
This commit adds testpmd capability to provide timestamps on the packets
being sent in the txonly mode. This includes:

 - SEND_ON_TIMESTAMP support
   new device Tx offload capability support added, example:

     testpmd> port config 0 tx_offload send_on_timestamp on

 - set txtimes, registers field and flag, example:

     testpmd> set txtimes 1000000,0

   This command enables the packet send scheduling on timestamps if
   the first parameter is not zero, generic format:

     testpmd> set txtimes (inter),(intra)

   where:

     inter - is the delay between the bursts in the device clock units.
     If "intra" (next parameter) is zero, this is the time between the
     beginnings of the first packets in the neighbour bursts, if "intra"
     is not zero, "inter" specifies the time between the beginning of
     the first packet of the current burst and the beginning of the last
     packet of the previous burst. If "inter"parameter is zero the send
     scheduling on timestamps is disabled (default).

     intra - is the delay between the packets within the burst specified
     in the device clock units. The number of packets in the burst is
     defined by regular burst setting. If "intra" parameter is zero no
     timestamps provided in the packets excepting  the first one in the
     burst.

     As the result the bursts of packet will be transmitted with
     specific delay between the packets within the burst and specific
     delay between the bursts. The rte_eth_read_clock() is supposed to
     be engaged to get the current device clock value and provide the
     reference for the timestamps. If there is no supported
     rte_eth_read_clock() there will be no provided send scheduling on
     the device.

 - show txtimes, displays the timing settings
 - txonly burst time pattern

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-07-11 06:18:54 +02:00
..
pdump app: fix usage help of options separated by dashes 2020-04-25 21:56:18 +02:00
proc-info app/procinfo: use strlcpy for copying string 2019-10-27 11:33:24 +01:00
test lpm: hide defer queue handle 2020-07-11 14:35:04 +02:00
test-acl app: fix usage help of options separated by dashes 2020-04-25 21:56:18 +02:00
test-bbdev baseband/fpga_5gnr_fec: add configure function 2020-04-19 22:34:26 +02:00
test-cmdline replace unused attributes 2020-04-16 18:30:58 +02:00
test-compress-perf build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
test-crypto-perf test/crypto-perf: add option to enable session HFN 2020-07-08 18:16:17 +02:00
test-eventdev app/eventdev: check Tx adapter service ID 2020-05-14 15:16:37 +02:00
test-fib app/fib: fix parsing of invalid line 2020-05-19 19:25:30 +02:00
test-flow-perf app/flow-perf: use macro for cache alignment 2020-06-30 11:57:46 +02:00
test-pipeline replace unused attributes 2020-04-16 18:30:58 +02:00
test-pmd app/testpmd: add Tx scheduling command 2020-07-11 06:18:54 +02:00
test-sad build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
Makefile app/flow-perf: add flow performance skeleton 2020-06-29 15:47:36 +02:00
meson.build build: remove unnecessary variable 2020-07-01 19:30:52 +02:00