get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114999,
    "url": "http://patches.dpdk.org/api/patches/114999/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220815071306.2910599-43-qi.z.zhang@intel.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": "<20220815071306.2910599-43-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220815071306.2910599-43-qi.z.zhang@intel.com",
    "date": "2022-08-15T07:12:38",
    "name": "[42/70] net/ice/base: fix double VLAN error in promisc mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "df6ac6cb14401fd44430e6b0f3649e14f9e785a7",
    "submitter": {
        "id": 504,
        "url": "http://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220815071306.2910599-43-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 24307,
            "url": "http://patches.dpdk.org/api/series/24307/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24307",
            "date": "2022-08-15T07:11:56",
            "name": "ice base code update",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/24307/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/114999/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/114999/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 8E9A2A00C3;\n\tMon, 15 Aug 2022 01:07:25 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 93CAD42C70;\n\tMon, 15 Aug 2022 01:04:19 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 440A042BFA;\n Mon, 15 Aug 2022 01:04:17 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Aug 2022 16:04:16 -0700",
            "from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.4])\n by fmsmga005.fm.intel.com with ESMTP; 14 Aug 2022 16:04:15 -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=1660518257; x=1692054257;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=2pDaJ0eI/A9oe3N75O/94Sr77b/bD733khIZNw06fJ0=;\n b=FaTGX2VXMtq506+vsQqskv+MnuoBdsxQ50ezC7SyOip7TSg07mHdIdMV\n TVARbcn2uywKbeWyOvvDJVPw2/yfuI9td1I1T07LrB+sloI4Lhv8/LJhL\n b9Xr+OvFwo17y8GFknA7nHzbjAfK1kKYQkjjlIxXHmcsEMnWmHh2I30HG\n auLjM9dZRBs/pCAvOHQl9tLqLwccfCABW7lsDruBbyAFL4wvINl55PeBo\n w/q8RTBhLUE+r+jEcKX/EIkHT/FVpky+dEx4mfqf1PP64gu75qXH/jgtH\n 3qgR5eI7TLZBbdzsBiHZmDvgMkJOPOd5g/EW8c4fn3/C69fTPK5/PilfK A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10439\"; a=\"289427623\"",
            "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"289427623\"",
            "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"934296794\""
        ],
        "X-ExtLoop1": "1",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "qiming.yang@intel.com",
        "Cc": "dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>, stable@dpdk.org,\n Grzegorz Siwik <grzegorz.siwik@intel.com>",
        "Subject": "[PATCH 42/70] net/ice/base: fix double VLAN error in promisc mode",
        "Date": "Mon, 15 Aug 2022 03:12:38 -0400",
        "Message-Id": "<20220815071306.2910599-43-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "In-Reply-To": "<20220815071306.2910599-1-qi.z.zhang@intel.com>",
        "References": "<20220815071306.2910599-1-qi.z.zhang@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": "Avoid enabling or disabling vlan 0 when trying to set promiscuous\nvlan mode if double vlan mode is enabled. This fix is needed\nbecause the driver tries to add the vlan 0 filter twice (once for\ninner and once for outer) when double VLAN mode is enabled. The\nfilter program is rejected by the firmware when double vlan is\nenabled, because the promiscuous filter only needs to be set once.\n\nThis issue was missed in the initial implementation of double vlan\nmode.\n\nFixes: 60ff6f5ce2d8 (\"net/ice/base: consolidate VF promiscuous mode\")\nCc: stable@dpdk.org\n\nSigned-off-by: Grzegorz Siwik <grzegorz.siwik@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_switch.c | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c\nindex a8f83f62ff..6a94e3fde9 100644\n--- a/drivers/net/ice/base/ice_switch.c\n+++ b/drivers/net/ice/base/ice_switch.c\n@@ -6263,6 +6263,13 @@ _ice_set_vlan_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask,\n \n \tLIST_FOR_EACH_ENTRY(list_itr, &vsi_list_head, ice_fltr_list_entry,\n \t\t\t    list_entry) {\n+\t\t/* Avoid enabling or disabling vlan zero twice when in double\n+\t\t * vlan mode\n+\t\t */\n+\t\tif (ice_is_dvm_ena(hw) &&\n+\t\t    list_itr->fltr_info.l_data.vlan.tpid == 0)\n+\t\t\tcontinue;\n+\n \t\tvlan_id = list_itr->fltr_info.l_data.vlan.vlan_id;\n \t\tif (rm_vlan_promisc)\n \t\t\tstatus =  _ice_clear_vsi_promisc(hw, vsi_handle,\n",
    "prefixes": [
        "42/70"
    ]
}