get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2360,
    "url": "https://patches.dpdk.org/api/patches/2360/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421650577-25969-3-git-send-email-helin.zhang@intel.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": "<1421650577-25969-3-git-send-email-helin.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421650577-25969-3-git-send-email-helin.zhang@intel.com",
    "date": "2015-01-19T06:56:12",
    "name": "[dpdk-dev,2/7] ethdev: code style fix",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a9988ee69f9517a0f9ccc74722520d407772b414",
    "submitter": {
        "id": 14,
        "url": "https://patches.dpdk.org/api/people/14/?format=api",
        "name": "Zhang, Helin",
        "email": "helin.zhang@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421650577-25969-3-git-send-email-helin.zhang@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2360/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2360/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 197D25A98;\n\tMon, 19 Jan 2015 07:56:33 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 5AF275A81\n\tfor <dev@dpdk.org>; Mon, 19 Jan 2015 07:56:30 +0100 (CET)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga101.fm.intel.com with ESMTP; 18 Jan 2015 22:56:29 -0800",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga002.fm.intel.com with ESMTP; 18 Jan 2015 22:56:28 -0800",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t0J6uQud015677;\n\tMon, 19 Jan 2015 14:56:26 +0800",
            "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t0J6uNWB026017; Mon, 19 Jan 2015 14:56:25 +0800",
            "(from hzhan75@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t0J6uNZJ026013; \n\tMon, 19 Jan 2015 14:56:23 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.09,425,1418112000\"; d=\"scan'208\";a=\"663906339\"",
        "From": "Helin Zhang <helin.zhang@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 19 Jan 2015 14:56:12 +0800",
        "Message-Id": "<1421650577-25969-3-git-send-email-helin.zhang@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1421650577-25969-1-git-send-email-helin.zhang@intel.com>",
        "References": "<1421650577-25969-1-git-send-email-helin.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 2/7] ethdev: code style fix",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Added code style fixes.\n\nSigned-off-by: Helin Zhang <helin.zhang@intel.com>\n---\n lib/librte_ether/rte_eth_ctrl.h | 32 ++++++++++++++++----------------\n 1 file changed, 16 insertions(+), 16 deletions(-)",
    "diff": "diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h\nindex 5d9c387..4308eae 100644\n--- a/lib/librte_ether/rte_eth_ctrl.h\n+++ b/lib/librte_ether/rte_eth_ctrl.h\n@@ -406,29 +406,29 @@ enum rte_fdir_mode {\n  * It can be gotten to help taking specific configurations per device.\n  */\n struct rte_eth_fdir_info {\n-\tenum rte_fdir_mode mode;     /**< Flow director mode */\n+\tenum rte_fdir_mode mode; /**< Flow director mode */\n+\t/** Flex payload configuration information */\n \tstruct rte_eth_fdir_flex_conf flex_conf;\n-\t/**< Flex payload configuration information */\n-\tuint32_t guarant_spc;          /**< Guaranteed spaces.*/\n-\tuint32_t best_spc;             /**< Best effort spaces.*/\n+\tuint32_t guarant_spc; /**< Guaranteed spaces.*/\n+\tuint32_t best_spc; /**< Best effort spaces.*/\n+\t/** Bit mask for every supported flow type. */\n \tuint32_t flow_types_mask[RTE_ETH_FLOW_TYPE_MAX / sizeof(uint32_t)];\n-\t/**< Bit mask for every supported flow type. */\n-\tuint32_t max_flexpayload;      /**< Total flex payload in bytes. */\n+\tuint32_t max_flexpayload; /**< Total flex payload in bytes. */\n+\t/** Flexible payload unit in bytes. Size and alignments of all flex\n+\t    payload segments should be multiplies of this value. */\n \tuint32_t flex_payload_unit;\n-\t/**< Flexible payload unit in bytes. Size and alignments of all flex\n-\t     payload segments should be multiplies of this value. */\n+\t/** Max number of flexible payload continuous segments.\n+\t    Each segment should be a multiple of flex_payload_unit.*/\n \tuint32_t max_flex_payload_segment_num;\n-\t/**< Max number of flexible payload continuous segments.\n-\t     Each segment should be a multiple of flex_payload_unit.*/\n+\t/** Maximum src_offset in bytes allowed. It indicates that\n+\t    src_offset[i] in struct rte_eth_flex_payload_cfg should be less\n+\t    than this value. */\n \tuint16_t flex_payload_limit;\n-\t/**< Maximum src_offset in bytes allowed. It indicates that\n-\t     src_offset[i] in struct rte_eth_flex_payload_cfg should be\n-\t     less than this value. */\n+\t/** Flex bitmask unit in bytes. Size of flex bitmasks should be a\n+\t    multiply of this value. */\n \tuint32_t flex_bitmask_unit;\n-\t/**< Flex bitmask unit in bytes. Size of flex bitmasks should\n-\t     be a multiply of this value. */\n+\t/** Max supported size of flex bitmasks in flex_bitmask_unit */\n \tuint32_t max_flex_bitmask_num;\n-\t/**< Max supported size of flex bitmasks in flex_bitmask_unit */\n };\n \n /**\n",
    "prefixes": [
        "dpdk-dev",
        "2/7"
    ]
}