app/eventdev: add option for global dequeue timeout
[dpdk.git] / doc / guides / tools / testeventdev.rst
1 ..  SPDX-License-Identifier: BSD-3-Clause
2     Copyright(c) 2017 Cavium, Inc
3
4 dpdk-test-eventdev Application
5 ==============================
6
7 The ``dpdk-test-eventdev`` tool is a Data Plane Development Kit (DPDK)
8 application that allows exercising various eventdev use cases.
9 This application has a generic framework to add new eventdev based test cases to
10 verify functionality and measure the performance parameters of DPDK eventdev
11 devices.
12
13 Compiling the Application
14 -------------------------
15
16 **Build the application**
17
18 Execute the ``dpdk-setup.sh`` script to build the DPDK library together with the
19 ``dpdk-test-eventdev`` application.
20
21 Initially, the user must select a DPDK target to choose the correct target type
22 and compiler options to use when building the libraries.
23 The user must have all libraries, modules, updates and compilers installed
24 in the system prior to this,
25 as described in the earlier chapters in this Getting Started Guide.
26
27 Running the Application
28 -----------------------
29
30 The application has a number of command line options:
31
32 .. code-block:: console
33
34    dpdk-test-eventdev [EAL Options] -- [application options]
35
36 EAL Options
37 ~~~~~~~~~~~
38
39 The following are the EAL command-line options that can be used in conjunction
40 with the ``dpdk-test-eventdev`` application.
41 See the DPDK Getting Started Guides for more information on these options.
42
43 *   ``-c <COREMASK>`` or ``-l <CORELIST>``
44
45         Set the hexadecimal bitmask of the cores to run on. The corelist is a
46         list of cores to use.
47
48 *   ``--vdev <driver><id>``
49
50         Add a virtual eventdev device.
51
52 Application Options
53 ~~~~~~~~~~~~~~~~~~~
54
55 The following are the application command-line options:
56
57 * ``--verbose``
58
59         Set verbose level. Default is 1. Value > 1 displays more details.
60
61 * ``--dev <n>``
62
63         Set the device id of the event device.
64
65 * ``--test <name>``
66
67         Set test name, where ``name`` is one of the following::
68
69          order_queue
70          order_atq
71          perf_queue
72          perf_atq
73          pipeline_atq
74          pipeline_queue
75
76 * ``--socket_id <n>``
77
78         Set the socket id of the application resources.
79
80 * ``--pool-sz <n>``
81
82         Set the number of mbufs to be allocated from the mempool.
83
84 * ``--plcores <CORELIST>``
85
86         Set the list of cores to be used as producers.
87
88 * ``--wlcores <CORELIST>``
89
90         Set the list of cores to be used as workers.
91
92 * ``--stlist <type_list>``
93
94         Set the scheduled type of each stage where ``type_list`` size
95         determines the number of stages used in the test application.
96         Each type_list member can be one of the following::
97
98             P or p : Parallel schedule type
99             O or o : Ordered schedule type
100             A or a : Atomic schedule type
101
102         Application expects the ``type_list`` in comma separated form (i.e. ``--stlist o,a,a,a``)
103
104 * ``--nb_flows <n>``
105
106         Set the number of flows to produce.
107
108 * ``--nb_pkts <n>``
109
110         Set the number of packets to produce. 0 implies no limit.
111
112 * ``--worker_deq_depth <n>``
113
114         Set the dequeue depth of the worker.
115
116 * ``--fwd_latency``
117
118         Perform forward latency measurement.
119
120 * ``--queue_priority``
121
122         Enable queue priority.
123
124 * ``--prod_type_ethdev``
125
126         Use ethernet device as producer.
127
128 * ``--prod_type_timerdev``
129
130         Use event timer adapter as producer.
131
132 * ``--prod_type_timerdev_burst``
133
134        Use burst mode event timer adapter as producer.
135
136 * ``--timer_tick_nsec``
137
138        Used to dictate number of nano seconds between bucket traversal of the
139        event timer adapter. Refer `rte_event_timer_adapter_conf`.
140
141 * ``--max_tmo_nsec``
142
143        Used to configure event timer adapter max arm timeout in nano seconds.
144
145 * ``--expiry_nsec``
146
147        Dictate the number of nano seconds after which the event timer expires.
148
149 * ``--nb_timers``
150
151        Number of event timers each producer core will generate.
152
153 * ``--nb_timer_adptrs``
154
155        Number of event timer adapters to be used. Each adapter is used in
156        round robin manner by the producer cores.
157
158 * ``--deq_tmo_nsec``
159
160        Global dequeue timeout for all the event ports if the provided dequeue
161        timeout is out of the supported range of event device it will be
162        adjusted to the highest/lowest supported dequeue timeout supported.
163
164
165 Eventdev Tests
166 --------------
167
168 ORDER_QUEUE Test
169 ~~~~~~~~~~~~~~~~
170
171 This is a functional test case that aims at testing the following:
172
173 #. Verify the ingress order maintenance.
174 #. Verify the exclusive(atomic) access to given atomic flow per eventdev port.
175
176 .. _table_eventdev_order_queue_test:
177
178 .. table:: Order queue test eventdev configuration.
179
180    +---+--------------+----------------+------------------------+
181    | # | Items        | Value          | Comments               |
182    |   |              |                |                        |
183    +===+==============+================+========================+
184    | 1 | nb_queues    | 2              | q0(ordered), q1(atomic)|
185    |   |              |                |                        |
186    +---+--------------+----------------+------------------------+
187    | 2 | nb_producers | 1              |                        |
188    |   |              |                |                        |
189    +---+--------------+----------------+------------------------+
190    | 3 | nb_workers   | >= 1           |                        |
191    |   |              |                |                        |
192    +---+--------------+----------------+------------------------+
193    | 4 | nb_ports     | nb_workers +   | Workers use port 0 to  |
194    |   |              | 1              | port n-1. Producer uses|
195    |   |              |                | port n                 |
196    +---+--------------+----------------+------------------------+
197
198 .. _figure_eventdev_order_queue_test:
199
200 .. figure:: img/eventdev_order_queue_test.*
201
202    order queue test operation.
203
204 The order queue test configures the eventdev with two queues and an event
205 producer to inject the events to q0(ordered) queue. Both q0(ordered) and
206 q1(atomic) are linked to all the workers.
207
208 The event producer maintains a sequence number per flow and injects the events
209 to the ordered queue. The worker receives the events from ordered queue and
210 forwards to atomic queue. Since the events from an ordered queue can be
211 processed in parallel on the different workers, the ingress order of events
212 might have changed on the downstream atomic queue enqueue. On enqueue to the
213 atomic queue, the eventdev PMD driver reorders the event to the original
214 ingress order(i.e producer ingress order).
215
216 When the event is dequeued from the atomic queue by the worker, this test
217 verifies the expected sequence number of associated event per flow by comparing
218 the free running expected sequence number per flow.
219
220 Application options
221 ^^^^^^^^^^^^^^^^^^^
222
223 Supported application command line options are following::
224
225    --verbose
226    --dev
227    --test
228    --socket_id
229    --pool_sz
230    --plcores
231    --wlcores
232    --nb_flows
233    --nb_pkts
234    --worker_deq_depth
235    --deq_tmo_nsec
236
237 Example
238 ^^^^^^^
239
240 Example command to run order queue test:
241
242 .. code-block:: console
243
244    sudo build/app/dpdk-test-eventdev --vdev=event_sw0 -- \
245                 --test=order_queue --plcores 1 --wlcores 2,3
246
247
248 ORDER_ATQ Test
249 ~~~~~~~~~~~~~~
250
251 This test verifies the same aspects of ``order_queue`` test, the difference is
252 the number of queues used, this test operates on a single ``all types queue(atq)``
253 instead of two different queues for ordered and atomic.
254
255 .. _table_eventdev_order_atq_test:
256
257 .. table:: Order all types queue test eventdev configuration.
258
259    +---+--------------+----------------+------------------------+
260    | # | Items        | Value          | Comments               |
261    |   |              |                |                        |
262    +===+==============+================+========================+
263    | 1 | nb_queues    | 1              | q0(all types queue)    |
264    |   |              |                |                        |
265    +---+--------------+----------------+------------------------+
266    | 2 | nb_producers | 1              |                        |
267    |   |              |                |                        |
268    +---+--------------+----------------+------------------------+
269    | 3 | nb_workers   | >= 1           |                        |
270    |   |              |                |                        |
271    +---+--------------+----------------+------------------------+
272    | 4 | nb_ports     | nb_workers +   | Workers use port 0 to  |
273    |   |              | 1              | port n-1.Producer uses |
274    |   |              |                | port n.                |
275    +---+--------------+----------------+------------------------+
276
277 .. _figure_eventdev_order_atq_test:
278
279 .. figure:: img/eventdev_order_atq_test.*
280
281    order all types queue test operation.
282
283 Application options
284 ^^^^^^^^^^^^^^^^^^^
285
286 Supported application command line options are following::
287
288    --verbose
289    --dev
290    --test
291    --socket_id
292    --pool_sz
293    --plcores
294    --wlcores
295    --nb_flows
296    --nb_pkts
297    --worker_deq_depth
298    --deq_tmo_nsec
299
300 Example
301 ^^^^^^^
302
303 Example command to run order ``all types queue`` test:
304
305 .. code-block:: console
306
307    sudo build/app/dpdk-test-eventdev --vdev=event_octeontx -- \
308                         --test=order_atq --plcores 1 --wlcores 2,3
309
310
311 PERF_QUEUE Test
312 ~~~~~~~~~~~~~~~
313
314 This is a performance test case that aims at testing the following:
315
316 #. Measure the number of events can be processed in a second.
317 #. Measure the latency to forward an event.
318
319 .. _table_eventdev_perf_queue_test:
320
321 .. table:: Perf queue test eventdev configuration.
322
323    +---+--------------+----------------+-----------------------------------------+
324    | # | Items        | Value          | Comments                                |
325    |   |              |                |                                         |
326    +===+==============+================+=========================================+
327    | 1 | nb_queues    | nb_producers * | Queues will be configured based on the  |
328    |   |              | nb_stages      | user requested sched type list(--stlist)|
329    +---+--------------+----------------+-----------------------------------------+
330    | 2 | nb_producers | >= 1           | Selected through --plcores command line |
331    |   |              |                | argument.                               |
332    +---+--------------+----------------+-----------------------------------------+
333    | 3 | nb_workers   | >= 1           | Selected through --wlcores command line |
334    |   |              |                | argument                                |
335    +---+--------------+----------------+-----------------------------------------+
336    | 4 | nb_ports     | nb_workers +   | Workers use port 0 to port n-1.         |
337    |   |              | nb_producers   | Producers use port n to port p          |
338    +---+--------------+----------------+-----------------------------------------+
339
340 .. _figure_eventdev_perf_queue_test:
341
342 .. figure:: img/eventdev_perf_queue_test.*
343
344    perf queue test operation.
345
346 The perf queue test configures the eventdev with Q queues and P ports, where
347 Q and P is a function of the number of workers, the number of producers and
348 number of stages as mentioned in :numref:`table_eventdev_perf_queue_test`.
349
350 The user can choose the number of workers, the number of producers and number of
351 stages through the ``--wlcores``, ``--plcores`` and the ``--stlist`` application
352 command line arguments respectively.
353
354 The producer(s) injects the events to eventdev based the first stage sched type
355 list requested by the user through ``--stlist`` the command line argument.
356
357 Based on the number of stages to process(selected through ``--stlist``),
358 The application forwards the event to next upstream queue and terminates when it
359 reaches the last stage in the pipeline. On event termination, application
360 increments the number events processed and print periodically in one second
361 to get the number of events processed in one second.
362
363 When ``--fwd_latency`` command line option selected, the application inserts
364 the timestamp in the event on the first stage and then on termination, it
365 updates the number of cycles to forward a packet. The application uses this
366 value to compute the average latency to a forward packet.
367
368 When ``--prod_type_ethdev`` command line option is selected, the application
369 uses the probed ethernet devices as producers by configuring them as Rx
370 adapters instead of using synthetic producers.
371
372 Application options
373 ^^^^^^^^^^^^^^^^^^^
374
375 Supported application command line options are following::
376
377         --verbose
378         --dev
379         --test
380         --socket_id
381         --pool_sz
382         --plcores
383         --wlcores
384         --stlist
385         --nb_flows
386         --nb_pkts
387         --worker_deq_depth
388         --fwd_latency
389         --queue_priority
390         --prod_type_ethdev
391         --prod_type_timerdev_burst
392         --prod_type_timerdev
393         --timer_tick_nsec
394         --max_tmo_nsec
395         --expiry_nsec
396         --nb_timers
397         --nb_timer_adptrs
398         --deq_tmo_nsec
399
400 Example
401 ^^^^^^^
402
403 Example command to run perf queue test:
404
405 .. code-block:: console
406
407    sudo build/app/dpdk-test-eventdev -c 0xf -s 0x1 --vdev=event_sw0 -- \
408         --test=perf_queue --plcores=2 --wlcore=3 --stlist=p --nb_pkts=0
409
410 Example command to run perf queue test with ethernet ports:
411
412 .. code-block:: console
413
414    sudo build/app/dpdk-test-eventdev --vdev=event_sw0 -- \
415         --test=perf_queue --plcores=2 --wlcore=3 --stlist=p --prod_type_ethdev
416
417 Example command to run perf queue test with event timer adapter:
418
419 .. code-block:: console
420
421    sudo  build/app/dpdk-test-eventdev --vdev="event_octeontx" -- \
422                 --wlcores 4 --plcores 12 --test perf_queue --stlist=a \
423                 --prod_type_timerdev --fwd_latency
424
425 PERF_ATQ Test
426 ~~~~~~~~~~~~~~~
427
428 This is a performance test case that aims at testing the following with
429 ``all types queue`` eventdev scheme.
430
431 #. Measure the number of events can be processed in a second.
432 #. Measure the latency to forward an event.
433
434 .. _table_eventdev_perf_atq_test:
435
436 .. table:: Perf all types queue test eventdev configuration.
437
438    +---+--------------+----------------+-----------------------------------------+
439    | # | Items        | Value          | Comments                                |
440    |   |              |                |                                         |
441    +===+==============+================+=========================================+
442    | 1 | nb_queues    | nb_producers   | Queues will be configured based on the  |
443    |   |              |                | user requested sched type list(--stlist)|
444    +---+--------------+----------------+-----------------------------------------+
445    | 2 | nb_producers | >= 1           | Selected through --plcores command line |
446    |   |              |                | argument.                               |
447    +---+--------------+----------------+-----------------------------------------+
448    | 3 | nb_workers   | >= 1           | Selected through --wlcores command line |
449    |   |              |                | argument                                |
450    +---+--------------+----------------+-----------------------------------------+
451    | 4 | nb_ports     | nb_workers +   | Workers use port 0 to port n-1.         |
452    |   |              | nb_producers   | Producers use port n to port p          |
453    +---+--------------+----------------+-----------------------------------------+
454
455 .. _figure_eventdev_perf_atq_test:
456
457 .. figure:: img/eventdev_perf_atq_test.*
458
459    perf all types queue test operation.
460
461
462 The ``all types queues(atq)`` perf test configures the eventdev with Q queues
463 and P ports, where Q and P is a function of the number of workers and number of
464 producers as mentioned in :numref:`table_eventdev_perf_atq_test`.
465
466
467 The atq queue test functions as same as ``perf_queue`` test. The difference
468 is, It uses, ``all type queue scheme`` instead of separate queues for each
469 stage and thus reduces the number of queues required to realize the use case
470 and enables flow pinning as the event does not move to the next queue.
471
472
473 Application options
474 ^^^^^^^^^^^^^^^^^^^
475
476 Supported application command line options are following::
477
478         --verbose
479         --dev
480         --test
481         --socket_id
482         --pool_sz
483         --plcores
484         --wlcores
485         --stlist
486         --nb_flows
487         --nb_pkts
488         --worker_deq_depth
489         --fwd_latency
490         --prod_type_ethdev
491         --prod_type_timerdev_burst
492         --prod_type_timerdev
493         --timer_tick_nsec
494         --max_tmo_nsec
495         --expiry_nsec
496         --nb_timers
497         --nb_timer_adptrs
498         --deq_tmo_nsec
499
500 Example
501 ^^^^^^^
502
503 Example command to run perf ``all types queue`` test:
504
505 .. code-block:: console
506
507    sudo build/app/dpdk-test-eventdev --vdev=event_octeontx -- \
508                 --test=perf_atq --plcores=2 --wlcore=3 --stlist=p --nb_pkts=0
509
510 Example command to run perf ``all types queue`` test with event timer adapter:
511
512 .. code-block:: console
513
514    sudo  build/app/dpdk-test-eventdev --vdev="event_octeontx" -- \
515                 --wlcores 4 --plcores 12 --test perf_atq --verbose 20 \
516                 --stlist=a --prod_type_timerdev --fwd_latency
517
518
519 PIPELINE_QUEUE Test
520 ~~~~~~~~~~~~~~~~~~~
521
522 This is a pipeline test case that aims at testing the following:
523
524 #. Measure the end-to-end performance of an event dev with a ethernet dev.
525 #. Maintain packet ordering from Rx to Tx.
526
527 .. _table_eventdev_pipeline_queue_test:
528
529 .. table:: Pipeline queue test eventdev configuration.
530
531    +---+--------------+----------------+-----------------------------------------+
532    | # | Items        | Value          | Comments                                |
533    |   |              |                |                                         |
534    +===+==============+================+=========================================+
535    | 1 | nb_queues    | (nb_producers  | Queues will be configured based on the  |
536    |   |              | * nb_stages) + | user requested sched type list(--stlist)|
537    |   |              | nb_producers   | At the last stage of the schedule list  |
538    |   |              |                | the event is enqueued onto per port     |
539    |   |              |                | unique queue which is then Transmitted. |
540    +---+--------------+----------------+-----------------------------------------+
541    | 2 | nb_producers | >= 1           | Producers will be configured based on   |
542    |   |              |                | the number of detected ethernet devices.|
543    |   |              |                | Each ethdev will be configured as an Rx |
544    |   |              |                | adapter.                                |
545    +---+--------------+----------------+-----------------------------------------+
546    | 3 | nb_workers   | >= 1           | Selected through --wlcores command line |
547    |   |              |                | argument                                |
548    +---+--------------+----------------+-----------------------------------------+
549    | 4 | nb_ports     | nb_workers +   | Workers use port 0 to port n.           |
550    |   |              | (nb_produces * | Producers use port n+1 to port n+m,     |
551    |   |              | 2)             | depending on the Rx adapter capability. |
552    |   |              |                | Consumers use port n+m+1 to port n+o    |
553    |   |              |                | depending on the Tx adapter capability. |
554    +---+--------------+----------------+-----------------------------------------+
555
556 .. _figure_eventdev_pipeline_queue_test_generic:
557
558 .. figure:: img/eventdev_pipeline_queue_test_generic.*
559
560 .. _figure_eventdev_pipeline_queue_test_internal_port:
561
562 .. figure:: img/eventdev_pipeline_queue_test_internal_port.*
563
564    pipeline queue test operation.
565
566 The pipeline queue test configures the eventdev with Q queues and P ports,
567 where Q and P is a function of the number of workers, the number of producers
568 and number of stages as mentioned in :numref:`table_eventdev_pipeline_queue_test`.
569
570 The user can choose the number of workers and number of stages through the
571 ``--wlcores`` and the ``--stlist`` application command line arguments
572 respectively.
573
574 The number of producers depends on the number of ethernet devices detected and
575 each ethernet device is configured as a event_eth_rx_adapter that acts as a
576 producer.
577
578 The producer(s) injects the events to eventdev based the first stage sched type
579 list requested by the user through ``--stlist`` the command line argument.
580
581 Based on the number of stages to process(selected through ``--stlist``),
582 The application forwards the event to next upstream queue and when it reaches
583 the last stage in the pipeline if the event type is ``atomic`` it is enqueued
584 onto ethdev Tx queue else to maintain ordering the event type is set to
585 ``atomic`` and enqueued onto the last stage queue.
586
587 If the ethdev and eventdev pair have ``RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT``
588 capability then the worker cores enqueue the packets to the eventdev directly
589 using ``rte_event_eth_tx_adapter_enqueue`` else the worker cores enqueue the
590 packet onto the ``SINGLE_LINK_QUEUE`` that is managed by the Tx adapter.
591 The Tx adapter dequeues the packet and transmits it.
592
593 On packet Tx, application increments the number events processed and print
594 periodically in one second to get the number of events processed in one
595 second.
596
597
598 Application options
599 ^^^^^^^^^^^^^^^^^^^
600
601 Supported application command line options are following::
602
603         --verbose
604         --dev
605         --test
606         --socket_id
607         --pool_sz
608         --wlcores
609         --stlist
610         --worker_deq_depth
611         --prod_type_ethdev
612         --deq_tmo_nsec
613
614
615 .. Note::
616
617     * The ``--prod_type_ethdev`` is mandatory for running this test.
618
619 Example
620 ^^^^^^^
621
622 Example command to run pipeline queue test:
623
624 .. code-block:: console
625
626     sudo build/app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=event_sw0 -- \
627         --test=pipeline_queue --wlcore=1 --prod_type_ethdev --stlist=a
628
629
630 PIPELINE_ATQ Test
631 ~~~~~~~~~~~~~~~~~~~
632
633 This is a pipeline test case that aims at testing the following with
634 ``all types queue`` eventdev scheme.
635
636 #. Measure the end-to-end performance of an event dev with a ethernet dev.
637 #. Maintain packet ordering from Rx to Tx.
638
639 .. _table_eventdev_pipeline_atq_test:
640
641 .. table:: Pipeline atq test eventdev configuration.
642
643    +---+--------------+----------------+-----------------------------------------+
644    | # | Items        | Value          | Comments                                |
645    |   |              |                |                                         |
646    +===+==============+================+=========================================+
647    | 1 | nb_queues    | nb_producers + | Queues will be configured based on the  |
648    |   |              | x              | user requested sched type list(--stlist)|
649    |   |              |                | where x = nb_producers in generic       |
650    |   |              |                | pipeline and 0 if all the ethdev        |
651    |   |              |                | being used have Internal port capability|
652    +---+--------------+----------------+-----------------------------------------+
653    | 2 | nb_producers | >= 1           | Producers will be configured based on   |
654    |   |              |                | the number of detected ethernet devices.|
655    |   |              |                | Each ethdev will be configured as an Rx |
656    |   |              |                | adapter.                                |
657    +---+--------------+----------------+-----------------------------------------+
658    | 3 | nb_workers   | >= 1           | Selected through --wlcores command line |
659    |   |              |                | argument                                |
660    +---+--------------+----------------+-----------------------------------------+
661    | 4 | nb_ports     | nb_workers +   | Workers use port 0 to port n.           |
662    |   |              | nb_producers + | Producers use port n+1 to port n+m,     |
663    |   |              | x              | depending on the Rx adapter capability. |
664    |   |              |                | x = nb_producers in generic pipeline and|
665    |   |              |                | 0 if all the ethdev being used have     |
666    |   |              |                | Internal port capability.               |
667    |   |              |                | Consumers may use port n+m+1 to port n+o|
668    |   |              |                | depending on the Tx adapter capability. |
669    +---+--------------+----------------+-----------------------------------------+
670
671 .. _figure_eventdev_pipeline_atq_test_generic:
672
673 .. figure:: img/eventdev_pipeline_atq_test_generic.*
674
675 .. _figure_eventdev_pipeline_atq_test_internal_port:
676
677 .. figure:: img/eventdev_pipeline_atq_test_internal_port.*
678
679    pipeline atq test operation.
680
681 The pipeline atq test configures the eventdev with Q queues and P ports,
682 where Q and P is a function of the number of workers, the number of producers
683 and number of stages as mentioned in :numref:`table_eventdev_pipeline_atq_test`.
684
685 The atq queue test functions as same as ``pipeline_queue`` test. The difference
686 is, It uses, ``all type queue scheme`` instead of separate queues for each
687 stage and thus reduces the number of queues required to realize the use case.
688
689
690 Application options
691 ^^^^^^^^^^^^^^^^^^^
692
693 Supported application command line options are following::
694
695         --verbose
696         --dev
697         --test
698         --socket_id
699         --pool_sz
700         --wlcores
701         --stlist
702         --worker_deq_depth
703         --prod_type_ethdev
704         --deq_tmo_nsec
705
706
707 .. Note::
708
709     * The ``--prod_type_ethdev`` is mandatory for running this test.
710
711 Example
712 ^^^^^^^
713
714 Example command to run pipeline queue test:
715
716 .. code-block:: console
717
718     sudo build/app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=event_sw0 -- \
719         --test=pipeline_atq --wlcore=1 --prod_type_ethdev --stlist=a