automatic DPDK test reports
 help / color / mirror / Atom feed
From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: |WARNING| pw108417 [PATCH] [v1] raw/ifpga: fix monitor thread issues
Date: Tue,  1 Mar 2022 03:59:08 -0500 (EST)	[thread overview]
Message-ID: <20220301085908.35F4E6D4C2@noxus.dpdklab.iol.unh.edu> (raw)

[-- 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

                 reply	other threads:[~2022-03-01  8:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220301085908.35F4E6D4C2@noxus.dpdklab.iol.unh.edu \
    --to=dpdklab@iol.unh.edu \
    --cc=dpdk-test-reports@iol.unh.edu \
    --cc=test-report@dpdk.org \
    /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).