Show a patch.

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

{
    "id": 43386,
    "url": "http://patches.dpdk.org/api/patches/43386/",
    "web_url": "http://patches.dpdk.org/patch/43386/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20180726011548.97788-2-ajit.khaparde@broadcom.com>",
    "date": "2018-07-26T01:15:44",
    "name": "[1/5] net/bnxt: fix to remove element from the vnic's filter list",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "134dff88915de22b3101140109fa516ab6ba177d",
    "submitter": {
        "id": 501,
        "url": "http://patches.dpdk.org/api/people/501/",
        "name": "Ajit Khaparde",
        "email": "ajit.khaparde@broadcom.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "mbox": "http://patches.dpdk.org/patch/43386/mbox/",
    "series": [
        {
            "id": 779,
            "url": "http://patches.dpdk.org/api/series/779/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=779",
            "date": "2018-07-26T01:15:46",
            "name": "bnxt patchset",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/779/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43386/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/43386/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "To": "dev@dpdk.org",
        "In-Reply-To": "<20180726011548.97788-1-ajit.khaparde@broadcom.com>",
        "Message-Id": "<20180726011548.97788-2-ajit.khaparde@broadcom.com>",
        "X-Mailer": "git-send-email 2.15.2 (Apple Git-101.1)",
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 rnd-relay.smtp.broadcom.com 797AA30C01B",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com;\n\ts=dkimrelay; t=1532567752;\n\tbh=PPX3SU4elBDRuw265EnqyP4/33AbwWEkrtGbmdwjGj4=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=pmEGLX+db6IN+5UoDonbW9XlwL4IWdPYblvUDFrTuEH6atyy3VXtA6PgbmC7q15a1\n\tMF1LSix1bXGeZ7vx9LW/977ZjZy9KjgXoIveheTOksU8//nckaRGmAbs2TnANGwLsf\n\tdTp+GTWlr5S93h7KloiuYtWKA/4L9KmBXZlbAFdo=",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A617E322C;\n\tThu, 26 Jul 2018 03:16:08 +0200 (CEST)",
            "from rnd-relay.smtp.broadcom.com (rnd-relay.smtp.broadcom.com\n\t[192.19.229.170]) by dpdk.org (Postfix) with ESMTP id AFB272BAC\n\tfor <dev@dpdk.org>; Thu, 26 Jul 2018 03:15:59 +0200 (CEST)",
            "from nis-sj1-27.broadcom.com (nis-sj1-27.lvn.broadcom.net\n\t[10.75.144.136])\n\tby rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id 797AA30C01B;\n\tWed, 25 Jul 2018 18:15:52 -0700 (PDT)",
            "from C02VPB22HTD6.vpn.broadcom.net (unknown [10.10.118.171])\n\tby nis-sj1-27.broadcom.com (Postfix) with ESMTP id 29646AC0761;\n\tWed, 25 Jul 2018 18:15:52 -0700 (PDT)"
        ],
        "Subject": "[dpdk-dev] [PATCH 1/5] net/bnxt: fix to remove element from the\n\tvnic's filter list",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Cc": "Somnath Kotur <somnath.kotur@broadcom.com>,\n\tstable@dpdk.com",
        "Precedence": "list",
        "From": "Ajit Khaparde <ajit.khaparde@broadcom.com>",
        "References": "<20180726011548.97788-1-ajit.khaparde@broadcom.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Errors-To": "dev-bounces@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Delivered-To": "patchwork@dpdk.org",
        "Date": "Wed, 25 Jul 2018 18:15:44 -0700",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "From: Somnath Kotur <somnath.kotur@broadcom.com>\n\nbnxt_clear_hwrm_vnic_filters() was removing the created filter from HW,\nbut not clearing the internal data structures by removing it from the\nstruct bnxt_vnic_info->filter list.\n\nFixes: 5ef3b79fdfe6 (\"net/bnxt: support flow filter ops\")\nCc: stable@dpdk.com\n\nSigned-off-by: Somnath Kotur <somnath.kotur@broadcom.com>\nSigned-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>\n---\n drivers/net/bnxt/bnxt_hwrm.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c\nindex 02562f78c..69c83cdab 100644\n--- a/drivers/net/bnxt/bnxt_hwrm.c\n+++ b/drivers/net/bnxt/bnxt_hwrm.c\n@@ -2020,6 +2020,7 @@ int bnxt_clear_hwrm_vnic_filters(struct bnxt *bp, struct bnxt_vnic_info *vnic)\n \t\t\trc = bnxt_hwrm_clear_ntuple_filter(bp, filter);\n \t\telse\n \t\t\trc = bnxt_hwrm_clear_l2_filter(bp, filter);\n+\t\tSTAILQ_REMOVE(&vnic->filter, filter, bnxt_filter_info, next);\n \t\t//if (rc)\n \t\t\t//break;\n \t}\n",
    "prefixes": [
        "1/5"
    ]
}