From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 54B324306A for ; Tue, 15 Aug 2023 07:38:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F7DA41104; Tue, 15 Aug 2023 07:38:39 +0200 (CEST) Received: from mail-qk1-f226.google.com (mail-qk1-f226.google.com [209.85.222.226]) by mails.dpdk.org (Postfix) with ESMTP id 1EBC541104 for ; Tue, 15 Aug 2023 07:38:38 +0200 (CEST) Received: by mail-qk1-f226.google.com with SMTP id af79cd13be357-76c845dc5beso307751685a.1 for ; Mon, 14 Aug 2023 22:38:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1692077917; x=1692682717; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=LgSgID1xIrGswD2N1noDFpmYbxqrI4toRZOZEGbttwQ=; b=ibGMjg+K8bVpRkSq5xV+GPacQ0+rUTD3rfCn2ZSTG8u3s6c3Kz3/J6aS3U1qZwJenm 2IEz4WB+3UPRtflUPDZOKe5VP9nnBQZlqzAotcGbPz8KNK01zRWqwq6HfYFvvJ54UpvR R2Nlq4PaVT790aFjoFT8bLt+zSw5OGPmBcvho= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692077917; x=1692682717; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LgSgID1xIrGswD2N1noDFpmYbxqrI4toRZOZEGbttwQ=; b=eibhxaWLEjfkaXewjDwQQ04B/4ck5OGXtInt+ub6Tix4wUZ3KkTpL8ahb2IsfKnbhf 48sJXPLhrJrvFSDAEtYCJh/FudL0JT2RUXdUPIoEOL26Y8eEg89vhMn2Jvs+tjnRLpmn jptGVwnXOPRF6RPLZFCKkaI+xF/VejmGUREmbQUMGiB5Z0kGnxnQyPFy/ZhVXSNbWh5Z JvmwwOngpGyG7bwJubww4kFbeqM4pDc3ahwF9LY4gpmbYh02ZvwrkM8McKWrenmE1KsD Hst7sb3CgE6xrR5y5uJhYl3ubM4CiaiIRByyImLOETwZomxW23VpiYEVkG6Y8TsbXn8J sNkg== X-Gm-Message-State: AOJu0YzH0nuO6O3kA/VUeZWLnWvZRXHHvUXqFVQFSzEPRVJ3LrpDETJz apOhV+NMlUEbOP/8TI+h1Wq1/s7Xp4rqKAMAmhGSLIRuI6ZL96TOWhxPKg== X-Google-Smtp-Source: AGHT+IG/JzgkTK6WHdCapSzzmoWmKS7sPK/UBzbffhJGEfWVTPqpJkZDq5urjEc7YpmSSeeGXB5qnoWZa+W9 X-Received: by 2002:a05:6214:2d03:b0:63d:3d9:638e with SMTP id mz3-20020a0562142d0300b0063d03d9638emr9599108qvb.41.1692077917570; Mon, 14 Aug 2023 22:38:37 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id r13-20020a0ce28d000000b0063cfc4379besm207865qvl.77.2023.08.14.22.38.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Aug 2023 22:38:37 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Mon, 14 Aug 2023 22:38:37 -0700 (PDT) Message-ID: <64db0f5d.0c0a0220.39cb.05f2SMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.21.0.2] (unknown [172.18.0.240]) by postal.iol.unh.edu (Postfix) with ESMTP id 3F9306052471; Tue, 15 Aug 2023 01:38:37 -0400 (EDT) Subject: |WARNING| pw130314-130320 [PATCH] [v2, 7/7] eal: initialize worker threads once From: dpdklab@iol.unh.edu To: test-report@dpdk.org Cc: dpdk-test-reports@iol.unh.edu Content-Type: text/plain X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/130314 _apply patch failure_ Submitter: Sinan Kaya Date: Tuesday, August 15 2023 03:13:07 Applied on: CommitID:68150b90bda5e8f81ad1b1bad82be653b1d42a81 Apply patch set 130314-130320 failed: Checking patch lib/eal/common/eal_common_options.c... Hunk #1 succeeded at 1981 (offset -2 lines). Checking patch lib/eal/linux/eal.c... Hunk #1 succeeded at 79 (offset 1 line). Hunk #2 succeeded at 507 (offset 1 line). error: while searching for: rte_eal_init(int argc, char **argv) { int i, fctret, ret; static uint32_t run_once; uint32_t has_run = 0; const char *p; static char logid[PATH_MAX]; error: patch failed: lib/eal/linux/eal.c:960 Applied patch lib/eal/common/eal_common_options.c cleanly. Applying patch lib/eal/linux/eal.c with 1 reject... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Rejected hunk #3. hint: Use 'git am --show-current-patch' to see the failed patch diff a/lib/eal/linux/eal.c b/lib/eal/linux/eal.c (rejected hunks) @@ -960,7 +963,6 @@ int rte_eal_init(int argc, char **argv) { int i, fctret, ret; - static uint32_t run_once; uint32_t has_run = 0; const char *p; static char logid[PATH_MAX]; Checking patch lib/eal/common/eal_common_memzone.c... error: while searching for: #include "eal_private.h" #include "eal_memcfg.h" static inline const struct rte_memzone * memzone_lookup_thread_unsafe(const char *name) { error: patch failed: lib/eal/common/eal_common_memzone.c:22 Hunk #2 succeeded at 426 (offset 27 lines). Hunk #3 succeeded at 447 (offset 27 lines). Applying patch lib/eal/common/eal_common_memzone.c with 1 reject... Rejected hunk #1. Hunk #2 applied cleanly. Hunk #3 applied cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/lib/eal/common/eal_common_memzone.c b/lib/eal/common/eal_common_memzone.c (rejected hunks) @@ -22,6 +22,8 @@ #include "eal_private.h" #include "eal_memcfg.h" +static bool memzone_initialized; + static inline const struct rte_memzone * memzone_lookup_thread_unsafe(const char *name) { Checking patch lib/eal/common/eal_common_memory.c... Hunk #1 succeeded at 41 (offset 2 lines). error: while searching for: if (!mcfg) return -1; /* lock mem hotplug here, to prevent races while we init */ rte_mcfg_mem_read_lock(); error: patch failed: lib/eal/common/eal_common_memory.c:1088 error: while searching for: if (internal_conf->no_shconf == 0 && rte_eal_memdevice_init() < 0) goto fail; return 0; fail: rte_mcfg_mem_read_unlock(); error: patch failed: lib/eal/common/eal_common_memory.c:1106 Checking patch lib/eal/common/malloc_heap.c... Hunk #2 succeeded at 1412 (offset 4 lines). Hunk #3 succeeded at 1454 (offset 6 lines). Applying patch lib/eal/common/eal_common_memory.c with 2 rejects... Hunk #1 applied cleanly. Rejected hunk #2. Rejected hunk #3. Applied patch lib/eal/common/malloc_heap.c cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/lib/eal/common/eal_common_memory.c b/lib/eal/common/eal_common_memory.c (rejected hunks) @@ -1088,6 +1089,9 @@ rte_eal_memory_init(void) if (!mcfg) return -1; + if (memory_initialized) + return 0; + /* lock mem hotplug here, to prevent races while we init */ rte_mcfg_mem_read_lock(); @@ -1106,6 +1110,7 @@ rte_eal_memory_init(void) if (internal_conf->no_shconf == 0 && rte_eal_memdevice_init() < 0) goto fail; + memory_initialized = true; return 0; fail: rte_mcfg_mem_read_unlock(); Checking patch lib/eal/linux/eal.c... error: lib/eal/linux/eal.c: does not match index hint: Use 'git am --show-current-patch' to see the failed patch https://lab.dpdk.org/results/dashboard/patchsets/27338/ UNH-IOL DPDK Community Lab