get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 126486,
    "url": "http://patchwork.dpdk.org/api/patches/126486/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230424122835.39493-11-sedara@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": "<20230424122835.39493-11-sedara@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230424122835.39493-11-sedara@marvell.com",
    "date": "2023-04-24T12:28:33",
    "name": "[v3,10/11] net/octeon_ep: set watermark for output queues",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "5f27613b3a3d62ea614a8c206765b7119f706c30",
    "submitter": {
        "id": 2729,
        "url": "http://patchwork.dpdk.org/api/people/2729/?format=api",
        "name": "Sathesh B Edara",
        "email": "sedara@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/20230424122835.39493-11-sedara@marvell.com/mbox/",
    "series": [
        {
            "id": 27844,
            "url": "http://patchwork.dpdk.org/api/series/27844/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=27844",
            "date": "2023-04-24T12:28:24",
            "name": "extend octeon ep driver functionality",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/27844/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/126486/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/126486/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 0A4F1429DC;\n\tMon, 24 Apr 2023 16:36:17 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D417E410D0;\n\tMon, 24 Apr 2023 16:36:16 +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 A412F40FAE\n for <dev@dpdk.org>; Mon, 24 Apr 2023 16:36:14 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 33ODU3tW017326 for <dev@dpdk.org>; Mon, 24 Apr 2023 07:36:13 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3q4f3p6dat-11\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 24 Apr 2023 07:36:13 -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.48;\n Mon, 24 Apr 2023 05:28:59 -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.48 via Frontend\n Transport; Mon, 24 Apr 2023 05:28:59 -0700",
            "from localhost.marvell.com (unknown [10.106.27.249])\n by maili.marvell.com (Postfix) with ESMTP id C951A3F70A0;\n Mon, 24 Apr 2023 05:28:59 -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-transfer-encoding : content-type; s=pfpt0220;\n bh=vQ8xxSplFJfgmAb7oE0HsaDjQV/DrEpgPbUKmDqCU18=;\n b=KozPylZAbV49vSBozRmJrr6lEEUivGoV3dXkVOem9avhgB2SHMxJRB/DWkOgmlRQ1FXQ\n 3JXFlPo+onuCbfqXnDQdGIEDXCLLtIQjNjh7/yWmEOfN5N/MWlPVGk+lbDKGUsGyUTD+\n fzS1KABHwint+pkQOcfgTVt21lkXE3p2OAcxRoV4P1Y/tFUi3wOssx079gm+OSOmH4P3\n wmvxfU3CexjEm8B0GpSlPw9TesvAi4EDZmHeXFseyWGNG6/2xAg1gJyLEH84+lLacMTN\n HVxpWIOVKV6artyijSm0OYwbIkljSdfnmO4vrs0+zK8uOEx0hMjlPSipbiWhrDjY7of2 EQ==",
        "From": "Sathesh Edara <sedara@marvell.com>",
        "To": "<sburla@marvell.com>, <jerinj@marvell.com>, <sedara@marvell.com>, \"Radha\n Mohan Chintakuntla\" <radhac@marvell.com>, Veerasenareddy Burru\n <vburru@marvell.com>",
        "CC": "<dev@dpdk.org>",
        "Subject": "[PATCH v3 10/11] net/octeon_ep: set watermark for output queues",
        "Date": "Mon, 24 Apr 2023 05:28:33 -0700",
        "Message-ID": "<20230424122835.39493-11-sedara@marvell.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "In-Reply-To": "<20230424122835.39493-1-sedara@marvell.com>",
        "References": "<20230405142537.1899973-2-sedara@marvell.com>\n <20230424122835.39493-1-sedara@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "regMzcUgA3YaC6iZwqEMpQ6DWlXW3icm",
        "X-Proofpoint-GUID": "regMzcUgA3YaC6iZwqEMpQ6DWlXW3icm",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22\n definitions=2023-04-24_09,2023-04-21_01,2023-02-09_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": "Sets the watermark level for SDP output queues\nto send backpressure to NIX, when available Rx\nbuffers fall below watermark.\n\nSigned-off-by: Sathesh Edara <sedara@marvell.com>\n---\n drivers/net/octeon_ep/cnxk_ep_vf.c    | 7 ++++++-\n drivers/net/octeon_ep/otx_ep_common.h | 1 +\n 2 files changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/octeon_ep/cnxk_ep_vf.c b/drivers/net/octeon_ep/cnxk_ep_vf.c\nindex cadb4ecbf9..92c2d2ca5c 100644\n--- a/drivers/net/octeon_ep/cnxk_ep_vf.c\n+++ b/drivers/net/octeon_ep/cnxk_ep_vf.c\n@@ -245,7 +245,12 @@ cnxk_ep_vf_setup_oq_regs(struct otx_ep_device *otx_ep, uint32_t oq_no)\n \t}\n \n \totx_ep_dbg(\"SDP_R[%d]_sent: %x\", oq_no, rte_read32(droq->pkts_sent_reg));\n-\t\treturn 0;\n+\n+\t/* Set Watermark for backpressure */\n+\toct_ep_write64(OTX_EP_OQ_WMARK_MIN,\n+\t\t       otx_ep->hw_addr + CNXK_EP_R_OUT_WMARK(oq_no));\n+\n+\treturn 0;\n }\n \n static int\ndiff --git a/drivers/net/octeon_ep/otx_ep_common.h b/drivers/net/octeon_ep/otx_ep_common.h\nindex dadc8d1579..0305079af9 100644\n--- a/drivers/net/octeon_ep/otx_ep_common.h\n+++ b/drivers/net/octeon_ep/otx_ep_common.h\n@@ -23,6 +23,7 @@\n #define OTX_EP_MAX_OQ_DESCRIPTORS   (8192)\n #define OTX_EP_OQ_BUF_SIZE          (2048)\n #define OTX_EP_MIN_RX_BUF_SIZE      (64)\n+#define OTX_EP_OQ_WMARK_MIN         (256)\n \n #define OTX_EP_OQ_INFOPTR_MODE      (0)\n #define OTX_EP_OQ_REFIL_THRESHOLD   (16)\n",
    "prefixes": [
        "v3",
        "10/11"
    ]
}