automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw108417 [PATCH] [v1] raw/ifpga: fix monitor thread issues
@ 2022-03-01  8:59 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-03-01  8:59 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

[-- Attachment #1: Type: text/plain, Size: 2655 bytes --]

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/108417

_apply patch failure_

Submitter: Wei Huang <wei.huang@intel.com>
Date: Tuesday, March 01 2022 08:47:03 
Applied on: CommitID:305769000c40a4fdf1ed0cf24c157b447b91ea7d
Apply patch set 108417 failed:

Checking patch drivers/raw/ifpga/ifpga_rawdev.c...
error: while searching for:

static struct ifpga_rawdev ifpga_rawdevices[IFPGA_RAWDEV_NUM];

static int ifpga_monitor_start;
static pthread_t ifpga_monitor_start_thread;

static struct ifpga_rawdev *

error: patch failed: drivers/raw/ifpga/ifpga_rawdev.c:68
error: while searching for:
	dev->dev_id = dev_id;
	for (i = 0; i < IFPGA_MAX_IRQ; i++)
		dev->intr_handle[i] = NULL;

	return dev;
}

error: patch failed: drivers/raw/ifpga/ifpga_rawdev.c:133
Hunk #10 succeeded at 1571 (offset -22 lines).
Hunk #11 succeeded at 1650 (offset -22 lines).
Hunk #12 succeeded at 1701 (offset -22 lines).
Hunk #13 succeeded at 1749 (offset -22 lines).
Checking patch drivers/raw/ifpga/ifpga_rawdev.h...
error: while searching for:
	char parent_bdf[16];
	/* 0 for FME interrupt, others are reserved for AFU irq */
	void *intr_handle[IFPGA_MAX_IRQ];
};

struct ifpga_rawdev *

error: patch failed: drivers/raw/ifpga/ifpga_rawdev.h:62
Applying patch drivers/raw/ifpga/ifpga_rawdev.c with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Hunk #5 applied cleanly.
Hunk #6 applied cleanly.
Hunk #7 applied cleanly.
Hunk #8 applied cleanly.
Hunk #9 applied cleanly.
Hunk #10 applied cleanly.
Hunk #11 applied cleanly.
Hunk #12 applied cleanly.
Hunk #13 applied cleanly.
Applying patch drivers/raw/ifpga/ifpga_rawdev.h with 1 reject...
Rejected hunk #1.
diff a/drivers/raw/ifpga/ifpga_rawdev.c b/drivers/raw/ifpga/ifpga_rawdev.c	(rejected hunks)
@@ -68,7 +68,7 @@
 
 static struct ifpga_rawdev ifpga_rawdevices[IFPGA_RAWDEV_NUM];
 
-static int ifpga_monitor_start;
+static int ifpga_monitor_refcnt;
 static pthread_t ifpga_monitor_start_thread;
 
 static struct ifpga_rawdev *
@@ -133,6 +133,7 @@ struct ifpga_rawdev *
 	dev->dev_id = dev_id;
 	for (i = 0; i < IFPGA_MAX_IRQ; i++)
 		dev->intr_handle[i] = NULL;
+	dev->poll_enabled = 0;
 
 	return dev;
 }
diff a/drivers/raw/ifpga/ifpga_rawdev.h b/drivers/raw/ifpga/ifpga_rawdev.h	(rejected hunks)
@@ -62,6 +62,8 @@ struct ifpga_rawdev {
 	char parent_bdf[16];
 	/* 0 for FME interrupt, others are reserved for AFU irq */
 	void *intr_handle[IFPGA_MAX_IRQ];
+	/* enable monitor thread poll device's sensors or not */
+	int poll_enabled;
 };
 
 struct ifpga_rawdev *

https://lab.dpdk.org/results/dashboard/patchsets/21323/

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-01  8:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01  8:59 |WARNING| pw108417 [PATCH] [v1] raw/ifpga: fix monitor thread issues 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).