get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113779,
    "url": "https://patches.dpdk.org/api/patches/113779/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220707162602.2123584-1-kevinx.liu@intel.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": "<20220707162602.2123584-1-kevinx.liu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220707162602.2123584-1-kevinx.liu@intel.com",
    "date": "2022-07-07T16:26:02",
    "name": "[v3] net/i40e: restore disable double VLAN by default",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "758dec8755df3d728fd56c26d5c379a4ebb33a9c",
    "submitter": {
        "id": 2440,
        "url": "https://patches.dpdk.org/api/people/2440/?format=api",
        "name": "Kevin Liu",
        "email": "kevinx.liu@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220707162602.2123584-1-kevinx.liu@intel.com/mbox/",
    "series": [
        {
            "id": 23919,
            "url": "https://patches.dpdk.org/api/series/23919/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=23919",
            "date": "2022-07-07T16:26:02",
            "name": "[v3] net/i40e: restore disable double VLAN by default",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/23919/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/113779/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/113779/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 CD89CA0540;\n\tThu,  7 Jul 2022 10:29:00 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6B4CC40A7B;\n\tThu,  7 Jul 2022 10:29:00 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 66CAD406B4\n for <dev@dpdk.org>; Thu,  7 Jul 2022 10:28:59 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Jul 2022 01:28:43 -0700",
            "from intel-cd-odc-kevin.cd.intel.com ([10.240.178.191])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Jul 2022 01:28:40 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1657182539; x=1688718539;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=ax4iU7arrLh3FsaTSNpYQ5pXogSTvV4WuKCDYraz1JY=;\n b=nnli8VREuFkHDBBzSxl86xtC808IRFBl803YdT2Hbav5XacnHJMtHd4K\n sN+5HvDpppLOWyw3MjWejnnaqUOf/XkieLAy8TP/lJR86lmsoe6AJe3JS\n Z32PGQDxiK+Yj0ZLw40qC3/q3v5sNhlYF08HOSStkkNtxoI2D6rifmcIG\n rWgU44oZiW4ZZCOcDe4HEkog20R/EqKnyaR7OuMKjNG5OB1qtGyGVIvja\n 6xS+0cRmEiImFUZW0x5j30b+tG3U4vyvLC37qtd/I4y1Rx5FNHm/jbyVu\n jEX4m4YLhNCMTL7bvMnoqvNyu2g2lQ84rDV8N4YkOSWKTnaUnT4qBMzBo g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10400\"; a=\"281515099\"",
            "E=Sophos;i=\"5.92,252,1650956400\"; d=\"scan'208\";a=\"281515099\"",
            "E=Sophos;i=\"5.92,252,1650956400\"; d=\"scan'208\";a=\"620697189\""
        ],
        "From": "Kevin Liu <kevinx.liu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "beilei.xing@intel.com, Yuying.Zhang@intel.com, stevex.yang@intel.com,\n Kevin Liu <kevinx.liu@intel.com>",
        "Subject": "[PATCH v3] net/i40e: restore disable double VLAN by default",
        "Date": "Thu,  7 Jul 2022 16:26:02 +0000",
        "Message-Id": "<20220707162602.2123584-1-kevinx.liu@intel.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20220707104732.1816933-1-kevinx.liu@intel.com>",
        "References": "<20220707104732.1816933-1-kevinx.liu@intel.com>",
        "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": "Previously, QinQ is enabled by default and can't be disabled,\nbut there'll be performance drop if QinQ is enabled.\n\nSo, disable QinQ by default.\n\nFixes: ae97b8b89826 (\"net/i40e: fix error disable double VLAN\")\nSigned-off-by: Kevin Liu <kevinx.liu@intel.com>\n\n---\nv2: update doc and refine commit log\n---\nv3: refine commit log\n---\n doc/guides/nics/i40e.rst       | 11 +++++++----\n drivers/net/i40e/i40e_ethdev.c | 12 ------------\n 2 files changed, 7 insertions(+), 16 deletions(-)",
    "diff": "diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst\nindex 85fdc4944d..75ff40aa59 100644\n--- a/doc/guides/nics/i40e.rst\n+++ b/doc/guides/nics/i40e.rst\n@@ -969,11 +969,14 @@ it will fail and return the info \"Conflict with the first rule's input set\",\n which means the current rule's input set conflicts with the first rule's.\n Remove the first rule if want to change the input set of the PCTYPE.\n \n-Disable QinQ is not supported when FW >= 8.4\n-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n-\n-If upgrade FW to version 8.4 and higher, enable QinQ by default and disable QinQ is not supported.\n+Vlan related feature miss when FW >= 8.4\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n \n+If upgrade FW to version 8.4 and higher, some vlan related issue exist:\n+1. vlan tci input set not work\n+2. tpid set fail\n+3. need enable qinq before use vlan filter\n+4. outer vlan strip fail\n \n Example of getting best performance with l3fwd example\n ------------------------------------------------------\ndiff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c\nindex 684e095026..117dd85c11 100644\n--- a/drivers/net/i40e/i40e_ethdev.c\n+++ b/drivers/net/i40e/i40e_ethdev.c\n@@ -4027,12 +4027,6 @@ i40e_vlan_offload_set(struct rte_eth_dev *dev, int mask)\n \t}\n \n \tif (mask & RTE_ETH_VLAN_EXTEND_MASK) {\n-\t\t/* Double VLAN not allowed to be disabled.*/\n-\t\tif (pf->fw8_3gt && !(rxmode->offloads & RTE_ETH_RX_OFFLOAD_VLAN_EXTEND)) {\n-\t\t\tPMD_DRV_LOG(WARNING,\n-\t\t\t\t\"Disable double VLAN is not allowed after firmwarev8.3!\");\n-\t\t\treturn 0;\n-\t\t}\n \t\ti = 0;\n \t\tnum = vsi->mac_num;\n \t\tmac_filter = rte_zmalloc(\"mac_filter_info_data\",\n@@ -6296,7 +6290,6 @@ int i40e_vsi_cfg_inner_vlan_stripping(struct i40e_vsi *vsi, bool on)\n static int\n i40e_dev_init_vlan(struct rte_eth_dev *dev)\n {\n-\tstruct i40e_pf *pf = I40E_DEV_PRIVATE_TO_PF(dev->data->dev_private);\n \tstruct rte_eth_dev_data *data = dev->data;\n \tint ret;\n \tint mask = 0;\n@@ -6307,11 +6300,6 @@ i40e_dev_init_vlan(struct rte_eth_dev *dev)\n \t       RTE_ETH_VLAN_FILTER_MASK |\n \t       RTE_ETH_VLAN_EXTEND_MASK;\n \n-\t/* Double VLAN be enabled by default.*/\n-\tif (pf->fw8_3gt) {\n-\t\tstruct rte_eth_rxmode *rxmode = &dev->data->dev_conf.rxmode;\n-\t\trxmode->offloads |= RTE_ETH_RX_OFFLOAD_VLAN_EXTEND;\n-\t}\n \tret = i40e_vlan_offload_set(dev, mask);\n \tif (ret) {\n \t\tPMD_DRV_LOG(INFO, \"Failed to update vlan offload\");\n",
    "prefixes": [
        "v3"
    ]
}