get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 87096,
    "url": "https://patches.dpdk.org/api/patches/87096/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210122160501.2273782-2-mk@semihalf.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": "<20210122160501.2273782-2-mk@semihalf.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210122160501.2273782-2-mk@semihalf.com",
    "date": "2021-01-22T16:04:58",
    "name": "[1/4] net/ena: flush Rx buffers memory pool cache",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "429cb0ff780f509ef0f5fb4539ac400fa1e556bd",
    "submitter": {
        "id": 786,
        "url": "https://patches.dpdk.org/api/people/786/?format=api",
        "name": "Michal Krawczyk",
        "email": "mk@semihalf.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210122160501.2273782-2-mk@semihalf.com/mbox/",
    "series": [
        {
            "id": 14905,
            "url": "https://patches.dpdk.org/api/series/14905/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14905",
            "date": "2021-01-22T16:04:57",
            "name": "net/ena: minor bug fixes and improvements",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14905/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/87096/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/87096/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 E98C2A0A0A;\n\tFri, 22 Jan 2021 17:05:20 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3266C141011;\n\tFri, 22 Jan 2021 17:05:14 +0100 (CET)",
            "from mail-lj1-f179.google.com (mail-lj1-f179.google.com\n [209.85.208.179])\n by mails.dpdk.org (Postfix) with ESMTP id B0F5B140FF2\n for <dev@dpdk.org>; Fri, 22 Jan 2021 17:05:11 +0100 (CET)",
            "by mail-lj1-f179.google.com with SMTP id a25so5950719ljn.0\n for <dev@dpdk.org>; Fri, 22 Jan 2021 08:05:11 -0800 (PST)",
            "from mkPC.int.semihalf.com (193-106-246-138.noc.fibertech.net.pl.\n [193.106.246.138])\n by smtp.gmail.com with ESMTPSA id s2sm934063lfs.2.2021.01.22.08.05.09\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 22 Jan 2021 08:05:10 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=semihalf-com.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=qAGcbE/8C6YZSmDnpwVlRU0MfE/Vd8NZ+9YBGVzN+kY=;\n b=m+zlQdLgqoACoC0yqF12WgmmoOsRmGmU3pNgcXo3GzMubiz98bkoCD5Fqyzz4crkol\n 65FO5VJxfxj8CP6PzetSnl0ogjGRXuZheaYxOuvlzEEktEhfVK0tEkqaQCAX1YCOWyhB\n Med64Rw2em6viBFwzLgUqcKe+8ThF4eQbSRKWqOpg1O7l89W76ZYHX57oHHOaJj0ugNP\n d7aGVQRkPU2wQbDb7yjJZc1/ekm1yMo6LOrP+JcaSHYE5GJL5puh6h/voNJOoWLaWzOH\n wBM2D3+q9eI9a9y1mFW82PFa0z3TvhkIbDzw+1xvRtfTaJwQUWElHGWlosf3a9gqEf4P\n oivw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=qAGcbE/8C6YZSmDnpwVlRU0MfE/Vd8NZ+9YBGVzN+kY=;\n b=Wn4npjfLZPCxSb8clnrcpTiGQ3ZyiA9WzveE5WCSyeouUdt3genEeXnUkIEZK6uUdu\n XJwkFoET9nQbHomqqijvOgbXzZJz+cVnnHLxgDXKj+KvucK8VMGeB5qwq3sm3Kpih/ux\n bJSL5nxZ3RCvBJpshn0VIok4vxCW8kopTstrjS+KqilEz9znqXJ5lCZE0DkSq/MY7Kme\n tO1ZF/BehpgP+13Z8kCYDeVxAtYZ/zoyZu+7hqIJZL1BW95CHysAN+hBB6yYzR30JgiD\n 4oPd86DG1aAkCoRgpvx2kbmERw4D6LS32ctsU6V9akYBhMYr7ZHyC+CJCJBVN/mocjLO\n jfkg==",
        "X-Gm-Message-State": "AOAM532CksgIvUuRaIa9+CUw1ypQQmNs00TNy48iiaD4xfQE7KymznWt\n 3IrQ3N4JrAF3WT8iLRxSocRFOm7o9DMvNniq",
        "X-Google-Smtp-Source": "\n ABdhPJxCKDb2YL8rLS9TgCt8LQuP7yxy7SshKTLXwc+zqnLY7XH4QxQoisd3pv9RLbd8rlp3sqU0Ow==",
        "X-Received": "by 2002:a2e:8695:: with SMTP id l21mr563129lji.151.1611331510994;\n Fri, 22 Jan 2021 08:05:10 -0800 (PST)",
        "From": "Michal Krawczyk <mk@semihalf.com>",
        "To": "dev@dpdk.org",
        "Cc": "gtzalik@amazon.com, igorch@amazon.com, mw@semihalf.com,\n Ido Segev <idose@amazon.com>, stable@dpdk.org,\n Michal Krawczyk <mk@semihalf.com>",
        "Date": "Fri, 22 Jan 2021 17:04:58 +0100",
        "Message-Id": "<20210122160501.2273782-2-mk@semihalf.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210122160501.2273782-1-mk@semihalf.com>",
        "References": "<20210122160501.2273782-1-mk@semihalf.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 1/4] net/ena: flush Rx buffers memory pool cache",
        "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": "From: Ido Segev <idose@amazon.com>\n\nAs the refill called as part of ena_start(), we end up the refill\nprogress with stuck buffers at the caller core cache.\n\nCalling to flush the cache results with invalidate this cache and free\nthose stuck buffers.\n\nFixes: 1173fca25af9 (\"ena: add polling-mode driver\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ido Segev <idose@amazon.com>\nReviewed-by: Michal Krawczyk <mk@semihalf.com>\nReviewed-by: Igor Chauskin <igorch@amazon.com>\n---\n drivers/net/ena/ena_ethdev.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c\nindex 20ff3653c6..516e244295 100644\n--- a/drivers/net/ena/ena_ethdev.c\n+++ b/drivers/net/ena/ena_ethdev.c\n@@ -1246,6 +1246,10 @@ static int ena_queue_start(struct ena_ring *ring)\n \t\tPMD_INIT_LOG(ERR, \"Failed to populate rx ring !\");\n \t\treturn ENA_COM_FAULT;\n \t}\n+\t/* Flush per-core RX buffers pools cache as they can be used on other\n+\t * cores as well.\n+\t */\n+\trte_mempool_cache_flush(NULL, ring->mb_pool);\n \n \treturn 0;\n }\n",
    "prefixes": [
        "1/4"
    ]
}