Cover Detail
Show a cover letter.
GET /api/covers/120843/?format=api
http://patchwork.dpdk.org/api/covers/120843/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20221213182730.97065-1-bruce.richardson@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20221213182730.97065-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221213182730.97065-1-bruce.richardson@intel.com", "date": "2022-12-13T18:27:23", "name": "[RFC,0/7] Standardize telemetry int types", "submitter": { "id": 20, "url": "http://patchwork.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20221213182730.97065-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 26112, "url": "http://patchwork.dpdk.org/api/series/26112/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=26112", "date": "2022-12-13T18:27:23", "name": "Standardize telemetry int types", "version": 1, "mbox": "http://patchwork.dpdk.org/series/26112/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/120843/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 A74BEA0540;\n\tTue, 13 Dec 2022 19:27:53 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8638A40687;\n\tTue, 13 Dec 2022 19:27:52 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 959D14021D\n for <dev@dpdk.org>; Tue, 13 Dec 2022 19:27:51 +0100 (CET)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Dec 2022 10:27:38 -0800", "from silpixa00401459.ir.intel.com (HELO\n silpixa00401459.ger.corp.intel.com) ([10.237.223.55])\n by orsmga006.jf.intel.com with ESMTP; 13 Dec 2022 10:27:38 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1670956071; x=1702492071;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=M8+Hf2+z7SIeEvneusrHjjbg2f0r/FpSAhUCc+OwnAc=;\n b=HCry0KGiKHDgf/O1UvP5EqD14omzBTc0tHthBZnSGl88Yowhl3Brf4yG\n 8k2qIHExAkwMv7WURud/afO5si6NYfI/0/R+7Jh/aQjNsMtc4tLCTw7/h\n qiE7rW3KvRXkVDglmfdWyP3cIMw08hHFt76SYZ9Kds46p4XOZWm0rzuoa\n vRtT4DC71oeE9Kp2j5TqKpxqXlaLtsJeelXjodabEqImxGXHfIdQQ7efQ\n fls8FQPnjcas2dN2dn+mMN1Z8qp/UdGERGUljTMqR8JA5HoVjcW9oDIPF\n D89sjZVs1vhfIdIetquXyyUs5z2XdN9vEIEkVVrCRptSVfKU8Bl6gEhof Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10560\"; a=\"382506938\"", "E=Sophos;i=\"5.96,242,1665471600\"; d=\"scan'208\";a=\"382506938\"", "E=McAfee;i=\"6500,9779,10560\"; a=\"626445141\"", "E=Sophos;i=\"5.96,242,1665471600\"; d=\"scan'208\";a=\"626445141\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>", "Subject": "[RFC PATCH 0/7] Standardize telemetry int types", "Date": "Tue, 13 Dec 2022 18:27:23 +0000", "Message-Id": "<20221213182730.97065-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.34.1", "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": "Rather than having 64-bit unsigned types and 32-bit signed types\nsupported by the telemetry lib, we should support 64-bit values\nfor both types. On the naming side, since both are 64-bit, we\nshould no longer call the unsigned value u64 - \"uint\" is better.\n\nThis patchset implements these changes as far as is possible while\nstill keeping API and ABI compatibility.\n\n* Internal structures and functions are updated to use 64-bit ints\n* Internal functions are renamed from u64 to uint\n* Public enum values are renamed from u64 to uint, and a macro is\n added to ensure that older code still compiles\n* The public add_*_int functions are changed to take a 64-bit value\n rather than a 32-bit one. Since this would be an ABI break, we\n use function versioning to ensure older code still calls into\n a wrapper function which takes a 32-bit value.\n\nFinally, the patchset also contains a couple of other small cleanups\nto the telemetry code that were seen in passing when making these\nchanges.\n\nBruce Richardson (7):\n telemetry: rename unsigned 64-bit enum value to uint\n telemetry: add uint type as alias for u64\n telemetry: remove RTE prefix from internal enum values\n telemetry: make array initialization more robust\n telemetry: update json functions to use int/uint in names\n telemetry: make internal int representation 64-bits\n telemetry: change public API to use 64-bit signed values\n\n app/test/test_telemetry_data.c | 10 +--\n app/test/test_telemetry_json.c | 9 +-\n drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c | 4 +-\n drivers/net/cnxk/cnxk_ethdev_telemetry.c | 2 +-\n lib/cryptodev/rte_cryptodev.c | 2 +-\n lib/ethdev/rte_ethdev.c | 2 +-\n lib/ethdev/sff_telemetry.c | 2 +-\n lib/ipsec/ipsec_telemetry.c | 2 +-\n lib/security/rte_security.c | 4 +-\n lib/telemetry/meson.build | 1 +\n lib/telemetry/rte_telemetry.h | 46 +++++++++-\n lib/telemetry/telemetry.c | 56 ++++++------\n lib/telemetry/telemetry_data.c | 95 ++++++++++++++------\n lib/telemetry/telemetry_data.h | 24 +++--\n lib/telemetry/telemetry_json.h | 16 ++--\n lib/telemetry/version.map | 14 +++\n 16 files changed, 192 insertions(+), 97 deletions(-)\n\n--\n2.34.1" }{ "id": 120843, "url": "