get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 93992,
    "url": "http://patches.dpdk.org/api/patches/93992/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210607175943.31690-37-ndabilpuram@marvell.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": "<20210607175943.31690-37-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210607175943.31690-37-ndabilpuram@marvell.com",
    "date": "2021-06-07T17:59:17",
    "name": "[v2,36/62] net/cnxk: add all multicast enable/disable ethops",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "4b09aebd486fc082246c9ea296d56a9a85ebdcb0",
    "submitter": {
        "id": 1202,
        "url": "http://patches.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210607175943.31690-37-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 17256,
            "url": "http://patches.dpdk.org/api/series/17256/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=17256",
            "date": "2021-06-07T17:58:41",
            "name": "Marvell CNXK Ethdev Driver",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/17256/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/93992/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/93992/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 565ABA034F;\n\tMon,  7 Jun 2021 20:07:41 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D1BCF411A7;\n\tMon,  7 Jun 2021 20:04:57 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 1DC7E411BA\n for <dev@dpdk.org>; Mon,  7 Jun 2021 20:04:57 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 157I1bvm017520 for <dev@dpdk.org>; Mon, 7 Jun 2021 11:04:56 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com with ESMTP id 391ecv2ejg-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 07 Jun 2021 11:04:56 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Mon, 7 Jun 2021 11:04:54 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Mon, 7 Jun 2021 11:04:54 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 1B0D23F7040;\n Mon,  7 Jun 2021 11:04:51 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-type; s=pfpt0220; bh=BIUOfRQ2fhvPCT52GlF8mPS4EE5340TFj1ATHPFmnh8=;\n b=CZizIWo4MAVJZ4wVdJOZxz3WyDjxurwu3avz8h8tgi9x0F3y/8SIcnwjLFCLyyB+UkXl\n lwx4kFUoqs/dRtYV1AEbnbckoUzCVU6TGd4i74yQaeKOzDgOL2kRg5N0osdZO9OUnfpc\n 3X4xHIqrtQsq/VwlhBygvo6mSpGpbi3vKYxFs7VRcKqW47MsvMdrGASknyiSDkoouHp5\n d+40rGh2yM6Qqzru28IT9kdxeuR4L946ajeC6P/+vc34hZexQkF6JW4kpduCWPsS5zcD\n 9jtSRT3TnEPTsTLsjsva4JZPF0W4fxoLUzT+SsekXi1Ufdwp59OxigCssmE+w3ikE6ML Fw==",
        "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<jerinj@marvell.com>, <skori@marvell.com>, <skoteshwar@marvell.com>,\n <pbhagavatula@marvell.com>, <kirankumark@marvell.com>,\n <psatheesh@marvell.com>, <asekhar@marvell.com>",
        "Date": "Mon, 7 Jun 2021 23:29:17 +0530",
        "Message-ID": "<20210607175943.31690-37-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20210607175943.31690-1-ndabilpuram@marvell.com>",
        "References": "<20210306153404.10781-1-ndabilpuram@marvell.com>\n <20210607175943.31690-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "mc1a29g5R_BX931utVAEQGvj09YPZ9O1",
        "X-Proofpoint-ORIG-GUID": "mc1a29g5R_BX931utVAEQGvj09YPZ9O1",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761\n definitions=2021-06-07_14:2021-06-04,\n 2021-06-07 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v2 36/62] net/cnxk: add all multicast\n enable/disable ethops",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Sunil Kumar Kori <skori@marvell.com>\n\nL2 multicast packets can be allowed or blocked. Patch implements\ncorresponding ethops.\n\nSigned-off-by: Sunil Kumar Kori <skori@marvell.com>\n---\n doc/guides/nics/features/cnxk.ini     |  1 +\n doc/guides/nics/features/cnxk_vec.ini |  1 +\n drivers/net/cnxk/cnxk_ethdev.c        |  2 ++\n drivers/net/cnxk/cnxk_ethdev.h        |  2 ++\n drivers/net/cnxk/cnxk_ethdev_ops.c    | 17 +++++++++++++++++\n 5 files changed, 23 insertions(+)",
    "diff": "diff --git a/doc/guides/nics/features/cnxk.ini b/doc/guides/nics/features/cnxk.ini\nindex 20d4d12..b41af2d 100644\n--- a/doc/guides/nics/features/cnxk.ini\n+++ b/doc/guides/nics/features/cnxk.ini\n@@ -18,6 +18,7 @@ Queue start/stop     = Y\n MTU update           = Y\n TSO                  = Y\n Promiscuous mode     = Y\n+Allmulticast mode    = Y\n Unicast MAC filter   = Y\n RSS hash             = Y\n Inner RSS            = Y\ndiff --git a/doc/guides/nics/features/cnxk_vec.ini b/doc/guides/nics/features/cnxk_vec.ini\nindex e1de8ab..7fe8018 100644\n--- a/doc/guides/nics/features/cnxk_vec.ini\n+++ b/doc/guides/nics/features/cnxk_vec.ini\n@@ -17,6 +17,7 @@ Free Tx mbuf on demand = Y\n Queue start/stop     = Y\n MTU update           = Y\n Promiscuous mode     = Y\n+Allmulticast mode    = Y\n Unicast MAC filter   = Y\n RSS hash             = Y\n Inner RSS            = Y\ndiff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c\nindex 36d45b4..1a4f96b 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.c\n+++ b/drivers/net/cnxk/cnxk_ethdev.c\n@@ -1082,6 +1082,8 @@ struct eth_dev_ops cnxk_eth_dev_ops = {\n \t.dev_supported_ptypes_get = cnxk_nix_supported_ptypes_get,\n \t.promiscuous_enable = cnxk_nix_promisc_enable,\n \t.promiscuous_disable = cnxk_nix_promisc_disable,\n+\t.allmulticast_enable = cnxk_nix_allmulticast_enable,\n+\t.allmulticast_disable = cnxk_nix_allmulticast_disable,\n };\n \n static int\ndiff --git a/drivers/net/cnxk/cnxk_ethdev.h b/drivers/net/cnxk/cnxk_ethdev.h\nindex 38ac654..09031e9 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.h\n+++ b/drivers/net/cnxk/cnxk_ethdev.h\n@@ -215,6 +215,8 @@ int cnxk_nix_mac_addr_set(struct rte_eth_dev *eth_dev,\n \t\t\t  struct rte_ether_addr *addr);\n int cnxk_nix_promisc_enable(struct rte_eth_dev *eth_dev);\n int cnxk_nix_promisc_disable(struct rte_eth_dev *eth_dev);\n+int cnxk_nix_allmulticast_enable(struct rte_eth_dev *eth_dev);\n+int cnxk_nix_allmulticast_disable(struct rte_eth_dev *eth_dev);\n int cnxk_nix_info_get(struct rte_eth_dev *eth_dev,\n \t\t      struct rte_eth_dev_info *dev_info);\n int cnxk_nix_configure(struct rte_eth_dev *eth_dev);\ndiff --git a/drivers/net/cnxk/cnxk_ethdev_ops.c b/drivers/net/cnxk/cnxk_ethdev_ops.c\nindex fc60576..61ecbab 100644\n--- a/drivers/net/cnxk/cnxk_ethdev_ops.c\n+++ b/drivers/net/cnxk/cnxk_ethdev_ops.c\n@@ -267,3 +267,20 @@ cnxk_nix_promisc_disable(struct rte_eth_dev *eth_dev)\n \tdev->dmac_filter_enable = false;\n \treturn 0;\n }\n+\n+int\n+cnxk_nix_allmulticast_enable(struct rte_eth_dev *eth_dev)\n+{\n+\tstruct cnxk_eth_dev *dev = cnxk_eth_pmd_priv(eth_dev);\n+\n+\treturn roc_nix_npc_mcast_config(&dev->nix, true, false);\n+}\n+\n+int\n+cnxk_nix_allmulticast_disable(struct rte_eth_dev *eth_dev)\n+{\n+\tstruct cnxk_eth_dev *dev = cnxk_eth_pmd_priv(eth_dev);\n+\n+\treturn roc_nix_npc_mcast_config(&dev->nix, false,\n+\t\t\t\t\teth_dev->data->promiscuous);\n+}\n",
    "prefixes": [
        "v2",
        "36/62"
    ]
}