get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 97043,
    "url": "https://patches.dpdk.org/api/patches/97043/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210818115635.3526239-1-schalla@marvell.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": "<20210818115635.3526239-1-schalla@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210818115635.3526239-1-schalla@marvell.com",
    "date": "2021-08-18T11:56:35",
    "name": "[v2] common/cnxk: fix attaching NPA LF to CPT VF",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "19f4c5c4d043a6cda7d18bafb0078f5051216d5e",
    "submitter": {
        "id": 2283,
        "url": "https://patches.dpdk.org/api/people/2283/?format=api",
        "name": "Srujana Challa",
        "email": "schalla@marvell.com"
    },
    "delegate": {
        "id": 6690,
        "url": "https://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210818115635.3526239-1-schalla@marvell.com/mbox/",
    "series": [
        {
            "id": 18327,
            "url": "https://patches.dpdk.org/api/series/18327/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=18327",
            "date": "2021-08-18T11:56:35",
            "name": "[v2] common/cnxk: fix attaching NPA LF to CPT VF",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/18327/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/97043/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/97043/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 44E3BA0C4C;\n\tWed, 18 Aug 2021 13:56:44 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BCDB54069E;\n\tWed, 18 Aug 2021 13:56:43 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id AEB7E40151\n for <dev@dpdk.org>; Wed, 18 Aug 2021 13:56:42 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.0.43) with SMTP id\n 17IBVhAU022059;\n Wed, 18 Aug 2021 04:56:41 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com with ESMTP id 3agvat98rk-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 18 Aug 2021 04:56:41 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Wed, 18 Aug 2021 04:56:39 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Wed, 18 Aug 2021 04:56:39 -0700",
            "from localhost.localdomain (unknown [10.28.36.175])\n by maili.marvell.com (Postfix) with ESMTP id 4551C3F7043;\n Wed, 18 Aug 2021 04:56:37 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=AQI2xM8IYwxDUc0tGgMEB7je9ZvYE2JdEWPTB5vJBic=;\n b=gsucBRz8xUcLuQwuR5aNqTNch6M4EBWv+0flLsdrS0BbYUikJfkdOkPmhllBFJbsbpBY\n psy6h//l704xXnXADJ9YQ/GLr3Gay6vKY607Gdh4V1rE62tHc9G6t8QRuExlYE5Qtdx2\n Q/rFNJHkWJzTVg4YJrLTHcpZibsCG+xT0185n2Ui1csXiw6yQINCRRzWBMy7GAweGxai\n /N4FCqPSVhZuc2QC2AhY92OjhoVOA4TNpCHNw0UPrGI+yONFdzldYeOb+snOdQO7wHps\n h+0Onrouus16PxB41Sl24+vti672VHUFZqBkpYBsVMXPv9lwXzAYw5Va0+zenje7XdWk xQ==",
        "From": "Srujana Challa <schalla@marvell.com>",
        "To": "<gakhil@marvell.com>, <thomas@monjalon.net>",
        "CC": "<dev@dpdk.org>, <anoobj@marvell.com>, <jerinj@marvell.com>,\n <ndabilpuram@marvell.com>, <kirankumark@marvell.com>,\n <skori@marvell.com>, <skoteshwar@marvell.com>",
        "Date": "Wed, 18 Aug 2021 17:26:35 +0530",
        "Message-ID": "<20210818115635.3526239-1-schalla@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "3eUs0TzXPJ478Fp3YAkUoWfrH4T6MQgw",
        "X-Proofpoint-GUID": "3eUs0TzXPJ478Fp3YAkUoWfrH4T6MQgw",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475\n definitions=2021-08-18_04,2021-08-17_02,2020-04-07_01",
        "Subject": "[dpdk-dev] [PATCH v2] common/cnxk: fix attaching NPA LF to CPT VF",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "ATTACH_RESOURCES mailbox for CPT LFs is being called without\nsetting modify bit. Because of this previously attached NPA LF\nto the CPT VF is getting removed, when only CPT VF is whitelisted.\nThis patch fixes the same.\n\nFixes: c045d2e5cbbc (\"common/cnxk: add CPT configuration\")\n\nv2:\n- Fixed checkpatch warning.\n\nSigned-off-by: Srujana Challa <schalla@marvell.com>\n---\n drivers/common/cnxk/roc_cpt.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/cnxk/roc_cpt.c\nindex 2ffd271566..60a68876b0 100644\n--- a/drivers/common/cnxk/roc_cpt.c\n+++ b/drivers/common/cnxk/roc_cpt.c\n@@ -478,7 +478,7 @@ roc_cpt_dev_configure(struct roc_cpt *roc_cpt, int nb_lf)\n \tint rc, i;\n \n \t/* Request LF resources */\n-\trc = cpt_lfs_attach(&cpt->dev, blkaddr, false, nb_lf);\n+\trc = cpt_lfs_attach(&cpt->dev, blkaddr, true, nb_lf);\n \tif (rc)\n \t\treturn rc;\n \n",
    "prefixes": [
        "v2"
    ]
}