get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84567,
    "url": "http://patches.dpdk.org/api/patches/84567/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201126080639.16240-1-talshn@nvidia.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20201126080639.16240-1-talshn@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201126080639.16240-1-talshn@nvidia.com",
    "date": "2020-11-26T08:06:39",
    "name": "eal/windows: add stub for rte_intr_callback_register",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3b62469e4c0d3047e828e5591f3ec8cb10cfd7b4",
    "submitter": {
        "id": 1893,
        "url": "http://patches.dpdk.org/api/people/1893/?format=api",
        "name": "Tal Shnaiderman",
        "email": "talshn@nvidia.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201126080639.16240-1-talshn@nvidia.com/mbox/",
    "series": [
        {
            "id": 14104,
            "url": "http://patches.dpdk.org/api/series/14104/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=14104",
            "date": "2020-11-26T08:06:39",
            "name": "eal/windows: add stub for rte_intr_callback_register",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/14104/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/84567/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/84567/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 8741BA0524;\n\tThu, 26 Nov 2020 09:07:59 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6DAE2C93C;\n\tThu, 26 Nov 2020 09:07:58 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 64CF7C938\n for <dev@dpdk.org>; Thu, 26 Nov 2020 09:07:56 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n talshn@nvidia.com) with SMTP; 26 Nov 2020 10:07:52 +0200",
            "from nvidia.com (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0AQ87quJ003104;\n Thu, 26 Nov 2020 10:07:52 +0200"
        ],
        "From": "Tal Shnaiderman <talshn@nvidia.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, dmitry.kozliuk@gmail.com,\n navasile@linux.microsoft.com, dmitrym@microsoft.com,\n pallavi.kadam@intel.com, david.marchand@redhat.com",
        "Date": "Thu, 26 Nov 2020 10:06:39 +0200",
        "Message-Id": "<20201126080639.16240-1-talshn@nvidia.com>",
        "X-Mailer": "git-send-email 2.16.1.windows.4",
        "Subject": "[dpdk-dev] [PATCH] eal/windows: add stub for\n\trte_intr_callback_register",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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": "interrupt callback register is not implemented in Windows.\nAdd stub with -ENOTSUP return value and export the function.\n\nSigned-off-by: Tal Shnaiderman <talshn@nvidia.com>\n---\n lib/librte_eal/rte_eal_exports.def      | 1 +\n lib/librte_eal/windows/eal_interrupts.c | 9 +++++++++\n 2 files changed, 10 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def\nindex 6a6be1cfa6..08cf25ea01 100644\n--- a/lib/librte_eal/rte_eal_exports.def\n+++ b/lib/librte_eal/rte_eal_exports.def\n@@ -63,6 +63,7 @@ EXPORTS\n \trte_get_tsc_hz\n \trte_hexdump\n \trte_hypervisor_get\n+\trte_intr_callback_register\n \trte_intr_rx_ctl\n \trte_lcore_count\n \trte_lcore_has_role\ndiff --git a/lib/librte_eal/windows/eal_interrupts.c b/lib/librte_eal/windows/eal_interrupts.c\nindex 6c64a48f34..fea338d705 100644\n--- a/lib/librte_eal/windows/eal_interrupts.c\n+++ b/lib/librte_eal/windows/eal_interrupts.c\n@@ -105,3 +105,12 @@ eal_intr_thread_schedule(void (*func)(void *arg), void *arg)\n \n \treturn 0;\n }\n+\n+int\n+rte_intr_callback_register(\n+\t\t\t__rte_unused const struct rte_intr_handle *intr_handle,\n+\t\t\t__rte_unused rte_intr_callback_fn cb,\n+\t\t\t__rte_unused void *cb_arg)\n+{\n+\treturn -ENOTSUP;\n+}\n",
    "prefixes": []
}