automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw99928 [PATCH v4] efd: change data type of parameter
       [not found] <20210928135839.3778960-1-pablo.de.lara.guarch@intel.com>
@ 2021-09-28 14:00 ` checkpatch
  2021-09-28 14:58 ` [dpdk-test-report] |SUCCESS| pw99928 [dpdk-dev] " 0-day Robot
  1 sibling, 0 replies; 3+ messages in thread
From: checkpatch @ 2021-09-28 14:00 UTC (permalink / raw)
  To: test-report; +Cc: Pablo de Lara

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/99928

_coding style issues_


WARNING:REPEATED_WORD: Possible repeated word: 'to'
#58: 
Changing to to uint64_t increases it to 64, which should be

total: 0 errors, 1 warnings, 45 lines checked

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dpdk-test-report] |SUCCESS| pw99928 [dpdk-dev] [PATCH v4] efd: change data type of parameter
       [not found] <20210928135839.3778960-1-pablo.de.lara.guarch@intel.com>
  2021-09-28 14:00 ` [dpdk-test-report] |WARNING| pw99928 [PATCH v4] efd: change data type of parameter checkpatch
@ 2021-09-28 14:58 ` 0-day Robot
  1 sibling, 0 replies; 3+ messages in thread
From: 0-day Robot @ 2021-09-28 14:58 UTC (permalink / raw)
  To: test-report; +Cc: robot

From: robot@bytheb.org

Test-Label: github-robot: build
Test-Status: SUCCESS
http://patchwork.dpdk.org/patch/99928/

_github build: passed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/1282982027

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dpdk-test-report] |WARNING| pw99928 [PATCH] [v4] efd: change data type of parameter
@ 2021-10-05 20:13 dpdklab
  0 siblings, 0 replies; 3+ messages in thread
From: dpdklab @ 2021-10-05 20:13 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

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

_apply patch failure_

Submitter: De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>
Date: Tuesday, September 28 2021 13:58:39 
Applied on: CommitID:086d426406bd3f6fac96a15bbd871c7fe714bc2d
Apply patch set 99928 failed:

Checking patch app/test/test_efd.c...
error: while searching for:
/* Array to store the data */
static efd_value_t data[5];

static inline uint8_t efd_get_all_sockets_bitmask(void)
{
	uint8_t all_cpu_sockets_bitmask = 0;
	unsigned int i;
	unsigned int next_lcore = rte_get_main_lcore();
	const int val_true = 1, val_false = 0;

error: patch failed: app/test/test_efd.c:91
error: while searching for:
static int
test_efd(void)
{

	/* Unit tests */
	if (test_add_delete() < 0)

error: patch failed: app/test/test_efd.c:443
Checking patch app/test/test_efd_perf.c...
error: while searching for:
#endif
static unsigned int test_socket_id;

static inline uint8_t efd_get_all_sockets_bitmask(void)
{
	uint8_t all_cpu_sockets_bitmask = 0;
	unsigned int i;
	unsigned int next_lcore = rte_get_main_lcore();
	const int val_true = 1, val_false = 0;

error: patch failed: app/test/test_efd_perf.c:29
Checking patch lib/efd/rte_efd.c...
error: while searching for:

struct rte_efd_table *
rte_efd_create(const char *name, uint32_t max_num_rules, uint32_t key_len,
		uint8_t online_cpu_socket_bitmask, uint8_t offline_cpu_socket)
{
	struct rte_efd_table *table = NULL;
	uint8_t *key_array = NULL;

error: patch failed: lib/efd/rte_efd.c:495
Checking patch lib/efd/rte_efd.h...
error: while searching for:
 */
struct rte_efd_table *
rte_efd_create(const char *name, uint32_t max_num_rules, uint32_t key_len,
	uint8_t online_cpu_socket_bitmask, uint8_t offline_cpu_socket);

/**
 * Releases the resources from an EFD table

error: patch failed: lib/efd/rte_efd.h:139
Applying patch app/test/test_efd.c with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
Applying patch app/test/test_efd_perf.c with 1 reject...
Rejected hunk #1.
Applying patch lib/efd/rte_efd.c with 1 reject...
Rejected hunk #1.
Applying patch lib/efd/rte_efd.h with 1 reject...
Rejected hunk #1.
diff a/app/test/test_efd.c b/app/test/test_efd.c	(rejected hunks)
@@ -91,9 +91,9 @@ static struct flow_key keys[5] = {
 /* Array to store the data */
 static efd_value_t data[5];
 
-static inline uint8_t efd_get_all_sockets_bitmask(void)
+static inline uint64_t efd_get_all_sockets_bitmask(void)
 {
-	uint8_t all_cpu_sockets_bitmask = 0;
+	uint64_t all_cpu_sockets_bitmask = 0;
 	unsigned int i;
 	unsigned int next_lcore = rte_get_main_lcore();
 	const int val_true = 1, val_false = 0;
@@ -443,6 +443,7 @@ static int test_efd_creation_with_bad_parameters(void)
 static int
 test_efd(void)
 {
+	test_socket_id = rte_socket_id();
 
 	/* Unit tests */
 	if (test_add_delete() < 0)
diff a/app/test/test_efd_perf.c b/app/test/test_efd_perf.c	(rejected hunks)
@@ -29,9 +29,9 @@
 #endif
 static unsigned int test_socket_id;
 
-static inline uint8_t efd_get_all_sockets_bitmask(void)
+static inline uint64_t efd_get_all_sockets_bitmask(void)
 {
-	uint8_t all_cpu_sockets_bitmask = 0;
+	uint64_t all_cpu_sockets_bitmask = 0;
 	unsigned int i;
 	unsigned int next_lcore = rte_get_main_lcore();
 	const int val_true = 1, val_false = 0;
diff a/lib/efd/rte_efd.c b/lib/efd/rte_efd.c	(rejected hunks)
@@ -495,7 +495,7 @@ efd_search_hash(struct rte_efd_table * const table,
 
 struct rte_efd_table *
 rte_efd_create(const char *name, uint32_t max_num_rules, uint32_t key_len,
-		uint8_t online_cpu_socket_bitmask, uint8_t offline_cpu_socket)
+		uint64_t online_cpu_socket_bitmask, uint8_t offline_cpu_socket)
 {
 	struct rte_efd_table *table = NULL;
 	uint8_t *key_array = NULL;
diff a/lib/efd/rte_efd.h b/lib/efd/rte_efd.h	(rejected hunks)
@@ -139,7 +139,7 @@ typedef uint16_t efd_hashfunc_t;
  */
 struct rte_efd_table *
 rte_efd_create(const char *name, uint32_t max_num_rules, uint32_t key_len,
-	uint8_t online_cpu_socket_bitmask, uint8_t offline_cpu_socket);
+	uint64_t online_cpu_socket_bitmask, uint8_t offline_cpu_socket);
 
 /**
  * Releases the resources from an EFD table

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

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-05 20:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210928135839.3778960-1-pablo.de.lara.guarch@intel.com>
2021-09-28 14:00 ` [dpdk-test-report] |WARNING| pw99928 [PATCH v4] efd: change data type of parameter checkpatch
2021-09-28 14:58 ` [dpdk-test-report] |SUCCESS| pw99928 [dpdk-dev] " 0-day Robot
2021-10-05 20:13 [dpdk-test-report] |WARNING| pw99928 [PATCH] [v4] " 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).