<snip>

> Hi Joyce,
> 
> > -----Original Message-----
> > From: Joyce Kong <joyce.k...@arm.com>
> > Sent: Monday, August 23, 2021 1:50 PM
> > To: Chas Williams <ch...@att.com>; Min Hu (Connor)
> > <humi...@huawei.com>; Ananyev, Konstantin
> > <konstantin.anan...@intel.com>; Nicolau, Radu
> > <radu.nico...@intel.com>; Akhil Goyal <gak...@marvell.com>; Doherty,
> > Declan <declan.dohe...@intel.com>; Sunil Kumar Kori
> > <sk...@marvell.com>; Pavan Nikhilesh <pbhagavat...@marvell.com>;
> > Richardson, Bruce <bruce.richard...@intel.com>; Hunt, David
> > <david.h...@intel.com>; Burakov, Anatoly <anatoly.bura...@intel.com>;
> > Marohn, Byron <byron.mar...@intel.com>; Wang, Yipeng1
> > <yipeng1.w...@intel.com>; Maxime Coquelin
> > <maxime.coque...@redhat.com>; Xia, Chenbo <chenbo....@intel.com>
> > Cc: dev@dpdk.org; tho...@monjalon.net; david.march...@redhat.com;
> > honnappa.nagaraha...@arm.com; ruifeng.w...@arm.com; n...@arm.com
> > Subject: [PATCH v2 8/8] examples: remove unnecessary include of atomic
> >
> > Remove the unnecessary header file rte_atomic.h included in example
> > module.
> >
> > Signed-off-by: Joyce Kong <joyce.k...@arm.com>
> > Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com>
> > ---
> >  examples/bond/main.c                                       | 1 -
> >  examples/ip_fragmentation/main.c                           | 1 -
> >  examples/ip_reassembly/main.c                              | 1 -
> >  examples/ipsec-secgw/ipsec-secgw.c                         | 1 -
> >  examples/ipv4_multicast/main.c                             | 1 -
> >  examples/l2fwd-crypto/main.c                               | 1 -
> >  examples/l2fwd-event/l2fwd_common.h                        | 1 -
> >  examples/l2fwd-event/l2fwd_event.c                         | 1 -
> >  examples/l2fwd-keepalive/main.c                            | 1 -
> >  examples/l2fwd/main.c                                      | 1 -
> >  examples/l3fwd-acl/main.c                                  | 1 -
> >  examples/l3fwd-power/main.c                                | 1 -
> >  examples/l3fwd/main.c                                      | 1 -
> >  examples/link_status_interrupt/main.c                      | 1 -
> >  examples/multi_process/client_server_mp/mp_client/client.c | 1 -
> >  examples/multi_process/client_server_mp/mp_server/init.c   | 1 -
> >  examples/multi_process/simple_mp/main.c                    | 1 -
> >  examples/multi_process/simple_mp/mp_commands.c             | 1 -
> >  examples/multi_process/symmetric_mp/main.c                 | 1 -
> >  examples/server_node_efd/node/node.c                       | 1 -
> >  examples/server_node_efd/server/init.c                     | 1 -
> >  examples/vhost_blk/blk.c                                   | 1 -
> >  examples/vhost_blk/vhost_blk.c                             | 1 -
> 
> In vhost_blk.c, some atomic API is used (rte_atomic_thread_fence).
> Although it compiles well, I think it's better to keep the include rather than
> depending on other header includes rte_atomic.h.
> 
> Thanks,
> Chenbo
> 

Hi Chenbo, thanks for your suggestion, I'll rework with this patch in next 
version.

Joyce

> >  examples/vm_power_manager/channel_manager.c                | 1 -
> >  examples/vm_power_manager/channel_manager.h                | 1 -
> >  examples/vmdq/main.c                                       | 1 -
> >  examples/vmdq_dcb/main.c                                   | 1 -
> >  27 files changed, 27 deletions(-)

Reply via email to