DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] net/hns3: fix mailbox bug and replace __atomic_xxx API
@ 2023-11-11  1:59 Jie Hai
  2023-11-11  1:59 ` [PATCH 1/2] net/hns3: fix sync mailbox failure forever Jie Hai
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Jie Hai @ 2023-11-11  1:59 UTC (permalink / raw)
  To: dev, ferruh.yigit; +Cc: fengchengwen, lihuisong

This patch fixes sync mailbox failure and replace gcc builtin __atomic_xxx 
with stdatomic API.

Dengdui Huang (1):
  net/hns3: fix sync mailbox failure forever

Jie Hai (1):
  net/hns3: use stdatomic API

 drivers/net/hns3/hns3_cmd.c       | 25 +++++----
 drivers/net/hns3/hns3_dcb.c       |  3 +-
 drivers/net/hns3/hns3_ethdev.c    | 51 +++++++++++-------
 drivers/net/hns3/hns3_ethdev.h    | 12 +++--
 drivers/net/hns3/hns3_ethdev_vf.c | 57 ++++++++++----------
 drivers/net/hns3/hns3_intr.c      | 39 ++++++++------
 drivers/net/hns3/hns3_mbx.c       | 87 ++++++-------------------------
 drivers/net/hns3/hns3_mbx.h       | 10 ----
 drivers/net/hns3/hns3_mp.c        |  9 ++--
 drivers/net/hns3/hns3_rxtx.c      | 15 ++++--
 drivers/net/hns3/hns3_tm.c        |  6 ++-
 11 files changed, 144 insertions(+), 170 deletions(-)

-- 
2.30.0


^ permalink raw reply	[flat|nested] 24+ messages in thread
* [PATCH 0/2] bugfix and replace on use of stdatomic API
@ 2023-12-11  7:39 Jie Hai
  2023-12-11  7:39 ` [PATCH 2/2] net/hns3: use " Jie Hai
  0 siblings, 1 reply; 24+ messages in thread
From: Jie Hai @ 2023-12-11  7:39 UTC (permalink / raw)
  To: dev; +Cc: lihuisong, fengchengwen, liudongdong3, haijie1

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


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

end of thread, other threads:[~2023-12-11  7:43 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-11  1:59 [PATCH 0/2] net/hns3: fix mailbox bug and replace __atomic_xxx API Jie Hai
2023-11-11  1:59 ` [PATCH 1/2] net/hns3: fix sync mailbox failure forever Jie Hai
2023-11-11  3:21   ` lihuisong (C)
2023-11-11  5:20     ` Ferruh Yigit
2023-11-11  1:59 ` [PATCH 2/2] net/hns3: use stdatomic API Jie Hai
2023-11-11  3:20   ` lihuisong (C)
2023-11-11  5:22 ` [PATCH 0/2] net/hns3: fix mailbox bug and replace __atomic_xxx API Ferruh Yigit
2023-12-07  1:42 ` [PATCH v2 0/4] net/hns3: bugfix on reset and stdatomic API Jie Hai
2023-12-07  1:42   ` [PATCH v2 1/4] net/hns3: fix VF multiple count on one reset Jie Hai
2023-12-07  1:42   ` [PATCH v2 2/4] net/hns3: fix disable command with firmware Jie Hai
2023-12-07  1:42   ` [PATCH v2 3/4] net/hns3: fix incorrect reset level comparison Jie Hai
2023-12-07  1:42   ` [PATCH v2 4/4] net/hns3: use stdatomic API Jie Hai
2023-12-07 13:57     ` Ferruh Yigit
2023-12-07 17:42       ` Ferruh Yigit
2023-12-08  7:24         ` Jie Hai
2023-12-08  9:54           ` Ferruh Yigit
2023-12-08  7:08       ` Jie Hai
2023-12-07 13:57     ` Ferruh Yigit
2023-12-08  7:44 ` [PATCH v3 0/3] net/hns3: bugfix on reset Jie Hai
2023-12-08  7:44   ` [PATCH v3 1/3] net/hns3: fix VF multiple count on one reset Jie Hai
2023-12-08  7:44   ` [PATCH v3 2/3] net/hns3: fix disable command with firmware Jie Hai
2023-12-08  7:44   ` [PATCH v3 3/3] net/hns3: fix incorrect reset level comparison Jie Hai
2023-12-08 12:31   ` [PATCH v3 0/3] net/hns3: bugfix on reset Ferruh Yigit
2023-12-11  7:39 [PATCH 0/2] bugfix and replace on use of stdatomic API Jie Hai
2023-12-11  7:39 ` [PATCH 2/2] net/hns3: use " Jie Hai

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).