get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 111644,
    "url": "https://patches.dpdk.org/api/patches/111644/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220523161100.86280-11-hkalra@marvell.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": "<20220523161100.86280-11-hkalra@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220523161100.86280-11-hkalra@marvell.com",
    "date": "2022-05-23T16:11:00",
    "name": "[v2,11/11] net/thunderx: populate max and min MTU values",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2106b176d43dc0cc8da9fa6441d46501cf95ab17",
    "submitter": {
        "id": 1182,
        "url": "https://patches.dpdk.org/api/people/1182/?format=api",
        "name": "Harman Kalra",
        "email": "hkalra@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220523161100.86280-11-hkalra@marvell.com/mbox/",
    "series": [
        {
            "id": 23101,
            "url": "https://patches.dpdk.org/api/series/23101/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=23101",
            "date": "2022-05-23T16:10:50",
            "name": "[v2,01/11] event/octeontx: fix SSO fastpath",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/23101/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/111644/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/111644/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 DC1E0A00C2;\n\tMon, 23 May 2022 18:12:28 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B7DD642B85;\n\tMon, 23 May 2022 18:11:42 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 06B1542B85\n for <dev@dpdk.org>; Mon, 23 May 2022 18:11:40 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 24NBMWPk027049\n for <dev@dpdk.org>; Mon, 23 May 2022 09:11:40 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3g6wepetb3-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 23 May 2022 09:11:40 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Mon, 23 May 2022 09:11:38 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Mon, 23 May 2022 09:11:38 -0700",
            "from localhost.localdomain (unknown [10.29.52.211])\n by maili.marvell.com (Postfix) with ESMTP id B6FA73F70A4;\n Mon, 23 May 2022 09:11:36 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-type; s=pfpt0220; bh=qMV/sUWknusiYTIVcR7y0R2UqMhfqRHlGF4N5phyOV8=;\n b=Oi3vzKH/O9VVdjwNr4o7DuPQhfsty1HhIGeTuHRS6ahPWAlf+dYBbx8VKt13hgTjDaMA\n SCYAeHWdXDfP5qtI2VehvRmaiooJnO8ivRIj9VZmVfMqz+PFXmwAyEz6BSRC6pbHt/Dp\n /RjiTqJ3lPRUZH/jXwlmDbBriT8DRBh538KGbHsEb0hkrVb5N/gXs5G12RKyr1VOyqhs\n q29kx/cVCVDUo96k2aWaQoVwAregNGEaIvHMM5Xs1KIRJ8CXrMq5tGf2vQPn0S+xNkIx\n HDYrg/ftMgo6W1ozhwesbSE3vCHgaRvWAjlrTy1uqGuejqLS0CPZJ+mi6qNa1r8rvHA8 oQ==",
        "From": "Harman Kalra <hkalra@marvell.com>",
        "To": "<dev@dpdk.org>, Jerin Jacob <jerinj@marvell.com>, Maciej Czekaj\n <mczekaj@marvell.com>",
        "CC": "Hanumanth Pothula <hpothula@marvell.com>",
        "Subject": "[PATCH v2 11/11] net/thunderx: populate max and min MTU values",
        "Date": "Mon, 23 May 2022 21:41:00 +0530",
        "Message-ID": "<20220523161100.86280-11-hkalra@marvell.com>",
        "X-Mailer": "git-send-email 2.18.0",
        "In-Reply-To": "<20220523161100.86280-1-hkalra@marvell.com>",
        "References": "<20220517173941.189330-2-hkalra@marvell.com>\n <20220523161100.86280-1-hkalra@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "Vm2ugdLu2w0-YvEb0VyDd2YCIRDJ2NY2",
        "X-Proofpoint-ORIG-GUID": "Vm2ugdLu2w0-YvEb0VyDd2YCIRDJ2NY2",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514\n definitions=2022-05-23_07,2022-05-23_01,2022-02-23_01",
        "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": "From: Hanumanth Pothula <hpothula@marvell.com>\n\nPopulate maximum and minimum MTU values while retrieving\ndevice information.\n\nSigned-off-by: Hanumanth Pothula <hpothula@marvell.com>\n---\n drivers/net/thunderx/nicvf_ethdev.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/drivers/net/thunderx/nicvf_ethdev.c b/drivers/net/thunderx/nicvf_ethdev.c\nindex 0f79b02172..262c024560 100644\n--- a/drivers/net/thunderx/nicvf_ethdev.c\n+++ b/drivers/net/thunderx/nicvf_ethdev.c\n@@ -1479,6 +1479,10 @@ nicvf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n \tdev_info->max_mac_addrs = 1;\n \tdev_info->max_vfs = pci_dev->max_vfs;\n \n+\tdev_info->max_mtu = dev_info->max_rx_pktlen -\n+\t\t\t\t(RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN);\n+\tdev_info->min_mtu = dev_info->min_rx_bufsize - NIC_HW_L2_OVERHEAD;\n+\n \tdev_info->rx_offload_capa = NICVF_RX_OFFLOAD_CAPA;\n \tdev_info->tx_offload_capa = NICVF_TX_OFFLOAD_CAPA;\n \tdev_info->rx_queue_offload_capa = NICVF_RX_OFFLOAD_CAPA;\n",
    "prefixes": [
        "v2",
        "11/11"
    ]
}