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| pw127699 [PATCH] [v3] common/cnxk: add new APIs for batch operations
Date: Fri, 09 Jun 2023 16:03:22 -0700 (PDT)	[thread overview]
Message-ID: <6483afba.050a0220.e0634.9dbeSMTPIN_ADDED_MISSING@mx.google.com> (raw)

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

_apply patch failure_

Submitter: Ashwin Sekhar T K <asekhar@marvell.com>
Date: Tuesday, May 30 2023 09:12:51 
Applied on: CommitID:c9df59bcc9bec67783de98486879594e52bdc418
Apply patch set 127699 failed:

Checking patch drivers/common/cnxk/roc_npa.h...
error: while searching for:
	return 0;
}

static inline void
roc_npa_batch_alloc_wait(uint64_t *cache_line, unsigned int wait_us)
{

error: patch failed: drivers/common/cnxk/roc_npa.h:240
error: while searching for:
			break;
}

static inline unsigned int
roc_npa_aura_batch_alloc_count(uint64_t *aligned_buf, unsigned int num,
			       unsigned int wait_us)

error: patch failed: drivers/common/cnxk/roc_npa.h:255
Hunk #5 succeeded at 271 (offset -23 lines).
Hunk #6 succeeded at 356 (offset -23 lines).
Hunk #7 succeeded at 374 (offset -23 lines).
Applying patch drivers/common/cnxk/roc_npa.h with 2 rejects...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Rejected hunk #3.
Rejected hunk #4.
Hunk #5 applied cleanly.
Hunk #6 applied cleanly.
Hunk #7 applied cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/common/cnxk/roc_npa.h b/drivers/common/cnxk/roc_npa.h	(rejected hunks)
@@ -240,6 +235,9 @@ roc_npa_aura_batch_alloc_issue(uint64_t aura_handle, uint64_t *buf,
 	return 0;
 }
 
+/*
+ * Wait for a batch alloc operation on a cache line to complete.
+ */
 static inline void
 roc_npa_batch_alloc_wait(uint64_t *cache_line, unsigned int wait_us)
 {
@@ -255,6 +253,23 @@ roc_npa_batch_alloc_wait(uint64_t *cache_line, unsigned int wait_us)
 			break;
 }
 
+/*
+ * Count the number of pointers in a single batch alloc cache line.
+ */
+static inline unsigned int
+roc_npa_aura_batch_alloc_count_line(uint64_t *line, unsigned int wait_us)
+{
+	struct npa_batch_alloc_status_s *status;
+
+	status = (struct npa_batch_alloc_status_s *)line;
+	roc_npa_batch_alloc_wait(line, wait_us);
+
+	return status->count;
+}
+
+/*
+ * Count the number of pointers in a sequence of batch alloc cache lines.
+ */
 static inline unsigned int
 roc_npa_aura_batch_alloc_count(uint64_t *aligned_buf, unsigned int num,
 			       unsigned int wait_us)

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

UNH-IOL DPDK Community Lab

             reply	other threads:[~2023-06-09 23:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-09 23:03 dpdklab [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-08 22:29 dpdklab
2023-05-30 18:09 dpdklab

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=6483afba.050a0220.e0634.9dbeSMTPIN_ADDED_MISSING@mx.google.com \
    --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).