get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 137037,
    "url": "http://patchwork.dpdk.org/api/patches/137037/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240222162113.1896370-1-maxime.coquelin@redhat.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": "<20240222162113.1896370-1-maxime.coquelin@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240222162113.1896370-1-maxime.coquelin@redhat.com",
    "date": "2024-02-22T16:21:12",
    "name": "[1/2] baseband/fpga_5gnr_fec: use new barrier API",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "55400d5a6f3ba3df7a1b23523c516e09d53c216c",
    "submitter": {
        "id": 512,
        "url": "http://patchwork.dpdk.org/api/people/512/?format=api",
        "name": "Maxime Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "delegate": {
        "id": 2642,
        "url": "http://patchwork.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240222162113.1896370-1-maxime.coquelin@redhat.com/mbox/",
    "series": [
        {
            "id": 31184,
            "url": "http://patchwork.dpdk.org/api/series/31184/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31184",
            "date": "2024-02-22T16:21:12",
            "name": "[1/2] baseband/fpga_5gnr_fec: use new barrier API",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/31184/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/137037/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/137037/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 7673043B78;\n\tThu, 22 Feb 2024 17:21:22 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1308C40281;\n\tThu, 22 Feb 2024 17:21:22 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id 9D7894027F\n for <dev@dpdk.org>; Thu, 22 Feb 2024 17:21:20 +0100 (CET)",
            "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-153-fzfykomxNsO3wOvxjHd2zA-1; Thu, 22 Feb 2024 11:21:18 -0500",
            "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com\n [10.11.54.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EEF9683BA89;\n Thu, 22 Feb 2024 16:21:17 +0000 (UTC)",
            "from max-p1.redhat.com (unknown [10.39.208.17])\n by smtp.corp.redhat.com (Postfix) with ESMTP id EBF7A48B;\n Thu, 22 Feb 2024 16:21:15 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1708618880;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=lfWzi+s91uV7Xuh8NNOLFe53v+6N20PU7570JnDibXc=;\n b=hPs59G3pugn4HK86xz7zSlrs0pV1d8vIef/kLLuKzmvcu05xXLlWTl5uYVGGLi1Yal4JgA\n tbP9yNJhCA5+wSQuek/oS+LMX9rnnPVMEFzyCkpM5HcoU5bYK2ke6Wd21DlVslehZ4vfXx\n dx1Ilnvd1OcV+jj/uJBBqxbLDZC26fQ=",
        "X-MC-Unique": "fzfykomxNsO3wOvxjHd2zA-1",
        "From": "Maxime Coquelin <maxime.coquelin@redhat.com>",
        "To": "dev@dpdk.org, nicolas.chautru@intel.com, hernan.vargas@intel.com,\n david.marchand@redhat.com, thomas@monjalon.net,\n roretzla@linux.microsoft.com",
        "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>",
        "Subject": "[PATCH 1/2] baseband/fpga_5gnr_fec: use new barrier API",
        "Date": "Thu, 22 Feb 2024 17:21:12 +0100",
        "Message-ID": "<20240222162113.1896370-1-maxime.coquelin@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.11.54.1",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "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": "rte_smp_rmb() is deprecated, use the new API instead as\nsuggested in rte_atomic header.\n\nSigned-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c b/drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c\nindex efc1d3a772..314c87350e 100644\n--- a/drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c\n+++ b/drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c\n@@ -2661,7 +2661,7 @@ vc_5gnr_dequeue_ldpc_enc_one_op_cb(struct fpga_5gnr_queue *q, struct rte_bbdev_e\n \t\treturn -1;\n \n \t/* make sure the response is read atomically */\n-\trte_smp_rmb();\n+\trte_atomic_thread_fence(rte_memory_order_acquire);\n \n \trte_bbdev_log_debug(\"DMA response desc %p\", desc);\n \n@@ -2690,7 +2690,7 @@ agx100_dequeue_ldpc_enc_one_op_cb(struct fpga_5gnr_queue *q, struct rte_bbdev_en\n \t\treturn -1;\n \n \t/* make sure the response is read atomically. */\n-\trte_smp_rmb();\n+\trte_atomic_thread_fence(rte_memory_order_acquire);\n \n \trte_bbdev_log_debug(\"DMA response desc %p\", desc);\n \n@@ -2722,7 +2722,7 @@ vc_5gnr_dequeue_ldpc_dec_one_op_cb(struct fpga_5gnr_queue *q, struct rte_bbdev_d\n \t\treturn -1;\n \n \t/* make sure the response is read atomically */\n-\trte_smp_rmb();\n+\trte_atomic_thread_fence(rte_memory_order_acquire);\n \n #ifdef RTE_LIBRTE_BBDEV_DEBUG\n \tvc_5gnr_print_dma_dec_desc_debug_info(desc);\n@@ -2768,7 +2768,7 @@ agx100_dequeue_ldpc_dec_one_op_cb(struct fpga_5gnr_queue *q, struct rte_bbdev_de\n \t\treturn -1;\n \n \t/* make sure the response is read atomically. */\n-\trte_smp_rmb();\n+\trte_atomic_thread_fence(rte_memory_order_acquire);\n \n #ifdef RTE_LIBRTE_BBDEV_DEBUG\n \tagx100_print_dma_dec_desc_debug_info(desc);\n",
    "prefixes": [
        "1/2"
    ]
}