DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/8] use compiler atomic builtins for examples
@ 2021-08-23  5:49 Joyce Kong
  2021-08-23  5:49 ` [dpdk-dev] [PATCH v2 1/8] examples/bbdev_app: use compiler atomics for flag sync Joyce Kong
                   ` (8 more replies)
  0 siblings, 9 replies; 23+ messages in thread
From: Joyce Kong @ 2021-08-23  5:49 UTC (permalink / raw)
  Cc: dev, thomas, david.marchand, honnappa.nagarahalli, ruifeng.wang, nd

Since atomic operations have been adopted in DPDK now[1],
change rte_atomicNN_xxx APIs to compiler's atomic built-ins
in examples module[2].

[1] https://www.dpdk.org/blog/2021/03/26/dpdk-adopts-the-c11-memory-model/
[2] https://doc.dpdk.org/guides/rel_notes/deprecation.html

v2:
  Fix the compiling error of performance-thread patch.

Joyce Kong (8):
  examples/bbdev_app: use compiler atomics for flag sync
  examples/multi_process: use compiler atomics for sync
  examples/kni: use compiler atomics for status sync
  examples/performance-thread: use compiler atomics for sync
  examples/l2fwd-jobstats: use compiler atomics for stats sync
  examples/vm_power_manager: use compiler atomics for sync
  examples/server_node_efd: use compiler atomics for sync
  examples: remove unnecessary include of atomic

 examples/bbdev_app/main.c                     | 13 ++++---
 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/kni/main.c                           | 27 +++++++--------
 examples/l2fwd-crypto/main.c                  |  1 -
 examples/l2fwd-event/l2fwd_common.h           |  1 -
 examples/l2fwd-event/l2fwd_event.c            |  1 -
 examples/l2fwd-jobstats/main.c                | 11 +++---
 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 -
 .../client_server_mp/mp_client/client.c       |  1 -
 .../client_server_mp/mp_server/init.c         |  1 -
 .../client_server_mp/mp_server/main.c         |  7 ++--
 examples/multi_process/simple_mp/main.c       |  1 -
 .../multi_process/simple_mp/mp_commands.c     |  1 -
 examples/multi_process/symmetric_mp/main.c    |  1 -
 examples/performance-thread/common/lthread.c  | 10 +++---
 .../performance-thread/common/lthread_diag.h  | 10 +++---
 .../performance-thread/common/lthread_int.h   |  1 -
 .../performance-thread/common/lthread_mutex.c | 26 +++++++-------
 .../performance-thread/common/lthread_mutex.h |  2 +-
 .../performance-thread/common/lthread_sched.c | 34 ++++++++-----------
 .../performance-thread/common/lthread_tls.c   |  5 +--
 .../performance-thread/l3fwd-thread/main.c    | 22 +++++-------
 examples/server_node_efd/node/node.c          |  1 -
 examples/server_node_efd/server/init.c        |  1 -
 examples/server_node_efd/server/main.c        |  7 ++--
 examples/vhost_blk/blk.c                      |  1 -
 examples/vhost_blk/vhost_blk.c                |  1 -
 examples/vm_power_manager/channel_manager.c   |  1 -
 examples/vm_power_manager/channel_manager.h   |  1 -
 examples/vm_power_manager/channel_monitor.c   | 11 +++---
 examples/vmdq/main.c                          |  1 -
 examples/vmdq_dcb/main.c                      |  1 -
 41 files changed, 91 insertions(+), 122 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2021-10-19 15:13 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-23  5:49 [dpdk-dev] [PATCH v2 0/8] use compiler atomic builtins for examples Joyce Kong
2021-08-23  5:49 ` [dpdk-dev] [PATCH v2 1/8] examples/bbdev_app: use compiler atomics for flag sync Joyce Kong
2021-08-23  5:49 ` [dpdk-dev] [PATCH v2 2/8] examples/multi_process: use compiler atomics for sync Joyce Kong
2021-08-23  5:49 ` [dpdk-dev] [PATCH v2 3/8] examples/kni: use compiler atomics for status sync Joyce Kong
2021-08-23  5:49 ` [dpdk-dev] [PATCH v2 4/8] examples/performance-thread: use compiler atomics for sync Joyce Kong
2021-08-23  5:49 ` [dpdk-dev] [PATCH v2 5/8] examples/l2fwd-jobstats: use compiler atomics for stats sync Joyce Kong
2021-08-23  5:49 ` [dpdk-dev] [PATCH v2 6/8] examples/vm_power_manager: use compiler atomics for sync Joyce Kong
2021-08-23  5:49 ` [dpdk-dev] [PATCH v2 7/8] examples/server_node_efd: " Joyce Kong
2021-08-23  5:49 ` [dpdk-dev] [PATCH v2 8/8] examples: remove unnecessary include of atomic Joyce Kong
2021-08-23 11:29   ` Xia, Chenbo
2021-08-24  2:30     ` Joyce Kong
2021-10-13 18:53 ` [dpdk-dev] [PATCH v3 0/8] use compiler atomic builtins for examples Dharmik Thakkar
2021-10-13 18:54   ` [dpdk-dev] [PATCH v3 1/8] examples/bbdev_app: use compiler atomics for flag sync Dharmik Thakkar
2021-10-13 18:54   ` [dpdk-dev] [PATCH v3 2/8] examples/multi_process: use compiler atomics for sync Dharmik Thakkar
2021-10-13 18:54   ` [dpdk-dev] [PATCH v3 3/8] examples/kni: use compiler atomics for status sync Dharmik Thakkar
2021-10-13 18:54   ` [dpdk-dev] [PATCH v3 4/8] examples/performance-thread: use compiler atomics for sync Dharmik Thakkar
2021-10-13 18:54   ` [dpdk-dev] [PATCH v3 5/8] examples/l2fwd-jobstats: use compiler atomics for stats sync Dharmik Thakkar
2021-10-13 18:54   ` [dpdk-dev] [PATCH v3 6/8] examples/vm_power_manager: use compiler atomics for sync Dharmik Thakkar
2021-10-13 18:54   ` [dpdk-dev] [PATCH v3 7/8] examples/server_node_efd: " Dharmik Thakkar
2021-10-13 18:54   ` [dpdk-dev] [PATCH v3 8/8] examples: remove unnecessary include of atomic Dharmik Thakkar
2021-10-15 23:30     ` Dharmik Thakkar
2021-10-19 15:12       ` David Marchand
2021-10-19 15:12   ` [dpdk-dev] [PATCH v3 0/8] use compiler atomic builtins for examples David Marchand

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git