get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109815,
    "url": "http://patchwork.dpdk.org/api/patches/109815/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220419055921.10566-10-ndabilpuram@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20220419055921.10566-10-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220419055921.10566-10-ndabilpuram@marvell.com",
    "date": "2022-04-19T05:59:07",
    "name": "[10/24] net/cnxk: support loopback mode on AF VF's",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2847b0ab74e5725daf99e54ef99c2e5c5798020d",
    "submitter": {
        "id": 1202,
        "url": "http://patchwork.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patchwork.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220419055921.10566-10-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 22546,
            "url": "http://patchwork.dpdk.org/api/series/22546/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=22546",
            "date": "2022-04-19T05:58:58",
            "name": "[01/24] common/cnxk: add multi channel support for SDP send queues",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/22546/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/109815/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/109815/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 8C09CA00C3;\n\tTue, 19 Apr 2022 08:01:04 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A21E34280A;\n\tTue, 19 Apr 2022 08:00:25 +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 27EBA42807\n for <dev@dpdk.org>; Tue, 19 Apr 2022 08:00:24 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 23INJ4CI010007\n for <dev@dpdk.org>; Mon, 18 Apr 2022 23:00:23 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ffwap25wu-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 18 Apr 2022 23:00:23 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Mon, 18 Apr 2022 23:00:21 -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; Mon, 18 Apr 2022 23:00:21 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id ABCE35B6923;\n Mon, 18 Apr 2022 23:00:19 -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 : in-reply-to : references : mime-version :\n content-type; s=pfpt0220; bh=4y8akSg3wW0k1QfPPjBziVIpy3qs/k7178RRGSvzWsg=;\n b=TDA0ApGTIR98HEYKIPos88Oe6Bu3aUfO9Q1A1IwOb9a2dp/Vfc+DXBGhpCoDEHgfhHCo\n oqM4OYujdlmMSNcCNqU8KErmnsCXuA2ezmNyF9lUDVYyxFAQGF3aAoeVYU2EBApQpIjT\n Zn/gfJxHB8mMSG1QM0x4Gl8sf7W8/68bKmRzfDZBDKnGxsUCRISqtUeTfhJjNOVXMQOs\n onNVK6FfAgqAxYJnoUMO22Wonr0aiyl6B1TZPdFuSwpnLfvnWpjcnYSps6onflbrtIQJ\n r/vG+yklnDm3lfiXHXUgBpgKKuu7m9ztLrfObTMcMA+ne4dPwhuCYUBWCrXQ1ddZDTc3 kg==",
        "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>",
        "To": "<jerinj@marvell.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>, \"Kiran\n Kumar K\" <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>,\n Satha Rao <skoteshwar@marvell.com>",
        "CC": "<dev@dpdk.org>",
        "Subject": "[PATCH 10/24] net/cnxk: support loopback mode on AF VF's",
        "Date": "Tue, 19 Apr 2022 11:29:07 +0530",
        "Message-ID": "<20220419055921.10566-10-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20220419055921.10566-1-ndabilpuram@marvell.com>",
        "References": "<20220419055921.10566-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "lQI3zM1goNh6ky5pgrlTWTrCwsp7NSEC",
        "X-Proofpoint-ORIG-GUID": "lQI3zM1goNh6ky5pgrlTWTrCwsp7NSEC",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514\n definitions=2022-04-19_02,2022-04-15_01,2022-02-23_01",
        "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"
    },
    "content": "Support internal loopback mode on AF VF's using RoC by setting\nTx channel same as Rx channel.\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/net/cnxk/cnxk_ethdev.c | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c\nindex bd31a9a..e1b1e16 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.c\n+++ b/drivers/net/cnxk/cnxk_ethdev.c\n@@ -1119,6 +1119,9 @@ cnxk_nix_configure(struct rte_eth_dev *eth_dev)\n \tnb_rxq = RTE_MAX(data->nb_rx_queues, 1);\n \tnb_txq = RTE_MAX(data->nb_tx_queues, 1);\n \n+\tif (roc_nix_is_lbk(nix))\n+\t\tnix->enable_loop = eth_dev->data->dev_conf.lpbk_mode;\n+\n \t/* Alloc a nix lf */\n \trc = roc_nix_lf_alloc(nix, nb_rxq, nb_txq, rx_cfg);\n \tif (rc) {\n@@ -1242,6 +1245,9 @@ cnxk_nix_configure(struct rte_eth_dev *eth_dev)\n \t\t}\n \t}\n \n+\tif (roc_nix_is_lbk(nix))\n+\t\tgoto skip_lbk_setup;\n+\n \t/* Configure loop back mode */\n \trc = roc_nix_mac_loopback_enable(nix,\n \t\t\t\t\t eth_dev->data->dev_conf.lpbk_mode);\n@@ -1250,6 +1256,7 @@ cnxk_nix_configure(struct rte_eth_dev *eth_dev)\n \t\tgoto cq_fini;\n \t}\n \n+skip_lbk_setup:\n \t/* Setup Inline security support */\n \trc = nix_security_setup(dev);\n \tif (rc)\n",
    "prefixes": [
        "10/24"
    ]
}