DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jie Hai <haijie1@huawei.com>
To: <dev@dpdk.org>
Cc: <lihuisong@huawei.com>, <fengchengwen@huawei.com>,
	<liudongdong3@huawei.com>, <haijie1@huawei.com>
Subject: [PATCH 0/2] bugfix and replace on use of stdatomic API
Date: Mon, 11 Dec 2023 15:39:02 +0800	[thread overview]
Message-ID: <20231211073904.811243-1-haijie1@huawei.com> (raw)

This patchset fixes bug on stdatomic API in lib and test,
and replaces all __atomic_XX with rte_atomic_XXX of hns3 driver.

Jie Hai (2):
  eal: fix constraints on stdatomic API
  net/hns3: use stdatomic API

 app/test/test_atomic.c               |  6 +--
 drivers/net/hns3/hns3_cmd.c          | 24 ++++++----
 drivers/net/hns3/hns3_dcb.c          |  3 +-
 drivers/net/hns3/hns3_ethdev.c       | 52 +++++++++++++--------
 drivers/net/hns3/hns3_ethdev.h       | 36 ++++++++-------
 drivers/net/hns3/hns3_ethdev_vf.c    | 68 +++++++++++++++-------------
 drivers/net/hns3/hns3_intr.c         | 47 ++++++++++---------
 drivers/net/hns3/hns3_intr.h         |  4 +-
 drivers/net/hns3/hns3_mbx.c          |  9 ++--
 drivers/net/hns3/hns3_mp.c           |  9 ++--
 drivers/net/hns3/hns3_rxtx.c         | 15 ++++--
 drivers/net/hns3/hns3_tm.c           |  6 ++-
 lib/eal/include/generic/rte_atomic.h | 12 ++---
 13 files changed, 169 insertions(+), 122 deletions(-)

-- 
2.30.0


             reply	other threads:[~2023-12-11  7:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-11  7:39 Jie Hai [this message]
2023-12-11  7:39 ` [PATCH 1/2] eal: fix constraints on " Jie Hai
2023-12-11 18:53   ` Tyler Retzlaff
2023-12-15  2:47     ` Jie Hai
2023-12-15  7:17       ` Tyler Retzlaff
2023-12-11  7:39 ` [PATCH 2/2] net/hns3: use " Jie Hai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231211073904.811243-1-haijie1@huawei.com \
    --to=haijie1@huawei.com \
    --cc=dev@dpdk.org \
    --cc=fengchengwen@huawei.com \
    --cc=lihuisong@huawei.com \
    --cc=liudongdong3@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).