get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 78908,
    "url": "https://patches.dpdk.org/api/patches/78908/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200927072626.28374-6-robinx.zhang@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": "<20200927072626.28374-6-robinx.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200927072626.28374-6-robinx.zhang@intel.com",
    "date": "2020-09-27T07:26:23",
    "name": "[5/8] net/iavf: add workaround promiscuous disable",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "fa690887b703cd5fea7a79a45b5a02ae2c8a3032",
    "submitter": {
        "id": 2004,
        "url": "https://patches.dpdk.org/api/people/2004/?format=api",
        "name": "Robin Zhang",
        "email": "robinx.zhang@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/20200927072626.28374-6-robinx.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 12526,
            "url": "https://patches.dpdk.org/api/series/12526/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=12526",
            "date": "2020-09-27T07:26:18",
            "name": "feature porting from i40evf to iavf",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/12526/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/78908/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/78908/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 7FBFFA04BC;\n\tSun, 27 Sep 2020 09:48:42 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 8BCF81D949;\n\tSun, 27 Sep 2020 09:47:32 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id BBA621D93F\n for <dev@dpdk.org>; Sun, 27 Sep 2020 09:47:29 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Sep 2020 00:47:28 -0700",
            "from intel-npg-odc-srv03.cd.intel.com ([10.240.178.138])\n by orsmga002.jf.intel.com with ESMTP; 27 Sep 2020 00:47:26 -0700"
        ],
        "IronPort-SDR": [
            "\n 1u7uvnB/+cIIySe+0z+gM6SwP2HWI88R3f5E9dJUFTUuH6PlBC502rnKUEjIJWgkTLRHAdQuq9\n IE8ngk4DRB5w==",
            "\n JT4TkeJIg7+RpboWjxxl8L92/T2pJlth0jX7+VMtD9plx/6Yvtwrbhznau/aOn6EAeStOTPVY0\n uoiHJ9wxnONw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9756\"; a=\"223438302\"",
            "E=Sophos;i=\"5.77,309,1596524400\"; d=\"scan'208\";a=\"223438302\"",
            "E=Sophos;i=\"5.77,309,1596524400\"; d=\"scan'208\";a=\"323939451\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Robin Zhang <robinx.zhang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "beilei.xing@intel.com, jingjing.wu@intel.com, qiming.yang@intel.com,\n stevex.yang@intel.com, Robin Zhang <robinx.zhang@intel.com>",
        "Date": "Sun, 27 Sep 2020 07:26:23 +0000",
        "Message-Id": "<20200927072626.28374-6-robinx.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200927072626.28374-1-robinx.zhang@intel.com>",
        "References": "<20200927072626.28374-1-robinx.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 5/8] net/iavf: add workaround promiscuous disable",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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 scenario of Kernel Driver runs on PF and PMD runs on VF, PMD exit\ndoesn't disable promiscuous mode, this will cause vlan filter set by\nKernel Driver will not take effect.\n\nThis patch will fix it, add promiscuous disable at device disable.\n\nSigned-off-by: Robin Zhang <robinx.zhang@intel.com>\n---\n drivers/net/iavf/iavf_ethdev.c | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c\nindex 3b3829f75..b32302c43 100644\n--- a/drivers/net/iavf/iavf_ethdev.c\n+++ b/drivers/net/iavf/iavf_ethdev.c\n@@ -1428,6 +1428,15 @@ iavf_dev_close(struct rte_eth_dev *dev)\n \tiavf_dev_stop(dev);\n \tiavf_flow_flush(dev, NULL);\n \tiavf_flow_uninit(adapter);\n+\n+\t/*\n+\t * disable promiscuous mode before reset vf\n+\t * it is a workaround solution when work with kernel driver\n+\t * and it is not the normal way\n+\t */\n+\tif (vf->promisc_unicast_enabled || vf->promisc_multicast_enabled)\n+\t\tiavf_config_promisc(adapter, false, false);\n+\n \tiavf_shutdown_adminq(hw);\n \t/* disable uio intr before callback unregister */\n \trte_intr_disable(intr_handle);\n",
    "prefixes": [
        "5/8"
    ]
}