get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43953,
    "url": "http://patches.dpdk.org/api/patches/43953/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1535539660-20228-2-git-send-email-hemant.agrawal@nxp.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": "<1535539660-20228-2-git-send-email-hemant.agrawal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1535539660-20228-2-git-send-email-hemant.agrawal@nxp.com",
    "date": "2018-08-29T10:47:28",
    "name": "[01/13] net/dpaa: configure frame queue on MAC ID basis",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "b432f1fdb2bcd1b80eccb6b18b4b0446e9d6ed29",
    "submitter": {
        "id": 477,
        "url": "http://patches.dpdk.org/api/people/477/?format=api",
        "name": "Hemant Agrawal",
        "email": "hemant.agrawal@nxp.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1535539660-20228-2-git-send-email-hemant.agrawal@nxp.com/mbox/",
    "series": [
        {
            "id": 1090,
            "url": "http://patches.dpdk.org/api/series/1090/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1090",
            "date": "2018-08-29T10:47:27",
            "name": "driver/net: NXP DPAA driver enhancements",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1090/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43953/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/43953/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Received-SPF": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Message-Id": "<1535539660-20228-2-git-send-email-hemant.agrawal@nxp.com>",
        "Cc": "dpdk-up@NXP1.onmicrosoft.com",
        "Subject": "[dpdk-dev] [PATCH 01/13] net/dpaa: configure frame queue on MAC ID\n\tbasis",
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.7.4",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=yJegQVA4mrpennmub0h3FxIE2isfh25gInCoui/lB84=;\n\tb=UhgL4DvVrzvyHxXfB2FOfz7abpfq6CRktVFDqg0f5Xp0lcQxZWFbN44vh0HLGBimGO/RfECVHk2ozkPREs78lQc89hBiUKGqJ3y4cBCO9sKul5KFdDJ6o2KneZN0s9AFzzr+z5VPf/QL/o2WxypNNtNcYol27mfqkF3CswQVFO0=",
        "Authentication-Results": "spf=none (sender IP is )\n\tsmtp.mailfrom=hemant.agrawal@nxp.com; ",
        "X-Mailman-Version": "2.1.15",
        "References": "<1535539660-20228-1-git-send-email-hemant.agrawal@nxp.com>",
        "In-Reply-To": "<1535539660-20228-1-git-send-email-hemant.agrawal@nxp.com>",
        "Precedence": "list",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "29 Aug 2018 10:49:42.7837\n\t(UTC)",
        "X-Exchange-Antispam-Report-Test": "UriScan:(185117386973197);",
        "X-MS-Office365-Filtering-HT": "Tenant",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Originating-IP": "[14.143.30.134]",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "X-Forefront-PRVS": "077929D941",
        "SpamDiagnosticMetadata": "NSPM",
        "Content-Type": "text/plain",
        "X-Microsoft-Antispam-Message-Info": "qXkgEPeI4z3yNxSsLpft+d3o1cm8ls7iBcHeH+BliXU8A9W17CYmwhm7mAMwnuK5o+0mi4dIlfh11kh85GCv1DSOKg2FFMpvWCmvoSFSLk62oU1nWqbe6vw2gEUSdQVYFydp1V91wjZLBDKFCPQWkaw+956YRdQakRMgGWbid6z0Xwj8dDp10PVyuB7QkC4SKVypoW0BMvVD1i7/3MI/VcUYkd2kV+7D/9JAIRGERyVneVUaSXCNbZk/9PKHrC2xjgXZ5UQ3TayX7zqvCfUK1d1VAgVXEVEttP9MPGhPsf9q3bgrYTmWOFywJWuimOK8ipfurMw4Ye4UXZuf2wGfV92mg6pBRL7IpSnEa0YSeJ0=",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301075)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699016);\n\tSRVR:VI1PR0401MB2543; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2543; ",
        "X-OriginatorOrg": "nxp.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-MS-Office365-Filtering-Correlation-Id": "8631d76a-46a4-49a8-bd93-08d60d9d2117",
        "X-Original-To": "patchwork@dpdk.org",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; VI1PR0401MB2543;\n\t3:tRPhAxJdzPsbaBG2f6RN/+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qzs5YNYu+SwKJCyS2z2+1XVYrlImKLjefPyhL5jmVQhgYOgLkg1mwCGlS6FEn+sciCGxWQEPW9dwguzvJf/Gd1hJe9deMZ+0ZBLdBT6uVHYSTay1ZsqweoDqKMyAxy8pAI7Ot2VJwPSZ4ltNZ71Rd3HACrSqHEE9CcGm5zr6NgFoZtDapog36TW9pMDvlOwe9fjNok1iR/9aRTNrlsq6/TzBola5JoaEk3x01dflucGLRb9SJZ/hHT0Y+o2BpoLwwIBp3Wa9TERaAbNGcqtLXWSHw==;\n\t5:6YpgaH7AXplyKDxJb+QRbJYaZhplfnSsYa36Dj53HHuipcMQ5nFowUzkiGve35BJ35lZ7pCH3Ykm8KED/ILR1PtnVyJgHdI3x8jY01H0cjY3NZL92+95A+XcPlar778pt8I0SaGwxajrPs/wyv8OJXorWx4lVqd6AFBq560muU0=;\n\t7:+q6U6AOOv3RdI/OWus0dhzrvCJ/Ql9aSCvD7axMhoKUghay5+IsIaE/3L7nJHBuDOwO6j0fpM2ALJ9xeJPSqpHD7+4RVXLWp0bDA3sfm9wCa5iPtEcUDLNBbNGIfGRZc8hzgYg8ngdr4AAz4AF3fLnoZSmqQmWMvcfMz0a23du9O8By1YvKZrRiqA2USVeG/bV19v+9q7U6KmNofPe9y+BozkveifWmDcU5ZU17d/aaQsrG1neQ1oox856Y2I+gF"
        ],
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "VI1PR0401MB2543",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "8631d76a-46a4-49a8-bd93-08d60d9d2117",
        "Date": "Wed, 29 Aug 2018 16:17:28 +0530",
        "SpamDiagnosticOutput": "1:99",
        "X-ClientProxiedBy": "BM1PR0101CA0071.INDPRD01.PROD.OUTLOOK.COM\n\t(2603:1096:b00:19::33) To VI1PR0401MB2543.eurprd04.prod.outlook.com\n\t(2603:10a6:800:56::21)",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id AA6534CA2;\n\tWed, 29 Aug 2018 12:49:47 +0200 (CEST)",
            "from EUR02-AM5-obe.outbound.protection.outlook.com\n\t(mail-eopbgr00076.outbound.protection.outlook.com [40.107.0.76])\n\tby dpdk.org (Postfix) with ESMTP id 871584C74\n\tfor <dev@dpdk.org>; Wed, 29 Aug 2018 12:49:44 +0200 (CEST)",
            "from bf-netperf1.ap.freescale.net (14.143.30.134) by\n\tVI1PR0401MB2543.eurprd04.prod.outlook.com (2603:10a6:800:56::21) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17;\n\tWed, 29 Aug 2018 10:49:42 +0000"
        ],
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Microsoft-Antispam": "BCL:0; PCL:0;\n\tRULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4618075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);\n\tSRVR:VI1PR0401MB2543; ",
        "Delivered-To": "patchwork@dpdk.org",
        "MIME-Version": "1.0",
        "X-MS-TrafficTypeDiagnostic": "VI1PR0401MB2543:",
        "X-MS-PublicTrafficType": "Email",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-Microsoft-Antispam-PRVS": "<VI1PR0401MB25433B7A9817973E478A4D1389090@VI1PR0401MB2543.eurprd04.prod.outlook.com>",
        "X-MS-Exchange-CrossTenant-Id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "X-Forefront-Antispam-Report": "SFV:NSPM;\n\tSFS:(10009020)(346002)(136003)(366004)(396003)(39860400002)(376002)(189003)(199004)(6512007)(6486002)(16526019)(53936002)(486006)(186003)(11346002)(105586002)(6116002)(106356001)(5660300001)(50466002)(68736007)(5009440100003)(2616005)(25786009)(48376002)(386003)(4326008)(55236004)(6666003)(73566003)(86362001)(956004)(107886003)(446003)(3846002)(26005)(6506007)(476003)(316002)(52116002)(50226002)(478600001)(47776003)(66066001)(8936002)(16586007)(76176011)(51416003)(97736004)(44832011)(81166006)(8676002)(7736002)(305945005)(36756003)(81156014)(2906002)(110426005);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2543;\n\tH:bf-netperf1.ap.freescale.net; \n\tFPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; ",
        "To": "dev@dpdk.org,\n\tferruh.yigit@intel.com"
    },
    "content": "Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n drivers/net/dpaa/dpaa_ethdev.c | 25 ++++++++++++++-----------\n drivers/net/dpaa/dpaa_ethdev.h |  2 +-\n 2 files changed, 15 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c\nindex 7a950ac..009ef84 100644\n--- a/drivers/net/dpaa/dpaa_ethdev.c\n+++ b/drivers/net/dpaa/dpaa_ethdev.c\n@@ -1012,7 +1012,7 @@ static int dpaa_rx_queue_init(struct qman_fq *fq, struct qman_cgr *cgr_rx,\n {\n \tstruct qm_mcc_initfq opts = {0};\n \tint ret;\n-\tu32 flags = 0;\n+\tu32 flags = QMAN_FQ_FLAG_NO_ENQUEUE;\n \tstruct qm_mcc_initcgr cgr_opts = {\n \t\t.we_mask = QM_CGR_WE_CS_THRES |\n \t\t\t\tQM_CGR_WE_CSTD_EN |\n@@ -1025,15 +1025,18 @@ static int dpaa_rx_queue_init(struct qman_fq *fq, struct qman_cgr *cgr_rx,\n \n \tPMD_INIT_FUNC_TRACE();\n \n-\tret = qman_reserve_fqid(fqid);\n-\tif (ret) {\n-\t\tDPAA_PMD_ERR(\"reserve rx fqid 0x%x failed with ret: %d\",\n-\t\t\t     fqid, ret);\n-\t\treturn -EINVAL;\n+\tif (fqid) {\n+\t\tret = qman_reserve_fqid(fqid);\n+\t\tif (ret) {\n+\t\t\tDPAA_PMD_ERR(\"reserve rx fqid 0x%x failed with ret: %d\",\n+\t\t\t\t     fqid, ret);\n+\t\t\treturn -EINVAL;\n+\t\t}\n+\t} else {\n+\t\tflags |= QMAN_FQ_FLAG_DYNAMIC_FQID;\n \t}\n-\n \tDPAA_PMD_DEBUG(\"creating rx fq %p, fqid 0x%x\", fq, fqid);\n-\tret = qman_create_fq(fqid, QMAN_FQ_FLAG_NO_ENQUEUE, fq);\n+\tret = qman_create_fq(fqid, flags, fq);\n \tif (ret) {\n \t\tDPAA_PMD_ERR(\"create rx fqid 0x%x failed with ret: %d\",\n \t\t\tfqid, ret);\n@@ -1052,7 +1055,7 @@ static int dpaa_rx_queue_init(struct qman_fq *fq, struct qman_cgr *cgr_rx,\n \t\tif (ret) {\n \t\t\tDPAA_PMD_WARN(\n \t\t\t\t\"rx taildrop init fail on rx fqid 0x%x(ret=%d)\",\n-\t\t\t\tfqid, ret);\n+\t\t\t\tfq->fqid, ret);\n \t\t\tgoto without_cgr;\n \t\t}\n \t\topts.we_mask |= QM_INITFQ_WE_CGID;\n@@ -1060,7 +1063,7 @@ static int dpaa_rx_queue_init(struct qman_fq *fq, struct qman_cgr *cgr_rx,\n \t\topts.fqd.fq_ctrl |= QM_FQCTRL_CGE;\n \t}\n without_cgr:\n-\tret = qman_init_fq(fq, flags, &opts);\n+\tret = qman_init_fq(fq, 0, &opts);\n \tif (ret)\n \t\tDPAA_PMD_ERR(\"init rx fqid 0x%x failed with ret:%d\", fqid, ret);\n \treturn ret;\n@@ -1213,7 +1216,7 @@ dpaa_dev_init(struct rte_eth_dev *eth_dev)\n \t\tif (default_q)\n \t\t\tfqid = cfg->rx_def;\n \t\telse\n-\t\t\tfqid = DPAA_PCD_FQID_START + dpaa_intf->ifid *\n+\t\t\tfqid = DPAA_PCD_FQID_START + dpaa_intf->fif->mac_idx *\n \t\t\t\tDPAA_PCD_FQID_MULTIPLIER + loop;\n \n \t\tif (dpaa_intf->cgr_rx)\ndiff --git a/drivers/net/dpaa/dpaa_ethdev.h b/drivers/net/dpaa/dpaa_ethdev.h\nindex c79b9f8..2c38c34 100644\n--- a/drivers/net/dpaa/dpaa_ethdev.h\n+++ b/drivers/net/dpaa/dpaa_ethdev.h\n@@ -63,7 +63,7 @@\n #define DPAA_PCD_FQID_START\t\t0x400\n #define DPAA_PCD_FQID_MULTIPLIER\t0x100\n #define DPAA_DEFAULT_NUM_PCD_QUEUES\t1\n-#define DPAA_MAX_NUM_PCD_QUEUES\t\t32\n+#define DPAA_MAX_NUM_PCD_QUEUES\t\t4\n \n #define DPAA_IF_TX_PRIORITY\t\t3\n #define DPAA_IF_RX_PRIORITY\t\t0\n",
    "prefixes": [
        "01/13"
    ]
}