Show a patch.

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

{
    "id": 73420,
    "url": "https://patches.dpdk.org/api/patches/73420/?format=api",
    "web_url": "https://patches.dpdk.org/patch/73420/",
    "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": "<1594118726-8421-1-git-send-email-arybchenko@solarflare.com>",
    "date": "2020-07-07T10:45:24",
    "name": "[v3,1/2] service: fix wrong lcore indices",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3cbde8ccdb0fc47f5b5d57b82a3c8255aeb73c2a",
    "submitter": {
        "id": 607,
        "url": "https://patches.dpdk.org/api/people/607/?format=api",
        "name": "Andrew Rybchenko",
        "email": "arybchenko@solarflare.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/patch/73420/mbox/",
    "series": [
        {
            "id": 10846,
            "url": "https://patches.dpdk.org/api/series/10846/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10846",
            "date": "2020-07-07T10:45:24",
            "name": "[v3,1/2] service: fix wrong lcore indices",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/10846/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73420/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73420/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "References": "<1593873347-13686-1-git-send-email-arybchenko@solarflare.com>",
        "X-Mailman-Version": "2.1.15",
        "Date": "Tue, 7 Jul 2020 11:45:24 +0100",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Virus-Scanned": "Proofpoint Essentials engine",
        "X-TMASE-MatchedRID": "sppTXxFcLW3RhjL796mSwBouoVvF2i0ZNV9S7O+u3KY5yibxcff/slMe\n 5Blkpry7rdoLblq9S5oO1mVtY5XA0K+/EguYor8cFEUknJ/kEl5q8/xv2Um1avoLR4+zsDTtRcD\n SKgj6IG2LPZJpE4CXcZdjODtHoG75DvELi71Cdm2r09DnYdZ/103NJGMuEC5G1YCfp67tR6A0Ra\n GiiwdQJJ0yqLoeoeuHchJw6uJ0wJjaQLtLC8aUqEPBvsmCWGHWUWQ7Bol0IqAY5tvH9Ry2Nw==",
        "Content-Type": "text/plain",
        "X-TM-AS-Result": "No-0.696700-8.000000-10",
        "CC": "Igor Romanov <igor.romanov@oktetlabs.ru>, <stable@dpdk.org>, \"Harry van\n Haaren\" <harry.van.haaren@intel.com>",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "X-TMASE-Result": "10--0.696700-8.000000",
        "X-TM-AS-Product-Ver": "SMEX-12.5.0.1300-8.6.1012-25526.003",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v3 1/2] service: fix wrong lcore indices",
        "X-TM-AS-User-Blocked-Sender": "No",
        "Message-ID": "<1594118726-8421-1-git-send-email-arybchenko@solarflare.com>",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D7BC1A00BE;\n\tTue,  7 Jul 2020 12:45:43 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 64B491DDEA;\n\tTue,  7 Jul 2020 12:45:36 +0200 (CEST)",
            "from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com\n [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 2F6221DDD6;\n Tue,  7 Jul 2020 12:45:33 +0200 (CEST)",
            "from mx1-us1.ppe-hosted.com (unknown [10.110.50.137])\n by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id\n C0C8B2006C; Tue,  7 Jul 2020 10:45:32 +0000 (UTC)",
            "from us4-mdac16-73.at1.mdlocal (unknown [10.110.50.191])\n by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id BFA016009B;\n Tue,  7 Jul 2020 10:45:32 +0000 (UTC)",
            "from mx1-us1.ppe-hosted.com (unknown [10.110.49.106])\n by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id\n 5CBA922004D;\n Tue,  7 Jul 2020 10:45:32 +0000 (UTC)",
            "from webmail.solarflare.com (uk.solarflare.com [193.34.186.16])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))\n (No client certificate requested)\n by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id\n 251AEB40066;\n Tue,  7 Jul 2020 10:45:32 +0000 (UTC)",
            "from ukex01.SolarFlarecom.com (10.17.10.4) by\n ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id\n 15.0.1497.2; Tue, 7 Jul 2020 11:45:28 +0100",
            "from opal.uk.solarflarecom.com (10.17.10.1) by\n ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server id\n 15.0.1497.2 via Frontend Transport; Tue, 7 Jul 2020 11:45:28 +0100",
            "from ukv-loginhost.uk.solarflarecom.com\n (ukv-loginhost.uk.solarflarecom.com [10.17.10.39])\n by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id 067AjSwo013625;\n Tue, 7 Jul 2020 11:45:28 +0100",
            "from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1])\n by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 3F3FC1616A4;\n Tue,  7 Jul 2020 11:45:28 +0100 (BST)"
        ],
        "X-BeenThere": "dev@dpdk.org",
        "From": "Andrew Rybchenko <arybchenko@solarflare.com>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Precedence": "list",
        "In-Reply-To": "<1593873347-13686-1-git-send-email-arybchenko@solarflare.com>",
        "X-TMASE-Version": "SMEX-12.5.0.1300-8.6.1012-25526.003",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "MIME-Version": "1.0",
        "X-MDID": "1594118732-XW7QSaWHKQHT",
        "To": "<dev@dpdk.org>",
        "X-TM-AS-User-Approved-Sender": "Yes"
    },
    "content": "From: Igor Romanov <igor.romanov@oktetlabs.ru>\n\nThe service core list is populated, but not used. Incorrect\nlcore states are examined for a service.\n\nUse the populated list to iterate over service cores.\n\nFixes: e30dd31847d2 (\"service: add mechanism for quiescing\")\nCc: stable@dpdk.org\n\nSigned-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>\nSigned-off-by: Andrew Rybchenko <arybchenko@solarflare.com>\n---\n lib/librte_eal/common/rte_service.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_eal/common/rte_service.c b/lib/librte_eal/common/rte_service.c\nindex 6123a2124d..e2795f857e 100644\n--- a/lib/librte_eal/common/rte_service.c\n+++ b/lib/librte_eal/common/rte_service.c\n@@ -422,7 +422,7 @@ rte_service_may_be_active(uint32_t id)\n \t\treturn -EINVAL;\n \n \tfor (i = 0; i < lcore_count; i++) {\n-\t\tif (lcore_states[i].service_active_on_lcore[id])\n+\t\tif (lcore_states[ids[i]].service_active_on_lcore[id])\n \t\t\treturn 1;\n \t}\n \n",
    "prefixes": [
        "v3",
        "1/2"
    ]
}