get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114768,
    "url": "http://patchwork.dpdk.org/api/patches/114768/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220809184908.24030-4-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": "<20220809184908.24030-4-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220809184908.24030-4-ndabilpuram@marvell.com",
    "date": "2022-08-09T18:48:48",
    "name": "[04/23] net/cnxk: fix missing fc wait for outbound path in vec mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "5b7088d685f8e22b06f79bf236ce017e95ee5411",
    "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/20220809184908.24030-4-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 24239,
            "url": "http://patchwork.dpdk.org/api/series/24239/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=24239",
            "date": "2022-08-09T18:48:45",
            "name": "[01/23] common/cnxk: fix part value for cn10k",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/24239/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/114768/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/114768/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 C3D42A04FD;\n\tTue,  9 Aug 2022 20:50:03 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2D22C42BD4;\n\tTue,  9 Aug 2022 20:49:58 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 6375842BD2\n for <dev@dpdk.org>; Tue,  9 Aug 2022 20:49:56 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 279DD0Cj015646\n for <dev@dpdk.org>; Tue, 9 Aug 2022 11:49:55 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3huds2ukqh-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 09 Aug 2022 11:49:55 -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.2;\n Tue, 9 Aug 2022 11:49:54 -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; Tue, 9 Aug 2022 11:49:53 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 198663F7086;\n Tue,  9 Aug 2022 11:49:51 -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=kbuGTC/alYQJ+Op4VxB+aK67/Myv+Megi50QemqKCSM=;\n b=A6mtx9tZB7oETPMMwX5Dnw86IAdaPBV6n05Vm4sU3uICF2QofuQA9bgL6pEM5YoFzFbm\n Kvw00EtcSXBOwbdDrfmldBvA65J7pftRNn9FYjwhGjptmnbUYjaUDCggyhAQxahTeiIA\n bkRObFVsJXm0E5Im4qhJxmiZE7PdW7JjfomkWH1wfJbJXM5Ijse94tVMFqmIHhCavHIk\n zwzdaNBAHHUbC0GD/N+DqfyZP4bQzIIQTyyq1gntezF8gQ1MMyI6yB4MTTp2gokQ3EUA\n HMnip/8nrl3Ri2Yf5DgprVXM3xt7qnAcGvkMB7FBW7VjrAr2+j5y5hZlElnhsAn+qqoE Jw==",
        "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>",
        "To": "Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>",
        "CC": "<jerinj@marvell.com>, <dev@dpdk.org>",
        "Subject": "[PATCH 04/23] net/cnxk: fix missing fc wait for outbound path in vec\n mode",
        "Date": "Wed, 10 Aug 2022 00:18:48 +0530",
        "Message-ID": "<20220809184908.24030-4-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20220809184908.24030-1-ndabilpuram@marvell.com>",
        "References": "<20220809184908.24030-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "x0KwGZEgjR4F4JNMKEU4G9O3u7WsNFr3",
        "X-Proofpoint-GUID": "x0KwGZEgjR4F4JNMKEU4G9O3u7WsNFr3",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1\n definitions=2022-08-09_05,2022-08-09_02,2022-06-22_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": "Fix missing fc wait for outbound path in vector mode.\nCurrently only poll mode has it.\n\nFixes: 358d02d20a2f (\"net/cnxk: support flow control for outbound inline\")\nCc: ndabilpuram@marvell.com\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/net/cnxk/cn10k_tx.h | 22 +++++++++++++++++-----\n 1 file changed, 17 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/drivers/net/cnxk/cn10k_tx.h b/drivers/net/cnxk/cn10k_tx.h\nindex 8056510..07c88a9 100644\n--- a/drivers/net/cnxk/cn10k_tx.h\n+++ b/drivers/net/cnxk/cn10k_tx.h\n@@ -1049,9 +1049,13 @@ cn10k_nix_xmit_pkts(void *tx_queue, uint64_t *ws, struct rte_mbuf **tx_pkts,\n \n \t/* Submit CPT instructions if any */\n \tif (flags & NIX_TX_OFFLOAD_SECURITY_F) {\n+\t\tuint16_t sec_pkts = ((c_lnum << 1) + c_loff);\n+\n \t\t/* Reduce pkts to be sent to CPT */\n-\t\tburst -= ((c_lnum << 1) + c_loff);\n-\t\tcn10k_nix_sec_fc_wait(txq, (c_lnum << 1) + c_loff);\n+\t\tburst -= sec_pkts;\n+\t\tif (flags & NIX_TX_VWQE_F)\n+\t\t\tcn10k_nix_vwqe_wait_fc(txq, sec_pkts);\n+\t\tcn10k_nix_sec_fc_wait(txq, sec_pkts);\n \t\tcn10k_nix_sec_steorl(c_io_addr, c_lmt_id, c_lnum, c_loff,\n \t\t\t\t     c_shft);\n \t}\n@@ -1199,9 +1203,13 @@ cn10k_nix_xmit_pkts_mseg(void *tx_queue, uint64_t *ws,\n \n \t/* Submit CPT instructions if any */\n \tif (flags & NIX_TX_OFFLOAD_SECURITY_F) {\n+\t\tuint16_t sec_pkts = ((c_lnum << 1) + c_loff);\n+\n \t\t/* Reduce pkts to be sent to CPT */\n-\t\tburst -= ((c_lnum << 1) + c_loff);\n-\t\tcn10k_nix_sec_fc_wait(txq, (c_lnum << 1) + c_loff);\n+\t\tburst -= sec_pkts;\n+\t\tif (flags & NIX_TX_VWQE_F)\n+\t\t\tcn10k_nix_vwqe_wait_fc(txq, sec_pkts);\n+\t\tcn10k_nix_sec_fc_wait(txq, sec_pkts);\n \t\tcn10k_nix_sec_steorl(c_io_addr, c_lmt_id, c_lnum, c_loff,\n \t\t\t\t     c_shft);\n \t}\n@@ -2753,7 +2761,11 @@ cn10k_nix_xmit_pkts_vector(void *tx_queue, uint64_t *ws,\n \n \t/* Submit CPT instructions if any */\n \tif (flags & NIX_TX_OFFLOAD_SECURITY_F) {\n-\t\tcn10k_nix_sec_fc_wait(txq, (c_lnum << 1) + c_loff);\n+\t\tuint16_t sec_pkts = (c_lnum << 1) + c_loff;\n+\n+\t\tif (flags & NIX_TX_VWQE_F)\n+\t\t\tcn10k_nix_vwqe_wait_fc(txq, sec_pkts);\n+\t\tcn10k_nix_sec_fc_wait(txq, sec_pkts);\n \t\tcn10k_nix_sec_steorl(c_io_addr, c_lmt_id, c_lnum, c_loff,\n \t\t\t\t     c_shft);\n \t}\n",
    "prefixes": [
        "04/23"
    ]
}