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| pw113233-113239 [PATCH] [v7, 7/7] doc/eth_tx: update instance get API
Date: Wed, 22 Jun 2022 12:16:09 -0400 (EDT)	[thread overview]
Message-ID: <20220622161609.9647AB0F7@noxus.dpdklab.iol.unh.edu> (raw)

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

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

_apply patch failure_

Submitter: Ganapati Kundapura <ganapati.kundapura@intel.com>
Date: Wednesday, June 22 2022 10:37:56 
Applied on: CommitID:9aa95b6fc4d0f166f8364f60c476f52dfcbe1082
Apply patch set 113233-113239 failed:

Checking patch lib/eventdev/eventdev_pmd.h...
Checking patch lib/eventdev/rte_event_eth_tx_adapter.c...
error: while searching for:
txa_service_data_init(void)
{
	if (txa_service_data_array == NULL) {
		txa_service_data_array =
				txa_memzone_array_get("txa_service_data_array",
					sizeof(*txa_service_data_array),
					RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE);
		if (txa_service_data_array == NULL)
			return -ENOMEM;
	}

	return 0;

error: patch failed: lib/eventdev/rte_event_eth_tx_adapter.c:222
Hunk #5 succeeded at 1246 (offset -6 lines).
Checking patch lib/eventdev/rte_event_eth_tx_adapter.h...
Checking patch lib/eventdev/version.map...
Applied patch lib/eventdev/eventdev_pmd.h cleanly.
Applying patch lib/eventdev/rte_event_eth_tx_adapter.c with 1 reject...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Rejected hunk #4.
Hunk #5 applied cleanly.
Applied patch lib/eventdev/rte_event_eth_tx_adapter.h cleanly.
Applied patch lib/eventdev/version.map cleanly.
diff a/lib/eventdev/rte_event_eth_tx_adapter.c b/lib/eventdev/rte_event_eth_tx_adapter.c	(rejected hunks)
@@ -222,12 +250,18 @@ static int
 txa_service_data_init(void)
 {
 	if (txa_service_data_array == NULL) {
+		int i;
+
 		txa_service_data_array =
-				txa_memzone_array_get("txa_service_data_array",
+				txa_memzone_array_get(TXA_SERVICE_DATA_ARRAY,
 					sizeof(*txa_service_data_array),
 					RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE);
 		if (txa_service_data_array == NULL)
 			return -ENOMEM;
+
+		/* Reset the txa service pointers */
+		for (i = 0; i < RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE; i++)
+			txa_service_data_array[i] = NULL;
 	}
 
 	return 0;

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

UNH-IOL DPDK Community Lab

             reply	other threads:[~2022-06-22 16:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-22 16:16 dpdklab [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-29 10:51 dpdklab
2022-06-22 15:40 dpdklab
2022-06-22 11:20 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=20220622161609.9647AB0F7@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).