get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 61808,
    "url": "https://patches.dpdk.org/api/patches/61808/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191024055913.28817-8-somnath.kotur@broadcom.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": "<20191024055913.28817-8-somnath.kotur@broadcom.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191024055913.28817-8-somnath.kotur@broadcom.com",
    "date": "2019-10-24T05:59:02",
    "name": "[07/16] net/bnxt: use mac index, while checking for default mac",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c565f84c0cb0911490482848dfd173ef4875a0f3",
    "submitter": {
        "id": 908,
        "url": "https://patches.dpdk.org/api/people/908/?format=api",
        "name": "Somnath Kotur",
        "email": "somnath.kotur@broadcom.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191024055913.28817-8-somnath.kotur@broadcom.com/mbox/",
    "series": [
        {
            "id": 7030,
            "url": "https://patches.dpdk.org/api/series/7030/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7030",
            "date": "2019-10-24T05:58:56",
            "name": "bnxt patchset with bug fixes",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/7030/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/61808/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/61808/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9F4B11C1FC;\n\tThu, 24 Oct 2019 08:07:21 +0200 (CEST)",
            "from relay.smtp.broadcom.com (relay.smtp.broadcom.com\n\t[192.19.211.62]) by dpdk.org (Postfix) with ESMTP id 562951C190\n\tfor <dev@dpdk.org>; Thu, 24 Oct 2019 08:06:59 +0200 (CEST)",
            "from dhcp-10-123-153-55.dhcp.broadcom.net\n\t(bgccx-dev-host-lnx35.bec.broadcom.net [10.123.153.55])\n\tby relay.smtp.broadcom.com (Postfix) with ESMTP id 3A0FD28FA85;\n\tWed, 23 Oct 2019 23:06:58 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com 3A0FD28FA85",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com;\n\ts=dkimrelay; t=1571897218;\n\tbh=q891UosWyEh8Nygxq2YmT+Ce9Ji3N4FpAGxPcWq+zjo=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=uiJRBFl+ikFcoV57r4TcJmNcQpNlqj+o0a0R7j9fge/TwU+wa7DsVvlTwWIV3pa92\n\tvQLqtNrmRd1DxwnFiiPI4OqPLXWbB5oSnEshkPa5XLyzgb1Apd7yb6KZ0hruxEdsCs\n\tp1PmrG+lNzOboWID/b04v2Q7StKzddYQ01tDH1MY=",
        "From": "Somnath Kotur <somnath.kotur@broadcom.com>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@intel.com",
        "Date": "Thu, 24 Oct 2019 11:29:02 +0530",
        "Message-Id": "<20191024055913.28817-8-somnath.kotur@broadcom.com>",
        "X-Mailer": "git-send-email 2.10.1.613.g2cc2e70",
        "In-Reply-To": "<20191024055913.28817-1-somnath.kotur@broadcom.com>",
        "References": "<20191024055913.28817-1-somnath.kotur@broadcom.com>",
        "Subject": "[dpdk-dev] [PATCH 07/16] net/bnxt: use mac index,\n\twhile checking for default mac",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>\n\nbnxt_set_hwrm_vnic_filters programs default mac addr and the\nsame default mac is added by mac_add_addr_op routine as well.\nThis redundant mac add is avoided by checking if the default\nmac is already added.\n\nHowever, that check is wrong. The check should consider the\nmac index as well to determine the default mac. This patch\nfixes it by using mac index to determine the default mac.\n\nFixes: d42878f5fa17 (\"net/bnxt: fix vlan filtering code path\")\nSigned-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>\nReviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>\nSigned-off-by: Somnath Kotur <somnath.kotur@broadcom.com>\n---\n drivers/net/bnxt/bnxt_ethdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c\nindex ce3a03a..820005c 100644\n--- a/drivers/net/bnxt/bnxt_ethdev.c\n+++ b/drivers/net/bnxt/bnxt_ethdev.c\n@@ -1023,7 +1023,7 @@ static int bnxt_add_mac_filter(struct bnxt *bp, struct bnxt_vnic_info *vnic,\n \t * hw-vlan-filter is turned OFF from ON, default\n \t * MAC filter should be restored\n \t */\n-\tif (filter->dflt)\n+\tif (index == 0 && filter->dflt)\n \t\treturn 0;\n \n \tfilter = bnxt_alloc_filter(bp);\n",
    "prefixes": [
        "07/16"
    ]
}