get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 85692,
    "url": "https://patches.dpdk.org/api/patches/85692/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/e6d850b2ac28e44dec055dfbe8e2e13e40d2bbc7.1608731346.git.bnemeth@redhat.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": "<e6d850b2ac28e44dec055dfbe8e2e13e40d2bbc7.1608731346.git.bnemeth@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/e6d850b2ac28e44dec055dfbe8e2e13e40d2bbc7.1608731346.git.bnemeth@redhat.com",
    "date": "2020-12-23T13:51:25",
    "name": "net/qede: fix regression introduced by b10231aed1ed",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f990a5eb6af8fd9c3c669d60c07e082c515ce6cf",
    "submitter": {
        "id": 2072,
        "url": "https://patches.dpdk.org/api/people/2072/?format=api",
        "name": "Balazs Nemeth",
        "email": "bnemeth@redhat.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/e6d850b2ac28e44dec055dfbe8e2e13e40d2bbc7.1608731346.git.bnemeth@redhat.com/mbox/",
    "series": [
        {
            "id": 14444,
            "url": "https://patches.dpdk.org/api/series/14444/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14444",
            "date": "2020-12-23T13:51:25",
            "name": "net/qede: fix regression introduced by b10231aed1ed",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14444/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/85692/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/85692/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 6E6F4A052A;\n\tWed, 23 Dec 2020 14:51:57 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 3FCE2C9D0;\n\tWed, 23 Dec 2020 14:51:56 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [216.205.24.124])\n by dpdk.org (Postfix) with ESMTP id D7C07C9CE\n for <dev@dpdk.org>; Wed, 23 Dec 2020 14:51:53 +0100 (CET)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-477-ZS5NPK8nOcCgrV7ItgWvNw-1; Wed, 23 Dec 2020 08:51:50 -0500",
            "from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com\n [10.5.11.15])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7C6201005504\n for <dev@dpdk.org>; Wed, 23 Dec 2020 13:51:49 +0000 (UTC)",
            "from bnemeth.users.ipa.redhat.com (ovpn-113-170.ams2.redhat.com\n [10.36.113.170])\n by smtp.corp.redhat.com (Postfix) with ESMTP id DB15C5D6D7\n for <dev@dpdk.org>; Wed, 23 Dec 2020 13:51:48 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1608731512;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=1dCrpdb9x5O9n3Jqnv+6RZdF9F3enYhS111jXNiw74I=;\n b=FuVLbJ0EoD3TMDpIBxVj9mnAt4nc1GKROhsgaCfLMXqUHhcip0KBCZ6iSRot/Ox3Tv/TjE\n JGi5Q+yHFy9Hdc1Hr0xiiYwrl0AytSwUKD8xHySpy7maWW0nJZywq2RKyF2j64HztpEHAO\n cXg3fSuQRvuEMBd9EH1+xWm+ngzKDk4=",
        "X-MC-Unique": "ZS5NPK8nOcCgrV7ItgWvNw-1",
        "From": "Balazs Nemeth <bnemeth@redhat.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 23 Dec 2020 14:51:25 +0100",
        "Message-Id": "\n <e6d850b2ac28e44dec055dfbe8e2e13e40d2bbc7.1608731346.git.bnemeth@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.15",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=bnemeth@redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"",
        "Subject": "[dpdk-dev] [PATCH] net/qede: fix regression introduced by\n\tb10231aed1ed",
        "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": "When calling rte_eth_promiscuous_enable(port_id) followed by\nrte_eth_allmulticast_enable(port_id), the port is not in promisc mode\nanymore. This patch ensures that promisc mode takes precedence over\nallmulticast mode fixing the regression introduced by b10231aed1ed.\n---\n drivers/net/qede/qede_ethdev.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c\nindex 549013557..3bec62d82 100644\n--- a/drivers/net/qede/qede_ethdev.c\n+++ b/drivers/net/qede/qede_ethdev.c\n@@ -1885,6 +1885,8 @@ static int qede_allmulticast_enable(struct rte_eth_dev *eth_dev)\n \t    QED_FILTER_RX_MODE_TYPE_MULTI_PROMISC;\n \tenum _ecore_status_t ecore_status;\n \n+\tif (rte_eth_promiscuous_get(eth_dev->data->port_id) == 1)\n+\t\ttype = QED_FILTER_RX_MODE_TYPE_PROMISC;\n \tecore_status = qed_configure_filter_rx_mode(eth_dev, type);\n \n \treturn ecore_status >= ECORE_SUCCESS ? 0 : -EAGAIN;\n",
    "prefixes": []
}