get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139218,
    "url": "http://patches.dpdk.org/api/patches/139218/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240410131127.2482240-1-skori@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": "<20240410131127.2482240-1-skori@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240410131127.2482240-1-skori@marvell.com",
    "date": "2024-04-10T13:11:27",
    "name": "net/cnxk: add RSS config via ethdev configure API",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "c514c979ac85b9fbc4c36ca4d593a9c281ca01bd",
    "submitter": {
        "id": 1318,
        "url": "http://patches.dpdk.org/api/people/1318/?format=api",
        "name": "Sunil Kumar Kori",
        "email": "skori@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/20240410131127.2482240-1-skori@marvell.com/mbox/",
    "series": [
        {
            "id": 31714,
            "url": "http://patches.dpdk.org/api/series/31714/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31714",
            "date": "2024-04-10T13:11:27",
            "name": "net/cnxk: add RSS config via ethdev configure API",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/31714/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/139218/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139218/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 877FB43E36;\n\tWed, 10 Apr 2024 15:11:36 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0657D402CF;\n\tWed, 10 Apr 2024 15:11:36 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id BE6DD402C7\n for <dev@dpdk.org>; Wed, 10 Apr 2024 15:11:34 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id\n 43A9h3bO015614 for <dev@dpdk.org>; Wed, 10 Apr 2024 06:11:34 -0700",
            "from dc6wp-exch02.marvell.com ([4.21.29.225])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3xdrc6j5my-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Wed, 10 Apr 2024 06:11:33 -0700 (PDT)",
            "from DC6WP-EXCH02.marvell.com (10.76.176.209) by\n DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.2.1544.4; Wed, 10 Apr 2024 06:11:32 -0700",
            "from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com\n (10.76.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend\n Transport; Wed, 10 Apr 2024 06:11:32 -0700",
            "from localhost.localdomain (unknown [10.28.34.25])\n by maili.marvell.com (Postfix) with ESMTP id 764D13F7082;\n Wed, 10 Apr 2024 06:11:30 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=\n from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding:content-type; s=pfpt0220; bh=0YSO9tmR\n KSVciF8n6HCo4QNYg360yhoY5KW4KXegOpg=; b=j7hsJFAsO6SBgGiljFU+nxN5\n JKaiABbDVCTdxf/afD6+25NnO0bkfEXTpz/YQu78yPxpSIaTtq+4vrRtr8QfRL76\n PXWgVGIrcLoE1oVmDD3G5/f12BvS1Yq2LINSckGHoNRxK4eWrjW3Fmg9f59gU9pO\n JWr6kQWdyxNtQTiBPGKIsB8P83yJZNA/tuE5P+P9V89SCSFxYspLaYlSZ9LOeugs\n O846vbpJAqM5X5+ISm+O3WPebAxQYDkqIWX3DFe1Y0VwCkduLi1T6tx982wSJesl\n 4B5Pb5Iie+k4MsqBZZDNkeT3TAxvoJDDN1t4xPgeHu8k6P+AqPOc3b7o5i4Wvw==",
        "From": "<skori@marvell.com>",
        "To": "Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>, Harman Kalra <hkalra@marvell.com>",
        "CC": "<dev@dpdk.org>",
        "Subject": "[PATCH] net/cnxk: add RSS config via ethdev configure API",
        "Date": "Wed, 10 Apr 2024 18:41:27 +0530",
        "Message-ID": "<20240410131127.2482240-1-skori@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "dLF4UIDs_CfX613CsHsCD1a48v49IOTg",
        "X-Proofpoint-ORIG-GUID": "dLF4UIDs_CfX613CsHsCD1a48v49IOTg",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2024-04-10_04,2024-04-09_01,2023-05-22_02",
        "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"
    },
    "content": "From: Sunil Kumar Kori <skori@marvell.com>\n\nCurrently user passed RSS configuration is ignored via\nrte_eth_dev_configure() API. Instead default RSS setup is done by\ndriver.\n\nAdding handling for user passed RSS configuration too via\nrte_eth_dev_configure().\n\nSigned-off-by: Sunil Kumar Kori <skori@marvell.com>\n---\n drivers/net/cnxk/cnxk_ethdev.c | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c\nindex 6b37bd877f..95a3d8aaf9 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.c\n+++ b/drivers/net/cnxk/cnxk_ethdev.c\n@@ -1384,6 +1384,13 @@ cnxk_nix_configure(struct rte_eth_dev *eth_dev)\n \t\tgoto free_nix_lf;\n \t}\n \n+\t/* Overwrite default RSS setup if requested by user */\n+\trc = cnxk_nix_rss_hash_update(eth_dev, &conf->rx_adv_conf.rss_conf);\n+\tif (rc) {\n+\t\tplt_err(\"Failed to configure rss rc=%d\", rc);\n+\t\tgoto free_nix_lf;\n+\t}\n+\n \t/* Init the default TM scheduler hierarchy */\n \trc = roc_nix_tm_init(nix);\n \tif (rc) {\n",
    "prefixes": []
}