Show a patch.

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

{
    "id": 304,
    "url": "https://patches.dpdk.org/api/patches/304/?format=api",
    "web_url": "https://patches.dpdk.org/patch/304/",
    "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"
    },
    "msgid": "<1409759378-10113-4-git-send-email-bruce.richardson@intel.com>",
    "date": "2014-09-03T15:49:28",
    "name": "[dpdk-dev,03/13] mbuf: add packet_type field",
    "commit_ref": "",
    "pull_url": "",
    "state": "changes-requested",
    "archived": true,
    "hash": "ba871430c2ab77d20d56d7997f6947c0a2f98fa0",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/304/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/304/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/304/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Return-Path": "<bricha3@ecsmtp.ir.intel.com>",
        "Message-Id": "<1409759378-10113-4-git-send-email-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "To": "dev@dpdk.org",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\r\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\r\n\tby dpdk.org (Postfix) with ESMTP id 40BCC5941\r\n\tfor <dev@dpdk.org>; Wed,  3 Sep 2014 17:45:39 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\r\n\tby fmsmga102.fm.intel.com with ESMTP; 03 Sep 2014 08:49:40 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\r\n\tby fmsmga002.fm.intel.com with ESMTP; 03 Sep 2014 08:49:39 -0700",
            "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\r\n\t[10.237.217.46])\r\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\r\n\ts83FndU2025418; Wed, 3 Sep 2014 16:49:39 +0100",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\r\n\tby sivswdev02.ir.intel.com with ESMTP id s83FndMm010434;\r\n\tWed, 3 Sep 2014 16:49:39 +0100",
            "(from bricha3@localhost)\r\n\tby sivswdev02.ir.intel.com with  id s83Fndcx010430;\r\n\tWed, 3 Sep 2014 16:49:39 +0100"
        ],
        "Subject": "[dpdk-dev] [PATCH 03/13] mbuf: add packet_type field",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\r\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "In-Reply-To": "<1409759378-10113-1-git-send-email-bruce.richardson@intel.com>",
        "X-ExtLoop1": "1",
        "Precedence": "list",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "X-IronPort-AV": "E=Sophos;i=\"5.04,458,1406617200\"; d=\"scan'208\";a=\"593984532\"",
        "References": "<1409759378-10113-1-git-send-email-bruce.richardson@intel.com>",
        "X-List-Received-Date": "Wed, 03 Sep 2014 15:45:39 -0000",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Date": "Wed,  3 Sep 2014 16:49:28 +0100",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "Replace a reserved slot with the new packet type field used to identify\nthe type of the packet, i.e. what protocols are used.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_mbuf/rte_mbuf.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h\r\nindex f136d37..8d0c6fb 100644\r\n--- a/lib/librte_mbuf/rte_mbuf.h\r\n+++ b/lib/librte_mbuf/rte_mbuf.h\r\n@@ -146,7 +146,7 @@ struct rte_mbuf {\r\n \tuint32_t reserved1;     /**< Unused field. Required for padding */\r\n \r\n \t/* remaining bytes are set on RX when pulling packet from descriptor */\r\n-\tuint16_t reserved2;     /**< Unused field. Required for padding */\r\n+\tuint16_t packet_type;   /**< Type of packet, e.g. protocols used */\r\n \tuint16_t data_len;      /**< Amount of data in segment buffer. */\r\n \tuint32_t pkt_len;       /**< Total pkt len: sum of all segments. */\r\n \tuint16_t l3_len:9;      /**< L3 (IP) Header Length. */\r\n",
    "prefixes": [
        "dpdk-dev",
        "03/13"
    ]
}