|WARNING| pw113233-113239 [PATCH] [v7, 7/7] doc/eth_tx: update instance get API

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Jun 22 18:16:09 CEST 2022


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

_apply patch failure_

Submitter: Ganapati Kundapura <ganapati.kundapura at 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


More information about the test-report mailing list