get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/109897/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 109897,
    "url": "http://patches.dpdk.org/api/patches/109897/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220420070017.119739-1-robinx.zhang@intel.com/",
    "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": "<20220420070017.119739-1-robinx.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220420070017.119739-1-robinx.zhang@intel.com",
    "date": "2022-04-20T07:00:12",
    "name": "[v3,0/5] add telemetry command for show module EEPROM",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 2004,
        "url": "http://patches.dpdk.org/api/people/2004/?format=api",
        "name": "Robin Zhang",
        "email": "robinx.zhang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220420070017.119739-1-robinx.zhang@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/109897/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/109897/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 7A8A1A00BE;\n\tWed, 20 Apr 2022 09:05:27 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6AB784068E;\n\tWed, 20 Apr 2022 09:05:27 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 284FE40687\n for <dev@dpdk.org>; Wed, 20 Apr 2022 09:05:25 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Apr 2022 00:05:24 -0700",
            "from intel-cd-odc-robin.cd.intel.com ([10.240.178.191])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Apr 2022 00:05:20 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1650438326; x=1681974326;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=/elk5Oc5YvzjqK1EumYQUXyXSYPwycoaAqfujnmLdyQ=;\n b=A+a2AfExyEuRajPLX3j6ghwqAzRM6Fzh2cJ/RpQaLjfXeD/4eouvYNHC\n xXGYbxkuxopph4pIooEF3Fk7erIVorm0/WkhQUU1mGThiayxWcHhT30/w\n qzvpMDupIMj2sjQyZElKBQu4+T8I/14maWp1TZIwBqVj7WAVutae7Zi/j\n 8s//yv4Myz7jBGEL+ujDWq3cIdGtysvc1cx9RoIhg0eWSfV/48fd1Ev1j\n LyIS9cmmCh3Sdosqn9rqs8vaK25slKku1DusjKxHM/2x0chsapjMzbW1O\n wLvhxtcgcKOS/uryfu+UCAMDE6+gZUIMU6VZGknH9KoA/TcodbYcJ0l8T Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10322\"; a=\"262815230\"",
            "E=Sophos;i=\"5.90,274,1643702400\"; d=\"scan'208\";a=\"262815230\"",
            "E=Sophos;i=\"5.90,274,1643702400\"; d=\"scan'208\";a=\"529631790\""
        ],
        "From": "Robin Zhang <robinx.zhang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qiming.yang@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com,\n thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru,\n bruce.richardson@intel.com, david.marchand@redhat.com,\n Robin Zhang <robinx.zhang@intel.com>",
        "Subject": "[PATCH v3 0/5] add telemetry command for show module EEPROM",
        "Date": "Wed, 20 Apr 2022 07:00:12 +0000",
        "Message-Id": "<20220420070017.119739-1-robinx.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220215101853.919735-1-robinx.zhang@intel.com>",
        "References": "<20220215101853.919735-1-robinx.zhang@intel.com>",
        "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": "Introduce a new telemetry command /ethdev/module_eeprom to show module\nEEPROM for each port. The format of module EEPROM information follows\nthe SFF(Small Form Factor) Committee specifications.\n\nCurrent the format support SFP(Small Formfactor Pluggable)/SFP+/\nQSFP+(Quad Small Formfactor Pluggable)/QSFP28 with specs SFF-8079/\nSFF-8472/SFF-8024/SFF-8636.\n\nAfther run the /ethdev/module_eeprom command, both primary application\nand telemetry client will show the module EEPROM information. For\nprimary application, we keep the same format with Linux utility ethtool,\nrefer to command 'ethtool -m' of ethtool v5.4. For telemetry client,\nwe record the key value pairs of each item, then show them in telemetry\nclient dictionary.\n\nRobin Zhang (5):\n  ethdev: add telemetry command for module EEPROM\n  ethdev: common utilities for different SFF specs\n  ethdev: format module EEPROM for SFF-8079\n  ethdev: format module EEPROM for SFF-8472\n  ethdev: format module EEPROM for SFF-8636\n\n lib/ethdev/ethdev_sff_telemetry.c |  135 ++++\n lib/ethdev/ethdev_sff_telemetry.h |   42 ++\n lib/ethdev/meson.build            |    5 +\n lib/ethdev/rte_ethdev.c           |    3 +\n lib/ethdev/sff_8079.c             |  672 +++++++++++++++++++\n lib/ethdev/sff_8472.c             |  301 +++++++++\n lib/ethdev/sff_8636.c             | 1004 +++++++++++++++++++++++++++++\n lib/ethdev/sff_8636.h             |  592 +++++++++++++++++\n lib/ethdev/sff_common.c           |  414 ++++++++++++\n lib/ethdev/sff_common.h           |  191 ++++++\n 10 files changed, 3359 insertions(+)\n create mode 100644 lib/ethdev/ethdev_sff_telemetry.c\n create mode 100644 lib/ethdev/ethdev_sff_telemetry.h\n create mode 100644 lib/ethdev/sff_8079.c\n create mode 100644 lib/ethdev/sff_8472.c\n create mode 100644 lib/ethdev/sff_8636.c\n create mode 100644 lib/ethdev/sff_8636.h\n create mode 100644 lib/ethdev/sff_common.c\n create mode 100644 lib/ethdev/sff_common.h",
    "diff": null,
    "prefixes": [
        "v3",
        "0/5"
    ]
}