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 EC6E843069 for ; Tue, 15 Aug 2023 04:00:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D012B41104; Tue, 15 Aug 2023 04:00:23 +0200 (CEST) Received: from mail-pf1-f226.google.com (mail-pf1-f226.google.com [209.85.210.226]) by mails.dpdk.org (Postfix) with ESMTP id B07E541104 for ; Tue, 15 Aug 2023 04:00:22 +0200 (CEST) Received: by mail-pf1-f226.google.com with SMTP id d2e1a72fcca58-686bea20652so4672996b3a.1 for ; Mon, 14 Aug 2023 19:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1692064822; x=1692669622; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=T4ZHOZUFBRNOVxqfg1eVBPuM8Bfup3HeU2O6zJ6+KS8=; b=b7qoWHEFXHHT6FL5q4nOpCyuIufch52agsia14ePsybjxIdeSn9Mc0p5TxPd0AwerK Kcs46ScTYWm0ihO91Kh7//u/eQON/DN7E2DhgqKtnAVrjV2vmGnC008FXQs89znhdHkX v54sOIaA3sFBh3Z7CCR5hBwh2Ki2yIW/yhKI8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692064822; x=1692669622; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T4ZHOZUFBRNOVxqfg1eVBPuM8Bfup3HeU2O6zJ6+KS8=; b=jIYvTX4acwPtDiYOjZUzqbRTEcZI79j/tcWcaMpG8MNolAlpQIHM1wHtxQ7cmYoLV4 lL0S55YvfByKdclRa49xAFFucNlbmE6T+BpbNbEvSWaN8S/g/aoEGhRz21KCn8QvjCJh YfZcplooREGycNjnnhPmJu0hkfp9zWZqG+GJ/wy+qFckOz8n4GJUjhoo3a350GwFKK3N UpLhWqlhyagqH2deo2Uoyr9/IgJxPxo12VP5qec+XbY52tEU+rBU9EiI2uBo5gBwoFCJ Z/b1TAtFah6CImRsr1ijfwexSBhC1/FE3JenV7FKJWtMYinJQLOYE2qj1p9W+c3nzdCe eCZg== X-Gm-Message-State: AOJu0YzKcXBnQ5oExMUNPXqgedBU6eqmWGexX0XcVFBg6xgo7ftpbbMq XfqhJvLPxtUF8GkkJcUpAWUorP/qfLD2/YYNJOBHIzK58d+clhoheCKJ8g== X-Google-Smtp-Source: AGHT+IFIqvnrBLHOH9aqnhC0iEXQucxhyXGMyJyzVXRNBEbPNXyLdyrRIB7yrKCDcF/mnFKl2thgIRelg/X4 X-Received: by 2002:a05:6a21:3b46:b0:140:3554:3f44 with SMTP id zy6-20020a056a213b4600b0014035543f44mr11773852pzb.22.1692064821894; Mon, 14 Aug 2023 19:00:21 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id w12-20020a637b0c000000b00560637b12d4sm632325pgc.4.2023.08.14.19.00.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Aug 2023 19:00:21 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Mon, 14 Aug 2023 19:00:21 -0700 (PDT) Message-ID: <64dadc35.630a0220.28ea8.b53aSMTPIN_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 8361A6052471; Mon, 14 Aug 2023 22:00:20 -0400 (EDT) Subject: |WARNING| pw130307-130313 [PATCH] [v1, 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/130307 _apply patch failure_ Submitter: Sinan Kaya Date: Tuesday, August 15 2023 01:38:26 Applied on: CommitID:68150b90bda5e8f81ad1b1bad82be653b1d42a81 Apply patch set 130307-130313 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_memory.c... error: while searching for: int retval; RTE_LOG(DEBUG, EAL, "Setting up physically contiguous memory...\n"); 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:1084 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 #1 succeeded at 1409 (offset 4 lines). Hunk #2 succeeded at 1453 (offset 6 lines). Applying patch lib/eal/common/eal_common_memory.c with 2 rejects... Rejected hunk #1. Rejected hunk #2. 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) @@ -1084,10 +1084,14 @@ rte_eal_memory_init(void) int retval; RTE_LOG(DEBUG, EAL, "Setting up physically contiguous memory...\n"); + static int initialized = 0; if (!mcfg) return -1; + if (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; + 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/27337/ UNH-IOL DPDK Community Lab