mbox series

[00/45] add eal clean up to the example

Message ID 1618366270-1862-1-git-send-email-humin29@huawei.com (mailing list archive)
Headers show
Series add eal clean up to the example | expand

Message

Min Hu (Connor) April 14, 2021, 2:10 a.m. UTC
According to the programming guide, the rte_eal_init should be used pairs
with rte_eal_cleanup.

This set of patches add eal clean up to the examples.

Chengchang Tang (45):
  examples/bddev_app: add eal cleanup to bbdev app
  examples/bond: add eal cleanup to bond example
  examples/cmdline: add eal cleanup to cmdline app
  examples/distributor: add eal cleanup to distributor app
  examples/ethtool: add eal cleanup to ethtool
  examples/fips_validation: add eal cleanup to FIPS example
  examples/flow_classify: add eal cleanup to flow classify app
  examples/flow_filtering: add eal cleanup to flow filter app
  examples/helloworld: add eal cleanup to helloworld example
  examples/ioat: add eal cleanup to ioat examples
  examples/ip_fragmentation: add eal cleanup
  examples/ip_reassembly: add eal cleanup to ip reassembly app
  examples/ipsec-secgw: add eal cleanup to IPsec sample
  examples/ipv4_multicast: add eal cleanup to multicast sample
  examples/kni: add eal cleanup to kni example
  examples/l2fwd: add eal cleanup to L2 fwd example
  examples/l2fwd-cat: add eal cleanup to L2 fwd CAT example
  examples/l2fwd-crypto: add eal cleanup to L2 fwd crypto app
  examples/l2fwd-event: add eal cleanup to L2 fwd event app
  examples/l2fwd-jobstats: add eal cleanup
  examples/l2fwd-keepalive: add eal cleanup to example
  examples/l3fwd: add eal cleanup to L3 fwd app
  examples/l3fwd-keepalive: add eal cleanup
  examples/l3fwd-graph: add eal cleanup to graph based L3 FWD
  examples/link_status_interrupt: add eal cleanup
  examples/multi_process: add eal cleanup
  examples/ntb: add eal cleanup to NTB FWD sample
  examples/packet_ordering: add eal cleanup
  examples/performance-thread: add eal cleanup
  examples/pipeline: add eal cleanup to pipeline example
  examples/ptpclient: add eal cleanup to ptpclient example
  examples/qos_meter: add eal cleanup to QOS meter example
  examples/qos_sched: add eal cleanup
  examples/rxtx_callbacks: add eal cleanup
  examples/server_node_efd: add eal cleanup
  examples/service_cores: add eal cleanup
  examples/skeleton: add eal cleanup
  examples/timer: add eal cleanup to timer example
  examples/vdpa: add eal cleanup to vDPA example
  examples/vhost: add eal cleanup to vhost example
  examples/vhost_blk: add eal cleanup
  examples/vhost_crypto: add eal cleanup
  examples/vmdq: add eal cleanup
  examples/vmdq_dcb: add eal cleanup
  examples/vm_power_manager: add eal cleanup

 examples/bbdev_app/main.c                                  | 3 +++
 examples/bond/main.c                                       | 4 ++++
 examples/cmdline/main.c                                    | 3 +++
 examples/distributor/main.c                                | 3 +++
 examples/ethtool/ethtool-app/main.c                        | 3 +++
 examples/fips_validation/main.c                            | 3 +++
 examples/flow_classify/flow_classify.c                     | 3 +++
 examples/flow_filtering/main.c                             | 7 ++++++-
 examples/helloworld/main.c                                 | 4 ++++
 examples/ioat/ioatfwd.c                                    | 3 +++
 examples/ip_fragmentation/main.c                           | 3 +++
 examples/ip_reassembly/main.c                              | 3 +++
 examples/ipsec-secgw/ipsec-secgw.c                         | 3 +++
 examples/ipv4_multicast/main.c                             | 3 +++
 examples/kni/main.c                                        | 3 +++
 examples/l2fwd-cat/l2fwd-cat.c                             | 3 +++
 examples/l2fwd-crypto/main.c                               | 3 +++
 examples/l2fwd-event/main.c                                | 3 +++
 examples/l2fwd-jobstats/main.c                             | 3 +++
 examples/l2fwd-keepalive/main.c                            | 4 ++++
 examples/l2fwd/main.c                                      | 3 +++
 examples/l3fwd-acl/main.c                                  | 3 +++
 examples/l3fwd-graph/main.c                                | 3 +++
 examples/l3fwd/main.c                                      | 4 ++++
 examples/link_status_interrupt/main.c                      | 3 +++
 examples/multi_process/client_server_mp/mp_client/client.c | 3 +++
 examples/multi_process/client_server_mp/mp_server/main.c   | 4 ++++
 examples/multi_process/simple_mp/main.c                    | 4 ++++
 examples/multi_process/symmetric_mp/main.c                 | 3 +++
 examples/ntb/ntb_fwd.c                                     | 3 +++
 examples/packet_ordering/main.c                            | 4 ++++
 examples/performance-thread/l3fwd-thread/main.c            | 3 +++
 examples/performance-thread/pthread_shim/main.c            | 4 ++++
 examples/pipeline/main.c                                   | 3 +++
 examples/ptpclient/ptpclient.c                             | 3 +++
 examples/qos_meter/main.c                                  | 3 +++
 examples/qos_sched/main.c                                  | 3 +++
 examples/rxtx_callbacks/main.c                             | 4 ++++
 examples/server_node_efd/node/node.c                       | 3 +++
 examples/server_node_efd/server/main.c                     | 4 ++++
 examples/service_cores/main.c                              | 3 +++
 examples/skeleton/basicfwd.c                               | 3 +++
 examples/timer/main.c                                      | 3 +++
 examples/vdpa/main.c                                       | 3 +++
 examples/vhost/main.c                                      | 4 +++-
 examples/vhost_blk/vhost_blk.c                             | 3 +++
 examples/vhost_crypto/main.c                               | 3 +++
 examples/vm_power_manager/guest_cli/main.c                 | 3 +++
 examples/vm_power_manager/main.c                           | 3 +++
 examples/vmdq/main.c                                       | 3 +++
 examples/vmdq_dcb/main.c                                   | 3 +++
 51 files changed, 166 insertions(+), 2 deletions(-)

Comments

Thomas Monjalon April 14, 2021, 8:23 a.m. UTC | #1
14/04/2021 04:10, Min Hu (Connor):
> According to the programming guide, the rte_eal_init should be used pairs
> with rte_eal_cleanup.
> 
> This set of patches add eal clean up to the examples.

Thank you

> Chengchang Tang (45):

It can be a single patch for all examples.
Min Hu (Connor) April 15, 2021, 2:27 a.m. UTC | #2
在 2021/4/14 16:23, Thomas Monjalon 写道:
> 14/04/2021 04:10, Min Hu (Connor):
>> According to the programming guide, the rte_eal_init should be used pairs
>> with rte_eal_cleanup.
>>
>> This set of patches add eal clean up to the examples.
> 
> Thank you
> 
>> Chengchang Tang (45):
> 
> It can be a single patch for all examples.
> 
Well, merge to a single patch in v2, please check it, thanks.
> 
> .
>