get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139814,
    "url": "http://patchwork.dpdk.org/api/patches/139814/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240502213618.11391-2-stephen@networkplumber.org/",
    "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": "<20240502213618.11391-2-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240502213618.11391-2-stephen@networkplumber.org",
    "date": "2024-05-02T21:31:37",
    "name": "[v12,01/12] net/tap: fix fd check in flow_isolate",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "ed0cd98df7483e350c8459eb470737c420716990",
    "submitter": {
        "id": 27,
        "url": "http://patchwork.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 319,
        "url": "http://patchwork.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240502213618.11391-2-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31871,
            "url": "http://patchwork.dpdk.org/api/series/31871/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31871",
            "date": "2024-05-02T21:31:36",
            "name": "net/tap: RSS and other fixes",
            "version": 12,
            "mbox": "http://patchwork.dpdk.org/series/31871/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/139814/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/139814/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 336A443F6C;\n\tThu,  2 May 2024 23:36:36 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CF538402D4;\n\tThu,  2 May 2024 23:36:31 +0200 (CEST)",
            "from mail-pf1-f177.google.com (mail-pf1-f177.google.com\n [209.85.210.177])\n by mails.dpdk.org (Postfix) with ESMTP id E395E402C4\n for <dev@dpdk.org>; Thu,  2 May 2024 23:36:29 +0200 (CEST)",
            "by mail-pf1-f177.google.com with SMTP id\n d2e1a72fcca58-6f44b296e02so106297b3a.2\n for <dev@dpdk.org>; Thu, 02 May 2024 14:36:29 -0700 (PDT)",
            "from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])\n by smtp.gmail.com with ESMTPSA id\n f14-20020a056a001ace00b006f3eee787d5sm1804829pfv.18.2024.05.02.14.36.28\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 02 May 2024 14:36:28 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1714685789;\n x=1715290589; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=eq2wjKbUvH3JgrT7fyod+qY04dohCGMAeteHnDtsFJ0=;\n b=PM9Wqza/CgS8rOz1ieQL+LBnX9LISSmwmUU5QpW1/JIdOCBlrfkFtCri8QD0eKSeAn\n Ftvcrmd/Z4jLyBpHnSTPFRBedoHfWmVvU9fN5VANQlicw7VtQcZ7cO9pMI+yM/CLHWwv\n qV2XyW0zpAie0CcyRnfY/bgNku+qLtfP5TG4KNKa5pccjpdRKAvJHX82E9bJkUg17q2K\n wZoSnxS8RzXmATik51WhuqZhwBq7TLFBnXKdubg2daTAcfKYDIOw/ch1autXttsRJ7mI\n b+EW7ZW7F1/zc4OhR6ptlpVLVbqZiWnR1/KkocPl3NoCh9b3R0BIl1lyILgdDaYZPZN9\n q2mA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1714685789; x=1715290589;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=eq2wjKbUvH3JgrT7fyod+qY04dohCGMAeteHnDtsFJ0=;\n b=S3SKUU1KES4vC8oplS0FmL+wMcpm1I8FUxj0zog9ClklsrRAuKtBHA2PXEcEfHhWEq\n R9XFHeEKq4cAeAAHkAbG98+UFweWDvHlZTW/HCLUQP7ccuDi26AUJ5z1xN38wn/NlUON\n cwRg7vmkxELibXKm4jRmb6k/TIXviO0jQQR6xR974bhVdHmXvp3mCaSTtendgG8WMqQ2\n +mpHmmBQokNDSbybdq+Ob3scdj2kSstC3hot5ZwfKM42kep7XdBcIyvEOBkDAupDZ5G3\n hWXMh/ZN1Snxb7EQf6KIHja2M5Bi+eGuJKB3cxJVwv2Tti1N69miYdUmaeRKcQ9JuVoM\n m8Tw==",
        "X-Gm-Message-State": "AOJu0Ywaq51gGGOMpq4FrVqNbvXn6vig327jd6wN6xH6e4fzla/FMJHR\n mGPZV9RWeCDxKTmTswdFCwkzDjaSMk9dPX9NEHYyZ2GZI2liYnrviLgtXceARX0p+5ApV+speug\n BBMRmQA==",
        "X-Google-Smtp-Source": "\n AGHT+IG2D4n3WD70XXfrEZ/EWfMyu7ARLqxa0ySfVzb3az2ZtjXGeVi917Rz4Ww0xKJ7WeMS7TJlBw==",
        "X-Received": "by 2002:a05:6a21:7897:b0:1aa:6613:2387 with SMTP id\n bf23-20020a056a21789700b001aa66132387mr1112441pzc.47.1714685788954;\n Thu, 02 May 2024 14:36:28 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Subject": "[PATCH v12 01/12] net/tap: fix fd check in flow_isolate",
        "Date": "Thu,  2 May 2024 14:31:37 -0700",
        "Message-ID": "<20240502213618.11391-2-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240502213618.11391-1-stephen@networkplumber.org>",
        "References": "<20240130034925.44869-1-stephen@networkplumber.org>\n <20240502213618.11391-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "The check for receive queue fd in flow_isolate is incorrect.\nIf queue has not been setup then fd will be -1 not 0.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/net/tap/tap_flow.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/tap/tap_flow.c b/drivers/net/tap/tap_flow.c\nindex fa50fe45d7..79cd6a12ca 100644\n--- a/drivers/net/tap/tap_flow.c\n+++ b/drivers/net/tap/tap_flow.c\n@@ -1595,7 +1595,7 @@ tap_flow_isolate(struct rte_eth_dev *dev,\n \t * If netdevice is there, setup appropriate flow rules immediately.\n \t * Otherwise it will be set when bringing up the netdevice (tun_alloc).\n \t */\n-\tif (!process_private->rxq_fds[0])\n+\tif (process_private->rxq_fds[0] == -1)\n \t\treturn 0;\n \tif (set) {\n \t\tstruct rte_flow *remote_flow;\n",
    "prefixes": [
        "v12",
        "01/12"
    ]
}