get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 100784,
    "url": "https://patches.dpdk.org/api/patches/100784/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20211007184350.73858-17-srikanth.k@oneconvergence.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": "<20211007184350.73858-17-srikanth.k@oneconvergence.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211007184350.73858-17-srikanth.k@oneconvergence.com",
    "date": "2021-10-07T18:43:25",
    "name": "[v2,16/41] common/mlx5: add VLAN vmwa structures",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "archived": false,
    "hash": "a78b1d036b8b253d0542aa417601d88a56b20e6b",
    "submitter": {
        "id": 2368,
        "url": "https://patches.dpdk.org/api/people/2368/?format=api",
        "name": "Srikanth Kaka",
        "email": "srikanth.k@oneconvergence.com"
    },
    "delegate": {
        "id": 3268,
        "url": "https://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20211007184350.73858-17-srikanth.k@oneconvergence.com/mbox/",
    "series": [
        {
            "id": 19455,
            "url": "https://patches.dpdk.org/api/series/19455/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=19455",
            "date": "2021-10-07T18:43:09",
            "name": "add MLX5 FreeBSD support",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/19455/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/100784/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/100784/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 A2B3DA034F;\n\tFri,  8 Oct 2021 12:57:28 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D3D9F4118D;\n\tFri,  8 Oct 2021 12:56:15 +0200 (CEST)",
            "from mail-pl1-f170.google.com (mail-pl1-f170.google.com\n [209.85.214.170])\n by mails.dpdk.org (Postfix) with ESMTP id 59BE7411E0\n for <dev@dpdk.org>; Thu,  7 Oct 2021 20:44:57 +0200 (CEST)",
            "by mail-pl1-f170.google.com with SMTP id n2so4464828plk.12\n for <dev@dpdk.org>; Thu, 07 Oct 2021 11:44:57 -0700 (PDT)",
            "from srikanth-ThinkPad-T450.domain.name ([136.185.113.102])\n by smtp.gmail.com with ESMTPSA id c11sm3311586pji.38.2021.10.07.11.44.54\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 07 Oct 2021 11:44:56 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oneconvergence.com; s=google;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=CPNVQf1LCT356Y0vTz9xKzU5JcnVjWI+WLSYm/6H5Ds=;\n b=VQAD8GJlu97KIgtgT/rUXM6HOPn3hZIIykOOBkyDVWo8W45bVjDDnp+uny+1yfHnUN\n PtD8iRRLHkYttduRvblDshact2TBFWTPcRDBrxOE51mxg+q446+4P9U//C8Qn+KWq/VF\n 8k4fpPUOgvrOWR5W14puinvuMlb3AdfgNasSI=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\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=CPNVQf1LCT356Y0vTz9xKzU5JcnVjWI+WLSYm/6H5Ds=;\n b=lKIUmFi4fA4fswzCql4WNc0bBoxaowA7SHkGh6kass+unTzTB7Np7PYXeyrmIpsfN8\n Qaz5EsJwvcCvoBJQqag1+TwA3jWOz3oqae7x5GsAktuPDwYQSABV/2kNDHqKJ5vojZC7\n zwibFCm4q73efhAH9pYdfzMh7BohzxBzCzfr2ZKqfvFowUduamSxCI099e4CWx8z4kQ/\n IIC1v8prwGHH4Qv1srW0SfdVP3Zyfw046Llm1T53R1fB+qnpBlT+Y4AOEp75iLpXgF/h\n 9C9syYDhmN6SVNLLLkjNPJ2AG79Oltz/Jv+khD2/B2yc5Ajs6FdBUay7REZcd+zFisuA\n ue0w==",
        "X-Gm-Message-State": "AOAM531gTV2gX4YpiGjBdjpOrLjsp33ZxsFw9GjuGqjjF9GhVhVLrsYu\n iwsTgA0S5MJbkgOpr1hU0RwWBw==",
        "X-Google-Smtp-Source": "\n ABdhPJxY0TT+fl5PGNAbdNtCRitsldyYRvYzDf47WvWB/ZjQSXhef3si3lpxnAj4txOtaE7n3fj0kw==",
        "X-Received": "by 2002:a17:90b:946:: with SMTP id\n dw6mr7467155pjb.49.1633632296598;\n Thu, 07 Oct 2021 11:44:56 -0700 (PDT)",
        "From": "Srikanth Kaka <srikanth.k@oneconvergence.com>",
        "To": "Matan Azrad <matan@nvidia.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>",
        "Cc": "dev@dpdk.org, Vag Singh <vag.singh@oneconvergence.com>,\n Anand Thulasiram <avelu@juniper.net>,\n Srikanth Kaka <srikanth.k@oneconvergence.com>",
        "Date": "Fri,  8 Oct 2021 00:13:25 +0530",
        "Message-Id": "<20211007184350.73858-17-srikanth.k@oneconvergence.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20211007184350.73858-1-srikanth.k@oneconvergence.com>",
        "References": "<20211007184350.73858-1-srikanth.k@oneconvergence.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Fri, 08 Oct 2021 12:55:54 +0200",
        "Subject": "[dpdk-dev] [PATCH v2 16/41] common/mlx5: add VLAN vmwa structures",
        "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": "Add VLAN vmwa structures to compilation success.\nIt is not yet supported in FreeBSD\n\nSigned-off-by: Srikanth Kaka <srikanth.k@oneconvergence.com>\nSigned-off-by: Vag Singh <vag.singh@oneconvergence.com>\nSigned-off-by: Anand Thulasiram <avelu@juniper.net>\n---\n drivers/common/mlx5/freebsd/mlx5_inet.h | 18 ++++++++++++++++++\n 1 file changed, 18 insertions(+)",
    "diff": "diff --git a/drivers/common/mlx5/freebsd/mlx5_inet.h b/drivers/common/mlx5/freebsd/mlx5_inet.h\nindex cc6a05928e..54ec87287d 100644\n--- a/drivers/common/mlx5/freebsd/mlx5_inet.h\n+++ b/drivers/common/mlx5/freebsd/mlx5_inet.h\n@@ -12,6 +12,24 @@\n \n #include \"mlx5_common.h\"\n \n+/* VLAN netdev for VLAN workaround. */\n+struct mlx5_nl_vlan_dev {\n+\tuint32_t refcnt;\n+\tuint32_t ifindex; /**< Own interface index. */\n+};\n+\n+/*\n+ * Array of VLAN devices created on the base of VF\n+ * used for workaround in virtual environments.\n+ */\n+\n+struct mlx5_nl_vlan_vmwa_context {\n+\tint nl_socket;\n+\tuint32_t vf_ifindex;\n+\trte_spinlock_t sl;\n+\tstruct mlx5_nl_vlan_dev vlan_dev[4096];\n+};\n+\n int\n mlx5_inet_check_allmulti_flag(int inetsk_fd, char *ifname, uint16_t port_id);\n \n",
    "prefixes": [
        "v2",
        "16/41"
    ]
}