Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/138942/?format=api
http://patches.dpdk.org/api/patches/138942/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240327233001.83505-7-stephen@networkplumber.org/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20240327233001.83505-7-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20240327233001.83505-7-stephen@networkplumber.org", "date": "2024-03-27T23:28:29", "name": "[v17,06/15] eal: do not duplicate rte_init_alert() messages", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "581209bb7009c758808b66b67d5fb90b4f3e9948", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20240327233001.83505-7-stephen@networkplumber.org/mbox/", "series": [ { "id": 31635, "url": "http://patches.dpdk.org/api/series/31635/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31635", "date": "2024-03-27T23:28:23", "name": "Logging unification and improvements", "version": 17, "mbox": "http://patches.dpdk.org/series/31635/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/138942/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/138942/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 7B16E43D5B;\n\tThu, 28 Mar 2024 00:30:52 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3970942D2B;\n\tThu, 28 Mar 2024 00:30:23 +0100 (CET)", "from mail-pl1-f180.google.com (mail-pl1-f180.google.com\n [209.85.214.180])\n by mails.dpdk.org (Postfix) with ESMTP id 0DFBD41140\n for <dev@dpdk.org>; Thu, 28 Mar 2024 00:30:17 +0100 (CET)", "by mail-pl1-f180.google.com with SMTP id\n d9443c01a7336-1e00d1e13acso3044065ad.0\n for <dev@dpdk.org>; Wed, 27 Mar 2024 16:30:16 -0700 (PDT)", "from hermes.local (204-195-123-203.wavecable.com. [204.195.123.203])\n by smtp.gmail.com with ESMTPSA id\n n15-20020a170902e54f00b001e0fdc6e4ebsm80772plf.175.2024.03.27.16.30.15\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 27 Mar 2024 16:30:15 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1711582216;\n x=1712187016; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=H26hsjphdH2pd0aElhNbFTheietDSMGNDC4gVBIN+HU=;\n b=i4/xepa7Eg9tsxVBH9U0xiDvRpXOM9FGfX1b3u5wk20IneCq4lN7PvCZ6VD1ZXO8/k\n y6IF/jN2E14TTeL0QS+wTlEGI50PY0K7gzR3GsXsPuU2QlCPXqlVZ7H94pSR07RMNbtn\n G+uav2O8NiVqAzyuEFOy85By2Dst7OZEMvi7b7aeuQLKNBXhbDmB0wr0eL32A6hELWGe\n UNE9HWAk9UjNpmPt7w8LjENiPf7i/cOVNCJruFIW/Pps9imd5Ky6WAGT2NtPyTr+zxzw\n KIR+4J9CYZwr6oeyE7ut2FEArtgo4v7uZxtc3JX1eadSxtejEzS2w5GPjxw7dryytVTS\n yoNg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1711582216; x=1712187016;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=H26hsjphdH2pd0aElhNbFTheietDSMGNDC4gVBIN+HU=;\n b=spXeTlmoCQpv/dBIcGOXOO5VFGCggNkGJRRUVzZM1c6LSkQRR/y9BOQM3Z7QNAqHL5\n GaZVPmI9dTXErBwKnpo59f7QB+IC9ulWkDdJmM1OBT7YfCg7P5TGAceIDxAaxJsFzyAb\n dTfQdtJC/ND4f2Mu02EsHNXSJmO6Y9wREsYMPUD5WVD5X5WswNb/4Qnic5E0AItU8VjW\n ah59yTcKcjTqdnaX7+01BU89C0klmlI7VnLUXLEWaKTy26WEdm0y+tfhh4NAFFy2os12\n 7GMssq+HbAPLytCvpkQspkvknQ9hkuPj00ju56L126H6VifAsJbW5Z8wd+biaeIBbhns\n nRSA==", "X-Gm-Message-State": "AOJu0YwNkoUEyGSti4KjTONu4GoODNgKZ+9+hvX/IswczkNqcXL6Pl3s\n 3ytS6MqFtfBkfuOsYfQNV2gH+kNEj9xFtWfmNJAU8Lq2J8Dms02TjZOzYPSvqITZaU6n8NfDCrv\n x", "X-Google-Smtp-Source": "\n AGHT+IFY7E3kttn75hGh1TS1JXahfyp34FzLJiUfNoXj+0DloOuvLR3Ddff+jsP1QWAtreXW3/tomg==", "X-Received": "by 2002:a17:902:e80b:b0:1e0:f2a7:ebc2 with SMTP id\n u11-20020a170902e80b00b001e0f2a7ebc2mr1374011plg.24.1711582216198;\n Wed, 27 Mar 2024 16:30:16 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Bruce Richardson <bruce.richardson@intel.com>", "Subject": "[PATCH v17 06/15] eal: do not duplicate rte_init_alert() messages", "Date": "Wed, 27 Mar 2024 16:28:29 -0700", "Message-ID": "<20240327233001.83505-7-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20240327233001.83505-1-stephen@networkplumber.org>", "References": "<20200814173441.23086-1-stephen@networkplumber.org>\n <20240327233001.83505-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "The message already goes through logging, and does not need\nto be printed on stderr. Message level should be ALERT\nto match function name.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/eal/freebsd/eal.c | 3 +--\n lib/eal/linux/eal.c | 3 +--\n 2 files changed, 2 insertions(+), 4 deletions(-)", "diff": "diff --git a/lib/eal/freebsd/eal.c b/lib/eal/freebsd/eal.c\nindex 9825bcea0b..17b56f38aa 100644\n--- a/lib/eal/freebsd/eal.c\n+++ b/lib/eal/freebsd/eal.c\n@@ -529,8 +529,7 @@ rte_eal_iopl_init(void)\n \n static void rte_eal_init_alert(const char *msg)\n {\n-\tfprintf(stderr, \"EAL: FATAL: %s\\n\", msg);\n-\tEAL_LOG(ERR, \"%s\", msg);\n+\tEAL_LOG(ALERT, \"%s\", msg);\n }\n \n /* Launch threads, called at application init(). */\ndiff --git a/lib/eal/linux/eal.c b/lib/eal/linux/eal.c\nindex bffeb1f34e..23dc26b124 100644\n--- a/lib/eal/linux/eal.c\n+++ b/lib/eal/linux/eal.c\n@@ -840,8 +840,7 @@ static int rte_eal_vfio_setup(void)\n \n static void rte_eal_init_alert(const char *msg)\n {\n-\tfprintf(stderr, \"EAL: FATAL: %s\\n\", msg);\n-\tEAL_LOG(ERR, \"%s\", msg);\n+\tEAL_LOG(ALERT, \"%s\", msg);\n }\n \n /*\n", "prefixes": [ "v17", "06/15" ] }{ "id": 138942, "url": "