get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 82959,
    "url": "https://patches.dpdk.org/api/patches/82959/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201030172940.1073558-3-thomas@monjalon.net/",
    "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": "<20201030172940.1073558-3-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201030172940.1073558-3-thomas@monjalon.net",
    "date": "2020-10-30T17:29:27",
    "name": "[v5,02/15] mbuf: add Rx timestamp dynamic flag",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "66543b424d1392685ea71e35e157c7a2db0a82b8",
    "submitter": {
        "id": 685,
        "url": "https://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201030172940.1073558-3-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 13503,
            "url": "https://patches.dpdk.org/api/series/13503/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13503",
            "date": "2020-10-30T17:29:25",
            "name": "remove mbuf userdata",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/13503/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/82959/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/82959/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A92A1A04E6;\n\tFri, 30 Oct 2020 18:30:31 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A306B4C97;\n\tFri, 30 Oct 2020 18:29:56 +0100 (CET)",
            "from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com\n [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 4787149E0\n for <dev@dpdk.org>; Fri, 30 Oct 2020 18:29:51 +0100 (CET)",
            "from compute2.internal (compute2.nyi.internal [10.202.2.42])\n by mailout.nyi.internal (Postfix) with ESMTP id DE16E5C01FE;\n Fri, 30 Oct 2020 13:29:49 -0400 (EDT)",
            "from mailfrontend2 ([10.202.2.163])\n by compute2.internal (MEProxy); Fri, 30 Oct 2020 13:29:49 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id CD35A306467D;\n Fri, 30 Oct 2020 13:29:48 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm2; bh=AklnAr9ayfm51\n 8jrErRNTR6/yLG0/sBobDWiiT8ThXU=; b=t7tIBWRwsT/vU18yKFMo5865EoOcn\n Syc1NSeJAKnAlck5eH5my3Dyf43mHs0IqtzgIetVVqsjcbe7/9QP4oNpYYCe+dM2\n WzxzINF+NLV6H9sDcU7kC+wy9x4YLisQHNcTjK+m7GZR4gZpN/j7jtNPLMpwwhoD\n qXyuV7MLQJP9hF7RF749aZFkjJL6B98Tk2xRqBs0AgqyV4/IypgyiAMdr8vIAinB\n V88m8UHLV+HSzY6O9UNvqd31Bx1cOrzOSqh/RLfuzDVzXEaVzkXG3yPVuaktcdOe\n NPtsQgkh7Oa+1YTwX453Hp+fUbIMWorBCy7x0NEjpItbEP6GNNseQw3+w==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm1; bh=AklnAr9ayfm518jrErRNTR6/yLG0/sBobDWiiT8ThXU=; b=VqjYJXL5\n 7nL5kO4cR7n0vWBVBl4rd4JTvSjdsazVS3PJxpONjMg0TMO+zDTk7zsYXdOk8Sc9\n Xe3uOT5sYhT67M4iVVXObICyiSvVj1xSnDvwR7s4wdrvmBYpMYanVjjWTRMHtxHd\n hkb8O+UhEefg9lT9m0lAQ3RunKC6rLTga1EPdjDCS/9Ra9XdGaIjY0BSKQi/isF+\n rtTeaeS6nGVKDDLM6Uu85Xf/DL5GuEktUpZvh88g6Nldwl0/w3Ryi/Ky/BVbg1L/\n KGKtWFObglUGfT33JWPXVUyp47tb1nBnnoHsnL9iy/HcH1HIPT9CWRdQkoZAN1uP\n LIRRxGFaj4Hugg=="
        ],
        "X-ME-Sender": "<xms:jU2cX-AyI6WasmPf2J2v1IE8AXCsoMcv2plX432Q-1cEqu6L8sdFxg>\n <xme:jU2cX4gFKF7v8Ui6u3W37X_HK4Y3oDJMhpD3y_mYa9Di1czjNSRvipebbKTdLm9G8\n KLYXmJAtbX-eDkpsw>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgedujedrleehgdeliecutefuodetggdotefrodftvf\n curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu\n uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd\n ertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm\n ohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepvdehgfeivdejgedtveehfe\n fhteelfefgieevgfffveefjeegtdfguedthedtgeevnecukfhppeejjedrudefgedrvddt\n fedrudekgeenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhroh\n hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght",
        "X-ME-Proxy": "<xmx:jU2cXxnjwgz8DdHjwpMlNctSOzLD0Sbj8IsGacu-Pcfpk0o61PunWA>\n <xmx:jU2cX8yT8tT1criJa2IggsyiEMsIUd2w8X0nliBvyuWAq4k2_YtjUw>\n <xmx:jU2cXzT6ZQBHclFipccOG77PVhUwKGlH1ODSIfZBuAgP5Py0w6L34A>\n <xmx:jU2cX0J7u8jHcJXmMgPtZWrMzV4KGZj-LK9M2j5gI77x_VyxdxC4IQ>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@intel.com, david.marchand@redhat.com,\n bruce.richardson@intel.com, olivier.matz@6wind.com,\n andrew.rybchenko@oktetlabs.ru, akhil.goyal@nxp.com, jerinj@marvell.com",
        "Date": "Fri, 30 Oct 2020 18:29:27 +0100",
        "Message-Id": "<20201030172940.1073558-3-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.28.0",
        "In-Reply-To": "<20201030172940.1073558-1-thomas@monjalon.net>",
        "References": "<20201026052105.1561859-1-thomas@monjalon.net>\n <20201030172940.1073558-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v5 02/15] mbuf: add Rx timestamp dynamic flag",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "There is already a dynamic field for timestamp,\nused only for Tx scheduling, thanks to the dedicated flag.\nThe same field can be used for Rx timestamp filled by drivers.\nThe only missing part to get rid of the static timestamp field\nwas to declare a new dynamic flag for Rx usage.\n\nAfter migrating all Rx timestamp usages, it will be possible\nto remove the deprecated timestamp field.\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n lib/librte_mbuf/rte_mbuf_dyn.h | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/librte_mbuf/rte_mbuf_dyn.h b/lib/librte_mbuf/rte_mbuf_dyn.h\nindex 0ebac88b83..5fb85c0610 100644\n--- a/lib/librte_mbuf/rte_mbuf_dyn.h\n+++ b/lib/librte_mbuf/rte_mbuf_dyn.h\n@@ -258,14 +258,14 @@ void rte_mbuf_dyn_dump(FILE *out);\n  * timestamp. The dynamic Tx timestamp flag tells whether the field contains\n  * actual timestamp value for the packets being sent, this value can be\n  * used by PMD to schedule packet sending.\n- *\n- * After PKT_RX_TIMESTAMP flag and fixed timestamp field deprecation\n- * and obsoleting, the dedicated Rx timestamp flag is supposed to be\n- * introduced and the shared dynamic timestamp field will be used\n- * to handle the timestamps on receiving datapath as well.\n  */\n #define RTE_MBUF_DYNFIELD_TIMESTAMP_NAME \"rte_dynfield_timestamp\"\n \n+/**\n+ * Indicate that the timestamp field in the mbuf was filled by the driver.\n+ */\n+#define RTE_MBUF_DYNFLAG_RX_TIMESTAMP_NAME \"rte_dynflag_rx_timestamp\"\n+\n /**\n  * When PMD sees the RTE_MBUF_DYNFLAG_TX_TIMESTAMP_NAME flag set on the\n  * packet being sent it tries to synchronize the time of packet appearing\n",
    "prefixes": [
        "v5",
        "02/15"
    ]
}