* |WARNING| pw127699 [PATCH] [v3] common/cnxk: add new APIs for batch operations
@ 2023-06-08 22:29 dpdklab
0 siblings, 0 replies; 3+ messages in thread
From: dpdklab @ 2023-06-08 22:29 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* |WARNING| pw127699 [PATCH] [v3] common/cnxk: add new APIs for batch operations
@ 2023-06-09 23:03 dpdklab
0 siblings, 0 replies; 3+ messages in thread
From: dpdklab @ 2023-06-09 23:03 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* |WARNING| pw127699 [PATCH] [v3] common/cnxk: add new APIs for batch operations
@ 2023-05-30 18:09 dpdklab
0 siblings, 0 replies; 3+ messages in thread
From: dpdklab @ 2023-05-30 18:09 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-09 23:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-08 22:29 |WARNING| pw127699 [PATCH] [v3] common/cnxk: add new APIs for batch operations dpdklab
-- strict thread matches above, loose matches on Subject: below --
2023-06-09 23:03 dpdklab
2023-05-30 18:09 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).