get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 80269,
    "url": "https://patches.dpdk.org/api/patches/80269/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201010063310.809945-1-kirankumark@marvell.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": "<20201010063310.809945-1-kirankumark@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201010063310.809945-1-kirankumark@marvell.com",
    "date": "2020-10-10T06:33:10",
    "name": "net/octeontx2: fix rss flow create",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "f5ed7f7d70f6db0a45f044f9727a4be7ed3a9444",
    "submitter": {
        "id": 1260,
        "url": "https://patches.dpdk.org/api/people/1260/?format=api",
        "name": "Kiran Kumar Kokkilagadda",
        "email": "kirankumark@marvell.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/20201010063310.809945-1-kirankumark@marvell.com/mbox/",
    "series": [
        {
            "id": 12855,
            "url": "https://patches.dpdk.org/api/series/12855/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=12855",
            "date": "2020-10-10T06:33:10",
            "name": "net/octeontx2: fix rss flow create",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/12855/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/80269/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/80269/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 E5529A04B1;\n\tSat, 10 Oct 2020 08:33:25 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 03CD01D6EC;\n\tSat, 10 Oct 2020 08:33:24 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id F30D51D6E5\n for <dev@dpdk.org>; Sat, 10 Oct 2020 08:33:21 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 09A6UTY3023135 for <dev@dpdk.org>; Fri, 9 Oct 2020 23:33:19 -0700",
            "from sc-exch02.marvell.com ([199.233.58.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 34352ggbr0-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Fri, 09 Oct 2020 23:33:19 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH02.marvell.com\n (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Fri, 9 Oct 2020 23:33:18 -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 Fri, 9 Oct 2020 23:33:17 -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; Fri, 9 Oct 2020 23:33:17 -0700",
            "from localhost.localdomain (unknown [10.28.34.15])\n by maili.marvell.com (Postfix) with ESMTP id C47133F704D;\n Fri,  9 Oct 2020 23:33:15 -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 : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=3Z2V/HpYPYNDijahuc79e80QD5a13Duee9tvskcuJZE=;\n b=iTpyDC0H3B8jtaymtYhyN6azdBXMqTy1ujR6ZFw2KXyrZYT4grTnRz05MJmstGrqrQ0a\n +wvxvVCF/6ChenhYdwjRB0STyolve1MbzrbqBvvp3aXZxr6X9XNQffzUwsK16NXyBe39\n 4KYGGkJiwd7mltUH8RG80kIaswnU9kVTYZ8rmx19ge3SnARw35YCwaoXvKPsUlLkwksK\n oPL+AQ9P4aUOk4qUpdgLESmKdg43NIF3vyrXDZbZm0HeE/UUboIjHPZd4SjJOgqx2FSV\n f+WbfdopcHf01DL0B/7K558hquCOs4oibwflsslwdMY8s8M34sSsvAKKgHXVG3baqe6W xA==",
        "From": "<kirankumark@marvell.com>",
        "To": "Jerin Jacob <jerinj@marvell.com>, Nithin Dabilpuram\n <ndabilpuram@marvell.com>, Kiran Kumar K <kirankumark@marvell.com>",
        "CC": "<dev@dpdk.org>",
        "Date": "Sat, 10 Oct 2020 12:03:10 +0530",
        "Message-ID": "<20201010063310.809945-1-kirankumark@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687\n definitions=2020-10-10_03:2020-10-09,\n 2020-10-10 signatures=0",
        "Subject": "[dpdk-dev] [PATCH] net/octeontx2: fix rss flow create",
        "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": "From: Kiran Kumar K <kirankumark@marvell.com>\n\nWhile creating flow with action type RSS, action type is not being\nset to RSS, and action type is being set to unicast. Therefore it breaks\nRSS functionality. This patch add changes to program the RSS action\nproperly.\n\nFixes: 4092e4845d (\"net/octeontx2: add flow operations\")\n\nSigned-off-by: Kiran Kumar K <kirankumark@marvell.com>\n---\n drivers/net/octeontx2/otx2_flow.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/octeontx2/otx2_flow.c b/drivers/net/octeontx2/otx2_flow.c\nindex 13a76e441..90540ffbd 100644\n--- a/drivers/net/octeontx2/otx2_flow.c\n+++ b/drivers/net/octeontx2/otx2_flow.c\n@@ -270,6 +270,8 @@ flow_program_rss_action(struct rte_eth_dev *eth_dev,\n \t\t\tif (rc)\n \t\t\t\treturn rc;\n \n+\t\t\tflow->npc_action &= (~(0xfULL));\n+\t\t\tflow->npc_action |= NIX_RX_ACTIONOP_RSS;\n \t\t\tflow->npc_action |=\n \t\t\t\t((uint64_t)(alg_idx & NIX_RSS_ACT_ALG_MASK) <<\n \t\t\t\t NIX_RSS_ACT_ALG_OFFSET) |\n",
    "prefixes": []
}