Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/139616/?format=api
https://patches.dpdk.org/api/patches/139616/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20240422152336.147553-6-stephen@networkplumber.org/", "project": { "id": 1, "url": "https://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": "<20240422152336.147553-6-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20240422152336.147553-6-stephen@networkplumber.org", "date": "2024-04-22T15:21:35", "name": "[v5,5/9] latencystats: update include files", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "a9ac5261913f27e239528b834ccc775284c4caa4", "submitter": { "id": 27, "url": "https://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20240422152336.147553-6-stephen@networkplumber.org/mbox/", "series": [ { "id": 31803, "url": "https://patches.dpdk.org/api/series/31803/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31803", "date": "2024-04-22T15:21:30", "name": "latencystats: improve algorithms and tests", "version": 5, "mbox": "https://patches.dpdk.org/series/31803/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/139616/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/139616/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 C6E6C43EDB;\n\tMon, 22 Apr 2024 17:24:20 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CAC4640A8A;\n\tMon, 22 Apr 2024 17:24:02 +0200 (CEST)", "from mail-pf1-f179.google.com (mail-pf1-f179.google.com\n [209.85.210.179])\n by mails.dpdk.org (Postfix) with ESMTP id 4712B40A6D\n for <dev@dpdk.org>; Mon, 22 Apr 2024 17:23:51 +0200 (CEST)", "by mail-pf1-f179.google.com with SMTP id\n d2e1a72fcca58-6eff2be3b33so4389822b3a.2\n for <dev@dpdk.org>; Mon, 22 Apr 2024 08:23:51 -0700 (PDT)", "from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])\n by smtp.gmail.com with ESMTPSA id\n cb17-20020a056a02071100b0060063c4be3bsm1402783pgb.14.2024.04.22.08.23.49\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 22 Apr 2024 08:23:50 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1713799430;\n x=1714404230; 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=NLcIhuBFAGnFAgSH7Iuy+BgoNw13rLAjei8W7B5mHkc=;\n b=B3Z7Ryr2SxaU+G1C8cuhv6FQQHU15GYAqfwwNtVUZz39F8PS7Dh0yB/GKZ+H5OpaNO\n aOQU2MWh2xRrGhZrM+i7hcolFVrarbp8qae2LI/6/c77DAALCY+Dv3YuLkhlUq4GL56W\n IfhzBjddGEx9KFZV+Rvt7iqiZQNRXLrOifaMmaX6So6RLG3w9H+Y9ByX/DANM61ZAGfB\n 9F0ZB8rSl3F/f3DHfZjp20bQXuRzIukZK3vOmyWEVRB8J+5w8bsy08vfEzEWWUJ/vXOv\n YeJ8eWcAwXoMlfLHopi348xMusm6dGJwSAGFf6THQwrFe1EwY/lxBX4ODAuUVk4ejM/G\n ZXOA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1713799430; x=1714404230;\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=NLcIhuBFAGnFAgSH7Iuy+BgoNw13rLAjei8W7B5mHkc=;\n b=c5/1Ek8Cp6RgiI1lflLi086xg9TKSfX+Soav8hiaK0LXd1j9knaqUmEzY4v6oOn4WR\n Stu6+vz8L5ETgxM7AEAKgTj/g1UkrZVPW7cSdGhsteM4MsKbzwO8mwNWpmorgLEw0DSE\n f7b7csfeMqemXG+4O8zI6RluFyviXPkMXMVl8QwjeLlZ+9FDZgiFPRuBCKuf6MQZheN4\n bXAFBcb7KqoTl9ZGx3z3G14wml8Ty/yua6B5fyGIkMzlKYUyZU6ToKB0arJPhtZD6kzk\n K/EcdVKeo1TB4B4+TWx5uWYmjMmMRglWdhOHwsDW2PpUzHenuvKCnUTAe3o5EYup7reE\n 0ecA==", "X-Gm-Message-State": "AOJu0YzkMRQYJ97a4m7wgiXYsIzI96Yjw2hqBVrz6KzOB5+mHYjXLVZL\n UYM4ShAx9Ycu389IMy322BJ3VYXgBRehzQ8A1aFkv2UjqXn5iJVI51xNQOnfoTwc6ekqVy6xLID\n v", "X-Google-Smtp-Source": "\n AGHT+IFCL0ypByIorfbQdhs05DfYLAcMznXZXAuRHLQOuIH/+EJXZwshxx3LwcGpDYhWFyQnXL13RA==", "X-Received": "by 2002:a05:6a20:c909:b0:1ad:22bd:d6d8 with SMTP id\n gx9-20020a056a20c90900b001ad22bdd6d8mr4113012pzb.4.1713799430498;\n Mon, 22 Apr 2024 08:23:50 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Reshma Pattan <reshma.pattan@intel.com>", "Subject": "[PATCH v5 5/9] latencystats: update include files", "Date": "Mon, 22 Apr 2024 08:21:35 -0700", "Message-ID": "<20240422152336.147553-6-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20240422152336.147553-1-stephen@networkplumber.org>", "References": "<20240408195036.182545-1-stephen@networkplumber.org>\n <20240422152336.147553-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": "Include what is used here.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/latencystats/rte_latencystats.c | 19 ++++++++++++++-----\n 1 file changed, 14 insertions(+), 5 deletions(-)", "diff": "diff --git a/lib/latencystats/rte_latencystats.c b/lib/latencystats/rte_latencystats.c\nindex c0ac60134f..bd8fde2f0c 100644\n--- a/lib/latencystats/rte_latencystats.c\n+++ b/lib/latencystats/rte_latencystats.c\n@@ -2,17 +2,26 @@\n * Copyright(c) 2018 Intel Corporation\n */\n \n+#include <errno.h>\n #include <math.h>\n+#include <stdbool.h>\n+#include <stddef.h>\n+#include <stdlib.h>\n+#include <string.h>\n \n #include <rte_common.h>\n-#include <rte_string_fns.h>\n-#include <rte_mbuf_dyn.h>\n-#include <rte_log.h>\n #include <rte_cycles.h>\n+#include <rte_eal.h>\n+#include <rte_errno.h>\n #include <rte_ethdev.h>\n-#include <rte_metrics.h>\n-#include <rte_memzone.h>\n #include <rte_lcore.h>\n+#include <rte_log.h>\n+#include <rte_mbuf.h>\n+#include <rte_mbuf_dyn.h>\n+#include <rte_memzone.h>\n+#include <rte_metrics.h>\n+#include <rte_spinlock.h>\n+#include <rte_string_fns.h>\n \n #include \"rte_latencystats.h\"\n \n", "prefixes": [ "v5", "5/9" ] }{ "id": 139616, "url": "