get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44528,
    "url": "http://patches.dpdk.org/api/patches/44528/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180910163753.85966-5-xiaoyun.li@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": "<20180910163753.85966-5-xiaoyun.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180910163753.85966-5-xiaoyun.li@intel.com",
    "date": "2018-09-10T16:37:49",
    "name": "[4/8] net/ixgbe/base: relpace an operation in X550 setup",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a06238bd0e8029734c8ca624592e2b9ca825c9af",
    "submitter": {
        "id": 798,
        "url": "http://patches.dpdk.org/api/people/798/?format=api",
        "name": "Li, Xiaoyun",
        "email": "xiaoyun.li@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180910163753.85966-5-xiaoyun.li@intel.com/mbox/",
    "series": [
        {
            "id": 1258,
            "url": "http://patches.dpdk.org/api/series/1258/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1258",
            "date": "2018-09-10T16:37:45",
            "name": "update ixgbe base code",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1258/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44528/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44528/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 8AE535681;\n\tMon, 10 Sep 2018 18:46:34 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 3348E4C90\n\tfor <dev@dpdk.org>; Mon, 10 Sep 2018 18:46:33 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t10 Sep 2018 09:46:32 -0700",
            "from dpdk-xiaoyun3.sh.intel.com ([10.67.119.41])\n\tby orsmga003.jf.intel.com with ESMTP; 10 Sep 2018 09:46:13 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.53,356,1531810800\"; d=\"scan'208\";a=\"82348884\"",
        "From": "Xiaoyun Li <xiaoyun.li@intel.com>",
        "To": "wenzhuo.lu@intel.com,\n\tdev@dpdk.org",
        "Cc": "Xiaoyun Li <xiaoyun.li@intel.com>",
        "Date": "Tue, 11 Sep 2018 00:37:49 +0800",
        "Message-Id": "<20180910163753.85966-5-xiaoyun.li@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20180910163753.85966-1-xiaoyun.li@intel.com>",
        "References": "<20180910163753.85966-1-xiaoyun.li@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 4/8] net/ixgbe/base: relpace an operation in X550\n\tsetup",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Replace \"=\" operation with \"|=\" operation to only set the intended\nregister bits.\n\nSigned-off-by: Xiaoyun Li <xiaoyun.li@intel.com>\n---\n drivers/net/ixgbe/base/ixgbe_x550.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c b/drivers/net/ixgbe/base/ixgbe_x550.c\nindex c9f1563a9..d5bbfadd4 100644\n--- a/drivers/net/ixgbe/base/ixgbe_x550.c\n+++ b/drivers/net/ixgbe/base/ixgbe_x550.c\n@@ -2780,9 +2780,9 @@ s32 ixgbe_setup_mac_link_sfp_x550a(struct ixgbe_hw *hw,\n \t\t\t\t (IXGBE_CS4227_EDC_MODE_SR << 1));\n \n \t\tif (setup_linear)\n-\t\t\treg_phy_ext = (IXGBE_CS4227_EDC_MODE_CX1 << 1) | 0x1;\n+\t\t\treg_phy_ext |= (IXGBE_CS4227_EDC_MODE_CX1 << 1) | 0x1;\n \t\telse\n-\t\t\treg_phy_ext = (IXGBE_CS4227_EDC_MODE_SR << 1) | 0x1;\n+\t\t\treg_phy_ext |= (IXGBE_CS4227_EDC_MODE_SR << 1) | 0x1;\n \t\tret_val = hw->phy.ops.write_reg(hw, reg_slice,\n \t\t\t\t\t IXGBE_MDIO_ZERO_DEV_TYPE, reg_phy_ext);\n \n",
    "prefixes": [
        "4/8"
    ]
}