* |WARNING| pw106322 [PATCH] [v7] raw/ifpga: fix pthread cannot join
@ 2022-01-24 2:58 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-01-24 2:58 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 1657 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/106322
_apply patch failure_
Submitter: Wei Huang <wei.huang@intel.com>
Date: Monday, January 24 2022 02:39:12
Applied on: CommitID:8a5a91401dc23ddab1ddea3667a17a615a25077f
Apply patch set 106322 failed:
Checking patch drivers/raw/ifpga/ifpga_rawdev.c...
error: while searching for:
{
int ret;
if (ifpga_monitor_start == 0) {
ret = rte_ctrl_thread_create(&ifpga_monitor_start_thread,
"ifpga-monitor", NULL,
ifpga_rawdev_gsd_handle, NULL);
if (ret != 0) {
IFPGA_RAWDEV_PMD_ERR(
"Fail to create ifpga nonitor thread");
return -1;
}
ifpga_monitor_start = 1;
}
return 0;
error: patch failed: drivers/raw/ifpga/ifpga_rawdev.c:525
Applying patch drivers/raw/ifpga/ifpga_rawdev.c with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
diff a/drivers/raw/ifpga/ifpga_rawdev.c b/drivers/raw/ifpga/ifpga_rawdev.c (rejected hunks)
@@ -525,16 +525,16 @@ static int set_surprise_link_check_aer(
{
int ret;
- if (ifpga_monitor_start == 0) {
+ if (!__atomic_load_n(&ifpga_monitor_start, __ATOMIC_RELAXED)) {
ret = rte_ctrl_thread_create(&ifpga_monitor_start_thread,
"ifpga-monitor", NULL,
ifpga_rawdev_gsd_handle, NULL);
if (ret != 0) {
IFPGA_RAWDEV_PMD_ERR(
- "Fail to create ifpga nonitor thread");
+ "Fail to create ifpga monitor thread");
return -1;
}
- ifpga_monitor_start = 1;
+ __atomic_store_n(&ifpga_monitor_start, 1, __ATOMIC_RELAXED);
}
return 0;
https://lab.dpdk.org/results/dashboard/patchsets/20778/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-24 2:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 2:58 |WARNING| pw106322 [PATCH] [v7] raw/ifpga: fix pthread cannot join dpdklab
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).