Cover Detail
Show a cover letter.
GET /api/covers/122561/?format=api
https://patches.dpdk.org/api/covers/122561/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/20230126152045.1036904-1-rjarry@redhat.com/", "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": "<20230126152045.1036904-1-rjarry@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230126152045.1036904-1-rjarry@redhat.com", "date": "2023-01-26T15:20:40", "name": "[v7,0/5] lcore telemetry improvements", "submitter": { "id": 2850, "url": "https://patches.dpdk.org/api/people/2850/?format=api", "name": "Robin Jarry", "email": "rjarry@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/20230126152045.1036904-1-rjarry@redhat.com/mbox/", "series": [ { "id": 26659, "url": "https://patches.dpdk.org/api/series/26659/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26659", "date": "2023-01-26T15:20:40", "name": "lcore telemetry improvements", "version": 7, "mbox": "https://patches.dpdk.org/series/26659/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/122561/comments/", "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 06A8B42493;\n\tThu, 26 Jan 2023 16:20:53 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D73AC40223;\n\tThu, 26 Jan 2023 16:20:52 +0100 (CET)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id 0B1E9400D7\n for <dev@dpdk.org>; Thu, 26 Jan 2023 16:20:51 +0100 (CET)", "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-533-cB4JQBoTNqeTRTYNzxCwKQ-1; Thu, 26 Jan 2023 10:20:50 -0500", "from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com\n [10.11.54.4])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D0998858F0E\n for <dev@dpdk.org>; Thu, 26 Jan 2023 15:20:49 +0000 (UTC)", "from ringo.redhat.com (unknown [10.39.208.33])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 310BD2026D4B;\n Thu, 26 Jan 2023 15:20:49 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1674746451;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=3rIdIctvYC0Et1jZ2lQVvkzBclz4k/dDb0hI2Q6vGpU=;\n b=X8QMpYUOHGP0/C0+edk639sPdw8iSqoIF79Dpizw73nShWY6qFeYzPKPQXtYdZr3T7Lz5c\n 1uqyrgUsP3Ckzc3AxN/NWair3KhGivMnHK0souj4PS9PtBPllm22X3EQ0l35uVREfl4kbJ\n Fd6+2qTut8JDEy8C6TPzvxCytfj6FQw=", "X-MC-Unique": "cB4JQBoTNqeTRTYNzxCwKQ-1", "From": "Robin Jarry <rjarry@redhat.com>", "To": "dev@dpdk.org", "Cc": "Robin Jarry <rjarry@redhat.com>", "Subject": "[PATCH v7 0/5] lcore telemetry improvements", "Date": "Thu, 26 Jan 2023 16:20:40 +0100", "Message-Id": "<20230126152045.1036904-1-rjarry@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.4", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Type": "text/plain; charset=UTF-8", "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": "This is a follow up on previous work by Kevin Laatz:\n\nhttp://patches.dpdk.org/project/dpdk/list/?series=24658&state=*\n\nThis series is aimed at allowing DPDK applications to expose their CPU\nusage stats in the DPDK telemetry under /eal/lcore/info. This is a much\nmore basic and naive approach which leaves the cpu cycles accounting\ncompletely up to the application.\n\nFor reference, I have implemented a draft patch in OvS to use\nrte_lcore_register_usage_cb() and report the already available busy\ncycles information.\n\nhttps://github.com/rjarry/ovs/commit/643e672fe388e348ea7ccbbda6f5a87a066fd919\n\nChanges since v6:\n\n- Added release notes entry\n- Moved lcore role enum to name conversion in a function for reuse\n- Moved rte_lcore_register_usage_cb in a 23.03 block of eal/version.map\n- Style & indentation fixes\n- Use asprintf to format busy/total cycles in lcore_dump_cb\n\nChanges since v5:\n\n- Added/rephrased some inline comments to address reviews.\n- Added a new commit that adds the /eal/lcore/usage endpoint as\n suggested by Kevin and Morten.\n\nRobin Jarry (5):\n eal: add lcore info in telemetry\n eal: report applications lcore usage\n app/testpmd: add dump command for lcores\n app/testpmd: report lcore usage\n eal: add lcore usage telemetry endpoint\n\n app/test-pmd/5tswap.c | 5 +-\n app/test-pmd/cmdline.c | 3 +\n app/test-pmd/csumonly.c | 6 +-\n app/test-pmd/flowgen.c | 2 +-\n app/test-pmd/icmpecho.c | 6 +-\n app/test-pmd/iofwd.c | 5 +-\n app/test-pmd/macfwd.c | 5 +-\n app/test-pmd/macswap.c | 5 +-\n app/test-pmd/noisy_vnf.c | 4 +\n app/test-pmd/rxonly.c | 5 +-\n app/test-pmd/shared_rxq_fwd.c | 5 +-\n app/test-pmd/testpmd.c | 40 +++-\n app/test-pmd/testpmd.h | 14 +-\n app/test-pmd/txonly.c | 7 +-\n doc/guides/rel_notes/release_23_03.rst | 8 +\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +\n lib/eal/common/eal_common_lcore.c | 227 ++++++++++++++++++--\n lib/eal/include/rte_lcore.h | 35 +++\n lib/eal/version.map | 3 +\n 19 files changed, 347 insertions(+), 45 deletions(-)" }{ "id": 122561, "url": "