get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 99815,
    "url": "http://patches.dpdk.org/api/patches/99815/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210927133450.10653-19-srikanth.k@oneconvergence.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": "<20210927133450.10653-19-srikanth.k@oneconvergence.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210927133450.10653-19-srikanth.k@oneconvergence.com",
    "date": "2021-09-27T13:34:49",
    "name": "[18/19] net/mlx5: fixed compilation warnings",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "181230f36ea0be67933a88c9cda763a696c49e9c",
    "submitter": {
        "id": 2368,
        "url": "http://patches.dpdk.org/api/people/2368/?format=api",
        "name": "Srikanth Kaka",
        "email": "srikanth.k@oneconvergence.com"
    },
    "delegate": {
        "id": 3268,
        "url": "http://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210927133450.10653-19-srikanth.k@oneconvergence.com/mbox/",
    "series": [
        {
            "id": 19193,
            "url": "http://patches.dpdk.org/api/series/19193/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19193",
            "date": "2021-09-27T13:34:31",
            "name": "MLX5 FreeBSD support",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/19193/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/99815/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/99815/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 75FEDA0C46;\n\tMon, 27 Sep 2021 17:00:13 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7529841174;\n\tMon, 27 Sep 2021 16:58:28 +0200 (CEST)",
            "from mail-pf1-f172.google.com (mail-pf1-f172.google.com\n [209.85.210.172])\n by mails.dpdk.org (Postfix) with ESMTP id 6CDDA40E3C\n for <dev@dpdk.org>; Mon, 27 Sep 2021 15:36:50 +0200 (CEST)",
            "by mail-pf1-f172.google.com with SMTP id g2so11786780pfc.6\n for <dev@dpdk.org>; Mon, 27 Sep 2021 06:36:50 -0700 (PDT)",
            "from srikanth-ThinkPad-T450.domain.name ([223.178.22.200])\n by smtp.gmail.com with ESMTPSA id t6sm17342274pfh.63.2021.09.27.06.36.47\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 27 Sep 2021 06:36:49 -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=8QOmrsD8ftdGTXzP7TCS3S4NJ1dlVSzW/1TVaIyIJ8s=;\n b=DDxgiXcNo2MbmjoZ5ZoKclP7fyoUpll0zgS/xR63Lklte+dQSO7IzV/o31qIsjh+H5\n mei0BYIofiD1939D/3VmuQ7SXVdPAVDM7srbkiJiKg4y+mOmU+szTS71HZas+1rU1YMo\n hWWKzVSjMx7e7ixY8CpJNRo0JT2+b4/mFxH3Y=",
        "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=8QOmrsD8ftdGTXzP7TCS3S4NJ1dlVSzW/1TVaIyIJ8s=;\n b=WNjBwvUULnKGmjrHxTBMiQRfPzNjjN2HqDDRe9zYsVZKWRErxuzgTF+R+5Qu5nVRgX\n aHkBDG9ST70lNyz3GM5EpO8DQhNH47AU+wKrSLZusuKABwoJsYOh70bVyjD1EEgYE1sB\n hbZNtlIUTxR+iZkW6EFM/qHDL0TclfnYhNcDigf/qJhorrRjtCpBTS+As5bTOkxU4VAp\n otix/YY/JMCAoi+FspZH6WCZAb8wYCbxcmJ0cGB7V58H4PLHOLXlk4qaJa+MJgxgy8vX\n e3EWbS5YqH3+Snu+VBGcEoYS7YzOkF86ZGqcRBg5PX5qhla+s6VST7F50dqwPcLEKPKI\n HQkA==",
        "X-Gm-Message-State": "AOAM533RunLVm6FwPvLDMYO4hhXlFGx/ALi7roFw2eBjv2QXZ6tpQeLi\n 4LPRxCha0wyA2cGHOpa0gV019Q==",
        "X-Google-Smtp-Source": "\n ABdhPJzATaNj4qCqJ/Ngb0yxIGBKsBRwF6rYwRoG33my30BjVOZ01b0W0jNd50Iwv2gyYldS4tn2TA==",
        "X-Received": "by 2002:a63:788d:: with SMTP id\n t135mr16290331pgc.116.1632749809548;\n Mon, 27 Sep 2021 06:36:49 -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": "Mon, 27 Sep 2021 19:04:49 +0530",
        "Message-Id": "<20210927133450.10653-19-srikanth.k@oneconvergence.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20210927133450.10653-1-srikanth.k@oneconvergence.com>",
        "References": "<20210927133450.10653-1-srikanth.k@oneconvergence.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Mon, 27 Sep 2021 16:58:07 +0200",
        "Subject": "[dpdk-dev] [PATCH 18/19] net/mlx5: fixed compilation warnings",
        "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": "In FreeBSD, interface name instead of index is for network stack operations\nThe ALLMULTI is always enabled by kernel driver, we only check if the kernel\nhas enabled it or not and then accordingly enable/disable in PMD\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/net/mlx5/freebsd/mlx5_os.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/mlx5/freebsd/mlx5_os.c b/drivers/net/mlx5/freebsd/mlx5_os.c\nindex cf394763fa..376cceadb0 100644\n--- a/drivers/net/mlx5/freebsd/mlx5_os.c\n+++ b/drivers/net/mlx5/freebsd/mlx5_os.c\n@@ -2516,6 +2516,7 @@ mlx5_os_vf_mac_addr_modify(struct mlx5_priv *priv,\n \tchar ifname[IF_NAMESIZE];\n \tint ret;\n \n+\tRTE_SET_USED(iface_idx);\n \tret = mlx5_get_ifname_sysfs(priv->sh->ibdev_path, ifname);\n \tif (!ret)\n \t\tret = mlx5_inet_mac_addr_set(priv->nl_socket_route, ifname,\n@@ -2569,6 +2570,7 @@ mlx5_os_set_allmulti(struct rte_eth_dev *dev, int enable)\n \tchar ifname[IF_NAMESIZE];\n \tint ret;\n \n+\tRTE_SET_USED(enable);\n \tret = mlx5_get_ifname_sysfs(priv->sh->ibdev_path, ifname);\n \tif (!ret)\n \t\tret = mlx5_inet_check_allmulti_flag(priv->nl_socket_route,\n",
    "prefixes": [
        "18/19"
    ]
}