get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 27745,
    "url": "http://patches.dpdk.org/api/patches/27745/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/bbcd0e957ee68e2d31b48c0a2aca34e1b9cb8c6a.1503475999.git.nelio.laranjeiro@6wind.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": "<bbcd0e957ee68e2d31b48c0a2aca34e1b9cb8c6a.1503475999.git.nelio.laranjeiro@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/bbcd0e957ee68e2d31b48c0a2aca34e1b9cb8c6a.1503475999.git.nelio.laranjeiro@6wind.com",
    "date": "2017-08-23T08:15:08",
    "name": "[dpdk-dev,v2,4/8] net/mlx5: remove flow drop useless if branches",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "563405101ff3940f1a66b30af00d3dd75b1dbda6",
    "submitter": {
        "id": 243,
        "url": "http://patches.dpdk.org/api/people/243/?format=api",
        "name": "Nélio Laranjeiro",
        "email": "nelio.laranjeiro@6wind.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/bbcd0e957ee68e2d31b48c0a2aca34e1b9cb8c6a.1503475999.git.nelio.laranjeiro@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/27745/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/27745/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 D88587D7B;\n\tWed, 23 Aug 2017 10:15:45 +0200 (CEST)",
            "from mail-wm0-f47.google.com (mail-wm0-f47.google.com\n\t[74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 879D87D5A\n\tfor <dev@dpdk.org>; Wed, 23 Aug 2017 10:15:38 +0200 (CEST)",
            "by mail-wm0-f47.google.com with SMTP id r187so9952738wma.0\n\tfor <dev@dpdk.org>; Wed, 23 Aug 2017 01:15:38 -0700 (PDT)",
            "from ping.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\tc19sm508450wre.43.2017.08.23.01.15.36\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 23 Aug 2017 01:15:37 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:in-reply-to:references;\n\tbh=puWvFJRyuOusX2aXdN2bCHNEGZqrOEd8UzDX8HUm6Ks=;\n\tb=brYMohjKYPRNrzuJrkt8DfdwZJMNcNHrbsSM1K8YjkqPL1q3EeYKVo2JJVyKblq/Hw\n\t2nhSntabDfSLrDPbRDsQwR9DKsrKbKTwGPl9+vdTIIuanhSoZ5HmUU69MmOPPuWxMycC\n\tqrl79FY04bYj5l81uFQmRRS5PQ+DuJsJ5nG+PPWwhVminmjUTF3ADe2b6pGOoklTmWk3\n\ttBqSJVi0Dnjaa5gjnTfPzSSODoheRCBca/9tuFjBBxJLs5L6aUVSj0kQtxr0aCluM/tg\n\tcERVfR6VX1eZ4DwuuQk9eg1gHgGRVtIZjFY6kyvpdHqTmr/QW5wH4P2OdSdvGKZ+G0/Q\n\tAoDQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:in-reply-to:references;\n\tbh=puWvFJRyuOusX2aXdN2bCHNEGZqrOEd8UzDX8HUm6Ks=;\n\tb=XXsSvQKvm/4VPkMzWTDfiCRcyatl2ZSLKhZdJzBq6+DJMdk/rP+8zcRkeAmXCqWIN0\n\tsxPdHvmBrZ5fgT2hREro1XIqJU4T+GIk2Jvka0nUQ06PBEjFZ1pwV+yTQkfSBPVMthL3\n\t2HiQBdDl6h65GOSV9W6Twg9+FFGMJ0zm8WELRPtwME07i1ys81AAcWUdyKqGLMhT3N55\n\t+ChvaFkBfIGAPSaCCM1KCb/XHF/ZsqJ6+BCr3r+zxJvxevlLGzNo0SmGudCl8unjh4hY\n\tG+Q+QyH6xkkEpBkrpNV62FoT0QmmpM14x3dDJbaES5E89fooSBkGwdV6fVsualjS8fyi\n\tnOuw==",
        "X-Gm-Message-State": "AHYfb5j/cQILPlIVveRDCW4Yv4quy9veNvuF3eHY1tggI3D2kwhgo5nK\n\tArmhn3Adx3vGs4ASDPKSYg==",
        "X-Received": "by 10.28.212.147 with SMTP id l141mr1142067wmg.7.1503476137821; \n\tWed, 23 Aug 2017 01:15:37 -0700 (PDT)",
        "From": "Nelio Laranjeiro <nelio.laranjeiro@6wind.com>",
        "To": "dev@dpdk.org,\n\tFerruh Yigit <ferruh.yigit@intel.com>",
        "Cc": "Shahaf Shuler <shahafs@mellanox.com>",
        "Date": "Wed, 23 Aug 2017 10:15:08 +0200",
        "Message-Id": "<bbcd0e957ee68e2d31b48c0a2aca34e1b9cb8c6a.1503475999.git.nelio.laranjeiro@6wind.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": [
            "<cover.1503475999.git.nelio.laranjeiro@6wind.com>",
            "<cover.1503475999.git.nelio.laranjeiro@6wind.com>"
        ],
        "References": [
            "<cover.1503475999.git.nelio.laranjeiro@6wind.com>",
            "<cover.1501588970.git.nelio.laranjeiro@6wind.com>\n\t<cover.1503475999.git.nelio.laranjeiro@6wind.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v2 4/8] net/mlx5: remove flow drop useless if\n\tbranches",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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": "Those two if statements are useless as there is a verification on the drop\nfield of the flow to jump to the end of the function just above.\n\nSigned-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>\nAcked-by: Shahaf Shuler <shahafs@mellanox.com>\n---\n drivers/net/mlx5/mlx5_flow.c | 4 ----\n 1 file changed, 4 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c\nindex 86be929..d62ccff 100644\n--- a/drivers/net/mlx5/mlx5_flow.c\n+++ b/drivers/net/mlx5/mlx5_flow.c\n@@ -1279,10 +1279,6 @@ priv_flow_destroy(struct priv *priv,\n \t\tclaim_zero(ibv_destroy_qp(flow->qp));\n \tif (flow->ind_table)\n \t\tclaim_zero(ibv_exp_destroy_rwq_ind_table(flow->ind_table));\n-\tif (flow->drop && flow->wq)\n-\t\tclaim_zero(ibv_exp_destroy_wq(flow->wq));\n-\tif (flow->drop && flow->cq)\n-\t\tclaim_zero(ibv_destroy_cq(flow->cq));\n \tif (flow->mark) {\n \t\tstruct rte_flow *tmp;\n \t\tstruct rxq *rxq;\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "4/8"
    ]
}