get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 19879,
    "url": "http://patches.dpdk.org/api/patches/19879/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1485172803-17288-8-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": "<1485172803-17288-8-git-send-email-hemant.agrawal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1485172803-17288-8-git-send-email-hemant.agrawal@nxp.com",
    "date": "2017-01-23T11:59:37",
    "name": "[dpdk-dev,PATCHv6,07/33] bus/fslmc: add mc dpbp object support",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "e056c12ba27bbb6a322b293ce93ebb1fbdcb17db",
    "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@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1485172803-17288-8-git-send-email-hemant.agrawal@nxp.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/19879/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/19879/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id CBE6AF94D;\n\tMon, 23 Jan 2017 13:01:07 +0100 (CET)",
            "from NAM01-BN3-obe.outbound.protection.outlook.com\n\t(mail-bn3nam01on0061.outbound.protection.outlook.com [104.47.33.61])\n\tby dpdk.org (Postfix) with ESMTP id 58FE75592\n\tfor <dev@dpdk.org>; Mon, 23 Jan 2017 13:00:39 +0100 (CET)",
            "from DM5PR03CA0003.namprd03.prod.outlook.com (10.175.104.13) by\n\tDM2PR0301MB0750.namprd03.prod.outlook.com (10.160.97.146) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id\n\t15.1.860.13; Mon, 23 Jan 2017 12:00:37 +0000",
            "from BL2FFO11FD034.protection.gbl (2a01:111:f400:7c09::112) by\n\tDM5PR03CA0003.outlook.office365.com (2603:10b6:3:118::13) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id\n\t15.1.860.13 via Frontend Transport; Mon, 23 Jan 2017 12:00:37 +0000",
            "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBL2FFO11FD034.mail.protection.outlook.com (10.173.161.130) with\n\tMicrosoft\n\tSMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id\n\t15.1.803.8 via Frontend Transport; Mon, 23 Jan 2017 12:00:37 +0000",
            "from bf-netperf1.idc ([10.232.134.28])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\tv0NC07eV019311; Mon, 23 Jan 2017 05:00:33 -0700"
        ],
        "Authentication-Results": "spf=fail (sender IP is 192.88.168.50)\n\tsmtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed)\n\theader.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com;\n\tnxp.com; \n\tdkim=none (message not signed) header.d=none;",
        "Received-SPF": "Fail (protection.outlook.com: domain of nxp.com does not\n\tdesignate 192.88.168.50 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.168.50; helo=tx30smr01.am.freescale.net;",
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<thomas.monjalon@6wind.com>, <bruce.richardson@intel.com>,\n\t<shreyansh.jain@nxp.com>, <john.mcnamara@intel.com>,\n\t<ferruh.yigit@intel.com>, <jerin.jacob@caviumnetworks.com>,\n\tAlex Marginean\n\t<alexandru.marginean@nxp.com>, Hemant Agrawal <hemant.agrawal@nxp.com>",
        "Date": "Mon, 23 Jan 2017 17:29:37 +0530",
        "Message-ID": "<1485172803-17288-8-git-send-email-hemant.agrawal@nxp.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1485172803-17288-1-git-send-email-hemant.agrawal@nxp.com>",
        "References": "<1484832240-2048-1-git-send-email-hemant.agrawal@nxp.com>\n\t<1485172803-17288-1-git-send-email-hemant.agrawal@nxp.com>",
        "X-EOPAttributedMessage": "0",
        "X-Matching-Connectors": "131296464372295370;\n\t(91ab9b29-cfa4-454e-5278-08d120cd25b8); ()",
        "X-Forefront-Antispam-Report": "CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI;\n\tSFV:NSPM;\n\tSFS:(10009020)(6009001)(336005)(7916002)(39850400002)(39380400002)(39410400002)(39860400002)(39840400002)(39400400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(81166006)(81156014)(50226002)(36756003)(50466002)(85426001)(5660300001)(92566002)(48376002)(68736007)(47776003)(8676002)(104016004)(626004)(305945005)(356003)(8936002)(33646002)(110136003)(53936002)(38730400001)(2950100002)(77096006)(8656002)(86362001)(2351001)(6916009)(106466001)(105606002)(97736004)(50986999)(2906002)(575784001)(189998001)(76176999)(4326007)(54906002)(5003940100001)(2004002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0750;\n\tH:tx30smr01.am.freescale.net; \n\tFPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; ",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; BL2FFO11FD034;\n\t1:ckKX0iQotRU4RnGjXnEzKRiNnYdY+JMnRxVWtboyiTodkKeTnsPSY1/Eg+ka6s3bgwGdMRJd1jMwC7YeUp03CiuBjh5ZC05OK0jrfLFCk1P8gmH1pBmQu9duxmENoPop95aZFb38ed6ZMISeDo8DTyr0FXVRHD05nVS2psSkATPFbkKureZ/spFC2QzjMJK7zF/IqRorBfXmLW7MwoItFDfj1qCqGRHfuUKl3qD4EBzppqBR5/1o7iBsqP5RYjWLE6K+lbdW5JE4DRCi/HCDTuaWokG+5RecPU/zPiRgxiBPIzAJg6gybEDWes/QdCZQaT40eGgupl24Uc1+UH9WthHyZeD4wuoMQHJG9vC7hLsFAHTm8WT2RPiWBsyzpk7vQNQ01Q3mkJT+0T981ufFq7FQ5Y58caZnFkpCo0xWOa1udGbOlLhDdxLRjsHu4AhX4kOKMmF7PtX86cxjw48dzMMC3ECCLwhGESy5LITYcd7Ukg5V1h+0z9qNITcwNna5BSsjR5/LR3ztmk1eNhz65aYeuD/LC8AGZEjWlG7ABHlkay8E4A80AphkEn6yREjfl1OOnQxcQQib70IfxoM6W97PfW08WN/26Bj69CB3Rgtk5hfjoaOfZG8xXMMvzYrmyQ6HmpXynkQeE6Acov1iCe9tlGr+a0fyQp6TOQ+2C23uJeI3jxbydSRmlWhmBQSLrCF5x7YNHsc9icgcyg6Gde4emyX4UAq62WVBYQiWdytyVInfcDEXL4quXbEXJ/Ia",
            "1; DM2PR0301MB0750;\n\t3:WgYE85p/XFA3gqO/7bph1uYImQVk4Qe/04Qo/Ms/9abjAj3RSDF6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ZbSwIN64EAHqJmqFrE3PxV1gKJuCleCKalqvNjcoSHiukkPZpgQ/aSrVGmBCEURpL0JllenxTQ==",
            "1; DM2PR0301MB0750;\n\t31:bqyAKEfkEDVbzQemERys07RN/H/8Hg64ElrhE9JeZWBlMuQa5h1oChTspad4018R+7M4FJWODKP0n+adF4VHQFsDw6kZtefr3ukJAPNSwn2FiMZhB16zgycZFUQWaNoTOLe4wQiPxMNrE5w2Siaj6Uv9twnO9+5SSwVdPAgAk6yz1B0v5DRpxjxDAryzQvP9pJ3+4Dvx9owkQyCqrar//RAKy7vR2wiq9uA5aPEImy+LdGyTYs7ttCy4uAkeMUG3q/s9kx725pnB2lcYwNMwSKOccDuSRRq3Nx5PnmGa+DU=",
            "1; DM2PR0301MB0750;\n\t4:cRINjc1veIim5VYssATaHZ8LfEf07m8Vio5lHedxrKSV2Y/AnU6nTYpvDDOigOx776YTYoxnqqrmY8HjAH5ifP/erD65hyC7Sl46POR6qEQF03e1MEBQjywprbRptk3dtR4POIDOz4LaN41+bXqYOWbm4za5QU4+8eca2OqfuP+DJ7gm4Ojm63BWppPZixaGWn8SPoYhAlFCCOQqzZJIp5zxg57Gjc1SHgNPTA6fHg6/CBm5XNK1kNK06DiY7R34sV/txoAphropyKZtVaFELeSmQDc9Qxp9ZC7his+GqrAtwShIq8phpfj/LPH3864omKKwYn8DDcWW3OLfl1dN4qU8RJhrzv+PgPl4RR7KDqTVFmUgBc3JSvL0IPzZYhC6LcIB8l5gtrLchZDHQchzA+wZbHgb1rxEOFqHx8bOyzFts4Hbsxv+bOf2tRGDfdPrsiEDtkehaZZcQ4HU85OjDfgBDWOe2fiL7qIyh6A1nQ8c+xe+x1oUV+oFu/JGN/Vg7pATzOqEkWrvVSYLkbKHHLutW87vog+BWYH+RmnRCPla7ldPqHrBt1FIUY1V1JE/aZeQ2mEg1YcvfARVOL1W/jN9CODbLzKCxg7tbcwOMXUY6zYFxlp0GuzKktZcIUfp3LfCoisYHIBond09tbLxHYr7YyOie3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McrIuTQU8dSEakaYDn1lHL0F7P+2riC;\n\t24:2kE5DHtwvX/5tHjYA51eum1vozRAlldoNG+AAfmijkIJt1qfuXXGImreTrV92OvB9y6bCaOSWk0ZTyD7blplL+KDZt1WU47R+sghAEhPD7E=",
            "1; DM2PR0301MB0750;\n\t7:sAuC+bfJ/dyaqYtENDnQez6S0fIJh8gHVWNL+ILRKUsUtJbCcUCRtM/0jwts1wntmSpKWP4rdQaQLORFthk1fdJFAe30JomMyOroZjESfQVK/mSG0xOFG/ROjHAwAcrIz5RAhhzDHpyT9/zViQZUuV7TuAiEph+VOUe3YKr5BHAY6bmCMNIU+Yo0/1M22dom5tWlTfOccvBwDsgIqPYdZ7eo3siOXSxQwk+rDCdq1jH69QehNLKGziS2yFNIvB02q4hpRgX36WpbhAaktCGYFagzUdb7tyzwL2v/B50GBLoVtoqx6qzZ+cWtdJFLSWngcBFgb80Fq5zV8YfUk5qpu0KrvZS/KEdCk9oLfpHCqa7LT0BSYoC4WyhmBc+2bIsc/TPDAZdbSWgW11N3Augf+s+DSPrImkNI+D7BIwtdig/7oHiMeBjRnLx+/eFtD+tudd3IdpEJO8ztoTLQm4Kbmw=="
        ],
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-MS-Office365-Filtering-Correlation-Id": "0eaff937-b36b-4f74-2406-08d44387719f",
        "X-Microsoft-Antispam": "UriScan:; BCL:0; PCL:0; RULEID:(22001);\n\tSRVR:DM2PR0301MB0750; ",
        "X-Microsoft-Antispam-PRVS": "<DM2PR0301MB075073FE4383FFFD52B3E87B89720@DM2PR0301MB0750.namprd03.prod.outlook.com>",
        "X-Exchange-Antispam-Report-Test": "UriScan:(185117386973197)(275809806118684); ",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(6095060)(601004)(2401047)(13023025)(13017025)(13015025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123563025)(20161123565025);\n\tSRVR:DM2PR0301MB0750; BCL:0; PCL:0; RULEID:(400006);\n\tSRVR:DM2PR0301MB0750; ",
        "X-Forefront-PRVS": "0196A226D1",
        "SpamDiagnosticOutput": "1:99",
        "SpamDiagnosticMetadata": "NSPM",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "23 Jan 2017 12:00:37.0267\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-Id": "5afe0b00-7697-4969-b663-5eab37d5f47e",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;\n\tIp=[192.88.168.50]; \n\tHelo=[tx30smr01.am.freescale.net]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "DM2PR0301MB0750",
        "Subject": "[dpdk-dev] [PATCHv6 07/33] bus/fslmc: add mc dpbp object support",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "DPBP object represent a hw based buffer pool instance\nin the DPAA2 hardware.\n\nSigned-off-by: Alex Marginean <alexandru.marginean@nxp.com>\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n drivers/bus/fslmc/Makefile                  |   1 +\n drivers/bus/fslmc/mc/dpbp.c                 | 237 ++++++++++++++++++++++++++++\n drivers/bus/fslmc/mc/fsl_dpbp.h             | 227 ++++++++++++++++++++++++++\n drivers/bus/fslmc/mc/fsl_dpbp_cmd.h         |  83 ++++++++++\n drivers/bus/fslmc/rte_bus_fslmc_version.map |   5 +\n 5 files changed, 553 insertions(+)\n create mode 100644 drivers/bus/fslmc/mc/dpbp.c\n create mode 100644 drivers/bus/fslmc/mc/fsl_dpbp.h\n create mode 100644 drivers/bus/fslmc/mc/fsl_dpbp_cmd.h",
    "diff": "diff --git a/drivers/bus/fslmc/Makefile b/drivers/bus/fslmc/Makefile\nindex 53ab17b..628e517 100644\n--- a/drivers/bus/fslmc/Makefile\n+++ b/drivers/bus/fslmc/Makefile\n@@ -50,6 +50,7 @@ LIBABIVER := 1\n \n SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += \\\n         mc/dpni.c \\\n+        mc/dpbp.c \\\n         mc/dpio.c \\\n         mc/mc_sys.c\n \ndiff --git a/drivers/bus/fslmc/mc/dpbp.c b/drivers/bus/fslmc/mc/dpbp.c\nnew file mode 100644\nindex 0000000..0d93e0c\n--- /dev/null\n+++ b/drivers/bus/fslmc/mc/dpbp.c\n@@ -0,0 +1,237 @@\n+/*-\n+ * This file is provided under a dual BSD/GPLv2 license. When using or\n+ * redistributing this file, you may do so under either license.\n+ *\n+ *   BSD LICENSE\n+ *\n+ * Copyright 2013-2016 Freescale Semiconductor Inc.\n+ * Copyright (c) 2016 NXP.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are met:\n+ * * Redistributions of source code must retain the above copyright\n+ * notice, this list of conditions and the following disclaimer.\n+ * * Redistributions in binary form must reproduce the above copyright\n+ * notice, this list of conditions and the following disclaimer in the\n+ * documentation and/or other materials provided with the distribution.\n+ * * Neither the name of the above-listed copyright holders nor the\n+ * names of any contributors may be used to endorse or promote products\n+ * derived from this software without specific prior written permission.\n+ *\n+ *   GPL LICENSE SUMMARY\n+ *\n+ * ALTERNATIVELY, this software may be distributed under the terms of the\n+ * GNU General Public License (\"GPL\") as published by the Free Software\n+ * Foundation, either version 2 of that License or (at your option) any\n+ * later version.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE\n+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n+ * POSSIBILITY OF SUCH DAMAGE.\n+ */\n+#include <fsl_mc_sys.h>\n+#include <fsl_mc_cmd.h>\n+#include <fsl_dpbp.h>\n+#include <fsl_dpbp_cmd.h>\n+\n+int dpbp_open(struct fsl_mc_io *mc_io,\n+\t      uint32_t cmd_flags,\n+\t      int dpbp_id,\n+\t      uint16_t *token)\n+{\n+\tstruct mc_command cmd = { 0 };\n+\tint err;\n+\n+\t/* prepare command */\n+\tcmd.header = mc_encode_cmd_header(DPBP_CMDID_OPEN,\n+\t\t\t\t\t  cmd_flags,\n+\t\t\t\t\t  0);\n+\tDPBP_CMD_OPEN(cmd, dpbp_id);\n+\n+\t/* send command to mc*/\n+\terr = mc_send_command(mc_io, &cmd);\n+\tif (err)\n+\t\treturn err;\n+\n+\t/* retrieve response parameters */\n+\t*token = MC_CMD_HDR_READ_TOKEN(cmd.header);\n+\n+\treturn err;\n+}\n+\n+int dpbp_close(struct fsl_mc_io *mc_io,\n+\t       uint32_t cmd_flags,\n+\t       uint16_t token)\n+{\n+\tstruct mc_command cmd = { 0 };\n+\n+\t/* prepare command */\n+\tcmd.header = mc_encode_cmd_header(DPBP_CMDID_CLOSE, cmd_flags,\n+\t\t\t\t\t  token);\n+\n+\t/* send command to mc*/\n+\treturn mc_send_command(mc_io, &cmd);\n+}\n+\n+int dpbp_create(struct fsl_mc_io *mc_io,\n+\t\tuint16_t dprc_token,\n+\t\tuint32_t cmd_flags,\n+\t\tconst struct dpbp_cfg *cfg,\n+\t\tuint32_t *obj_id)\n+{\n+\tstruct mc_command cmd = { 0 };\n+\tint err;\n+\n+\t(void)(cfg); /* unused */\n+\n+\t/* prepare command */\n+\tcmd.header = mc_encode_cmd_header(DPBP_CMDID_CREATE,\n+\t\t\t\t\t  cmd_flags,\n+\t\t\t\t\t  dprc_token);\n+\n+\t/* send command to mc*/\n+\terr = mc_send_command(mc_io, &cmd);\n+\tif (err)\n+\t\treturn err;\n+\n+\t/* retrieve response parameters */\n+\tCMD_CREATE_RSP_GET_OBJ_ID_PARAM0(cmd, *obj_id);\n+\n+\treturn 0;\n+}\n+\n+int dpbp_destroy(struct fsl_mc_io *mc_io,\n+\t\t uint16_t dprc_token,\n+\t\tuint32_t cmd_flags,\n+\t\tuint32_t object_id)\n+{\n+\tstruct mc_command cmd = { 0 };\n+\n+\t/* prepare command */\n+\tcmd.header = mc_encode_cmd_header(DPBP_CMDID_DESTROY,\n+\t\t\t\t\t  cmd_flags,\n+\t\t\t\t\t  dprc_token);\n+\t/* set object id to destroy */\n+\tCMD_DESTROY_SET_OBJ_ID_PARAM0(cmd, object_id);\n+\t/* send command to mc*/\n+\treturn mc_send_command(mc_io, &cmd);\n+}\n+\n+int dpbp_enable(struct fsl_mc_io *mc_io,\n+\t\tuint32_t cmd_flags,\n+\t\tuint16_t token)\n+{\n+\tstruct mc_command cmd = { 0 };\n+\n+\t/* prepare command */\n+\tcmd.header = mc_encode_cmd_header(DPBP_CMDID_ENABLE, cmd_flags,\n+\t\t\t\t\t  token);\n+\n+\t/* send command to mc*/\n+\treturn mc_send_command(mc_io, &cmd);\n+}\n+\n+int dpbp_disable(struct fsl_mc_io *mc_io,\n+\t\t uint32_t cmd_flags,\n+\t\t uint16_t token)\n+{\n+\tstruct mc_command cmd = { 0 };\n+\n+\t/* prepare command */\n+\tcmd.header = mc_encode_cmd_header(DPBP_CMDID_DISABLE,\n+\t\t\t\t\t  cmd_flags,\n+\t\t\t\t\t  token);\n+\n+\t/* send command to mc*/\n+\treturn mc_send_command(mc_io, &cmd);\n+}\n+\n+int dpbp_is_enabled(struct fsl_mc_io *mc_io,\n+\t\t    uint32_t cmd_flags,\n+\t\t    uint16_t token,\n+\t\t    int *en)\n+{\n+\tstruct mc_command cmd = { 0 };\n+\tint err;\n+\t/* prepare command */\n+\tcmd.header = mc_encode_cmd_header(DPBP_CMDID_IS_ENABLED, cmd_flags,\n+\t\t\t\t\t  token);\n+\n+\t/* send command to mc*/\n+\terr = mc_send_command(mc_io, &cmd);\n+\tif (err)\n+\t\treturn err;\n+\n+\t/* retrieve response parameters */\n+\tDPBP_RSP_IS_ENABLED(cmd, *en);\n+\n+\treturn 0;\n+}\n+\n+int dpbp_reset(struct fsl_mc_io *mc_io,\n+\t       uint32_t cmd_flags,\n+\t       uint16_t token)\n+{\n+\tstruct mc_command cmd = { 0 };\n+\n+\t/* prepare command */\n+\tcmd.header = mc_encode_cmd_header(DPBP_CMDID_RESET,\n+\t\t\t\t\t  cmd_flags,\n+\t\t\t\t\t  token);\n+\n+\t/* send command to mc*/\n+\treturn mc_send_command(mc_io, &cmd);\n+}\n+int dpbp_get_attributes(struct fsl_mc_io *mc_io,\n+\t\t\tuint32_t cmd_flags,\n+\t\t\tuint16_t token,\n+\t\t\tstruct dpbp_attr *attr)\n+{\n+\tstruct mc_command cmd = { 0 };\n+\tint err;\n+\n+\t/* prepare command */\n+\tcmd.header = mc_encode_cmd_header(DPBP_CMDID_GET_ATTR,\n+\t\t\t\t\t  cmd_flags,\n+\t\t\t\t\t  token);\n+\n+\t/* send command to mc*/\n+\terr = mc_send_command(mc_io, &cmd);\n+\tif (err)\n+\t\treturn err;\n+\n+\t/* retrieve response parameters */\n+\tDPBP_RSP_GET_ATTRIBUTES(cmd, attr);\n+\n+\treturn 0;\n+}\n+\n+\n+int dpbp_get_api_version(struct fsl_mc_io *mc_io,\n+\t\t\t uint32_t cmd_flags,\n+\t\t\t   uint16_t *major_ver,\n+\t\t\t   uint16_t *minor_ver)\n+{\n+\tstruct mc_command cmd = { 0 };\n+\tint err;\n+\n+\tcmd.header = mc_encode_cmd_header(DPBP_CMDID_GET_API_VERSION,\n+\t\t\t\t\tcmd_flags,\n+\t\t\t\t\t0);\n+\n+\terr = mc_send_command(mc_io, &cmd);\n+\tif (err)\n+\t\treturn err;\n+\n+\tDPBP_RSP_GET_API_VERSION(cmd, *major_ver, *minor_ver);\n+\n+\treturn 0;\n+}\ndiff --git a/drivers/bus/fslmc/mc/fsl_dpbp.h b/drivers/bus/fslmc/mc/fsl_dpbp.h\nnew file mode 100644\nindex 0000000..65262bd\n--- /dev/null\n+++ b/drivers/bus/fslmc/mc/fsl_dpbp.h\n@@ -0,0 +1,227 @@\n+/*-\n+ * This file is provided under a dual BSD/GPLv2 license. When using or\n+ * redistributing this file, you may do so under either license.\n+ *\n+ *   BSD LICENSE\n+ *\n+ * Copyright 2013-2016 Freescale Semiconductor Inc.\n+ * Copyright (c) 2016 NXP.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are met:\n+ * * Redistributions of source code must retain the above copyright\n+ * notice, this list of conditions and the following disclaimer.\n+ * * Redistributions in binary form must reproduce the above copyright\n+ * notice, this list of conditions and the following disclaimer in the\n+ * documentation and/or other materials provided with the distribution.\n+ * * Neither the name of the above-listed copyright holders nor the\n+ * names of any contributors may be used to endorse or promote products\n+ * derived from this software without specific prior written permission.\n+ *\n+ *   GPL LICENSE SUMMARY\n+ *\n+ * ALTERNATIVELY, this software may be distributed under the terms of the\n+ * GNU General Public License (\"GPL\") as published by the Free Software\n+ * Foundation, either version 2 of that License or (at your option) any\n+ * later version.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE\n+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n+ * POSSIBILITY OF SUCH DAMAGE.\n+ */\n+#ifndef __FSL_DPBP_H\n+#define __FSL_DPBP_H\n+\n+/* Data Path Buffer Pool API\n+ * Contains initialization APIs and runtime control APIs for DPBP\n+ */\n+\n+struct fsl_mc_io;\n+\n+/**\n+ * dpbp_open() - Open a control session for the specified object.\n+ * @mc_io:\tPointer to MC portal's I/O object\n+ * @cmd_flags:\tCommand flags; one or more of 'MC_CMD_FLAG_'\n+ * @dpbp_id:\tDPBP unique ID\n+ * @token:\tReturned token; use in subsequent API calls\n+ *\n+ * This function can be used to open a control session for an\n+ * already created object; an object may have been declared in\n+ * the DPL or by calling the dpbp_create function.\n+ * This function returns a unique authentication token,\n+ * associated with the specific object ID and the specific MC\n+ * portal; this token must be used in all subsequent commands for\n+ * this specific object\n+ *\n+ * Return:\t'0' on Success; Error code otherwise.\n+ */\n+int dpbp_open(struct fsl_mc_io\t*mc_io,\n+\t      uint32_t\t\tcmd_flags,\n+\t      int\t\tdpbp_id,\n+\t      uint16_t\t\t*token);\n+\n+/**\n+ * dpbp_close() - Close the control session of the object\n+ * @mc_io:\tPointer to MC portal's I/O object\n+ * @cmd_flags:\tCommand flags; one or more of 'MC_CMD_FLAG_'\n+ * @token:\tToken of DPBP object\n+ *\n+ * After this function is called, no further operations are\n+ * allowed on the object without opening a new control session.\n+ *\n+ * Return:\t'0' on Success; Error code otherwise.\n+ */\n+int dpbp_close(struct fsl_mc_io\t*mc_io,\n+\t       uint32_t\t\tcmd_flags,\n+\t       uint16_t\t\ttoken);\n+\n+/**\n+ * struct dpbp_cfg - Structure representing DPBP configuration\n+ * @options:\tplace holder\n+ */\n+struct dpbp_cfg {\n+\tuint32_t options;\n+};\n+\n+/**\n+ * dpbp_create() - Create the DPBP object.\n+ * @mc_io:\tPointer to MC portal's I/O object\n+ * @dprc_token:\tParent container token; '0' for default container\n+ * @cmd_flags:\tCommand flags; one or more of 'MC_CMD_FLAG_'\n+ * @cfg:\tConfiguration structure\n+ * @obj_id: returned object id\n+ *\n+ * Create the DPBP object, allocate required resources and\n+ * perform required initialization.\n+ *\n+ * The object can be created either by declaring it in the\n+ * DPL file, or by calling this function.\n+ *\n+ * The function accepts an authentication token of a parent\n+ * container that this object should be assigned to. The token\n+ * can be '0' so the object will be assigned to the default container.\n+ * The newly created object can be opened with the returned\n+ * object id and using the container's associated tokens and MC portals.\n+ *\n+ * Return:\t'0' on Success; Error code otherwise.\n+ */\n+int dpbp_create(struct fsl_mc_io\t*mc_io,\n+\t\tuint16_t\t\tdprc_token,\n+\t\tuint32_t\t\tcmd_flags,\n+\t\tconst struct dpbp_cfg\t*cfg,\n+\t\tuint32_t\t\t*obj_id);\n+\n+/**\n+ * dpbp_destroy() - Destroy the DPBP object and release all its resources.\n+ * @dprc_token: Parent container token; '0' for default container\n+ * @mc_io:\tPointer to MC portal's I/O object\n+ * @cmd_flags:\tCommand flags; one or more of 'MC_CMD_FLAG_'\n+ * @object_id:\tThe object id; it must be a valid id within the container that\n+ * created this object;\n+ *\n+ * Return:\t'0' on Success; error code otherwise.\n+ */\n+int dpbp_destroy(struct fsl_mc_io\t*mc_io,\n+\t\t uint16_t\t\tdprc_token,\n+\t\t uint32_t\t\tcmd_flags,\n+\t\t uint32_t\t\tobject_id);\n+\n+/**\n+ * dpbp_enable() - Enable the DPBP.\n+ * @mc_io:\tPointer to MC portal's I/O object\n+ * @cmd_flags:\tCommand flags; one or more of 'MC_CMD_FLAG_'\n+ * @token:\tToken of DPBP object\n+ *\n+ * Return:\t'0' on Success; Error code otherwise.\n+ */\n+int dpbp_enable(struct fsl_mc_io\t*mc_io,\n+\t\tuint32_t\t\tcmd_flags,\n+\t\tuint16_t\t\ttoken);\n+\n+/**\n+ * dpbp_disable() - Disable the DPBP.\n+ * @mc_io:\tPointer to MC portal's I/O object\n+ * @cmd_flags:\tCommand flags; one or more of 'MC_CMD_FLAG_'\n+ * @token:\tToken of DPBP object\n+ *\n+ * Return:\t'0' on Success; Error code otherwise.\n+ */\n+int dpbp_disable(struct fsl_mc_io\t*mc_io,\n+\t\t uint32_t\t\tcmd_flags,\n+\t\t uint16_t\t\ttoken);\n+\n+/**\n+ * dpbp_is_enabled() - Check if the DPBP is enabled.\n+ * @mc_io:\tPointer to MC portal's I/O object\n+ * @cmd_flags:\tCommand flags; one or more of 'MC_CMD_FLAG_'\n+ * @token:\tToken of DPBP object\n+ * @en:\t\tReturns '1' if object is enabled; '0' otherwise\n+ *\n+ * Return:\t'0' on Success; Error code otherwise.\n+ */\n+int dpbp_is_enabled(struct fsl_mc_io\t*mc_io,\n+\t\t    uint32_t\t\tcmd_flags,\n+\t\t    uint16_t\t\ttoken,\n+\t\t    int\t\t\t*en);\n+\n+/**\n+ * dpbp_reset() - Reset the DPBP, returns the object to initial state.\n+ * @mc_io:\tPointer to MC portal's I/O object\n+ * @cmd_flags:\tCommand flags; one or more of 'MC_CMD_FLAG_'\n+ * @token:\tToken of DPBP object\n+ *\n+ * Return:\t'0' on Success; Error code otherwise.\n+ */\n+int dpbp_reset(struct fsl_mc_io\t*mc_io,\n+\t       uint32_t\t\tcmd_flags,\n+\t       uint16_t\t\ttoken);\n+\n+/**\n+ * struct dpbp_attr - Structure representing DPBP attributes\n+ * @id:\t\tDPBP object ID\n+ * @bpid:\tHardware buffer pool ID; should be used as an argument in\n+ *\t\tacquire/release operations on buffers\n+ */\n+struct dpbp_attr {\n+\tint id;\n+\tuint16_t bpid;\n+};\n+\n+/**\n+ * dpbp_get_attributes - Retrieve DPBP attributes.\n+ *\n+ * @mc_io:\tPointer to MC portal's I/O object\n+ * @cmd_flags:\tCommand flags; one or more of 'MC_CMD_FLAG_'\n+ * @token:\tToken of DPBP object\n+ * @attr:\tReturned object's attributes\n+ *\n+ * Return:\t'0' on Success; Error code otherwise.\n+ */\n+int dpbp_get_attributes(struct fsl_mc_io\t*mc_io,\n+\t\t\tuint32_t\t\tcmd_flags,\n+\t\t\tuint16_t\t\ttoken,\n+\t\t\tstruct dpbp_attr\t*attr);\n+\n+/**\n+ * dpbp_get_api_version() - Get buffer pool API version\n+ * @mc_io:  Pointer to MC portal's I/O object\n+ * @cmd_flags:\tCommand flags; one or more of 'MC_CMD_FLAG_'\n+ * @major_ver:\tMajor version of data path buffer pool API\n+ * @minor_ver:\tMinor version of data path buffer pool API\n+ *\n+ * Return:  '0' on Success; Error code otherwise.\n+ */\n+int dpbp_get_api_version(struct fsl_mc_io *mc_io,\n+\t\t\t uint32_t cmd_flags,\n+\t\t\t uint16_t *major_ver,\n+\t\t\t uint16_t *minor_ver);\n+\n+#endif /* __FSL_DPBP_H */\ndiff --git a/drivers/bus/fslmc/mc/fsl_dpbp_cmd.h b/drivers/bus/fslmc/mc/fsl_dpbp_cmd.h\nnew file mode 100644\nindex 0000000..a6bfabe\n--- /dev/null\n+++ b/drivers/bus/fslmc/mc/fsl_dpbp_cmd.h\n@@ -0,0 +1,83 @@\n+/*-\n+ * This file is provided under a dual BSD/GPLv2 license. When using or\n+ * redistributing this file, you may do so under either license.\n+ *\n+ *   BSD LICENSE\n+ *\n+ * Copyright 2013-2016 Freescale Semiconductor Inc.\n+ * Copyright (c) 2016 NXP.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are met:\n+ * * Redistributions of source code must retain the above copyright\n+ * notice, this list of conditions and the following disclaimer.\n+ * * Redistributions in binary form must reproduce the above copyright\n+ * notice, this list of conditions and the following disclaimer in the\n+ * documentation and/or other materials provided with the distribution.\n+ * * Neither the name of the above-listed copyright holders nor the\n+ * names of any contributors may be used to endorse or promote products\n+ * derived from this software without specific prior written permission.\n+ *\n+ *   GPL LICENSE SUMMARY\n+ *\n+ * ALTERNATIVELY, this software may be distributed under the terms of the\n+ * GNU General Public License (\"GPL\") as published by the Free Software\n+ * Foundation, either version 2 of that License or (at your option) any\n+ * later version.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE\n+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n+ * POSSIBILITY OF SUCH DAMAGE.\n+ */\n+#ifndef _FSL_DPBP_CMD_H\n+#define _FSL_DPBP_CMD_H\n+\n+/* DPBP Version */\n+#define DPBP_VER_MAJOR\t\t\t\t3\n+#define DPBP_VER_MINOR\t\t\t\t2\n+\n+/* Command IDs */\n+#define DPBP_CMDID_CLOSE                        ((0x800 << 4) | (0x1))\n+#define DPBP_CMDID_OPEN                         ((0x804 << 4) | (0x1))\n+#define DPBP_CMDID_CREATE                       ((0x904 << 4) | (0x1))\n+#define DPBP_CMDID_DESTROY                      ((0x984 << 4) | (0x1))\n+#define DPBP_CMDID_GET_API_VERSION              ((0xa04 << 4) | (0x1))\n+\n+#define DPBP_CMDID_ENABLE                       ((0x002 << 4) | (0x1))\n+#define DPBP_CMDID_DISABLE                      ((0x003 << 4) | (0x1))\n+#define DPBP_CMDID_GET_ATTR                     ((0x004 << 4) | (0x1))\n+#define DPBP_CMDID_RESET                        ((0x005 << 4) | (0x1))\n+#define DPBP_CMDID_IS_ENABLED                   ((0x006 << 4) | (0x1))\n+\n+\n+/*                cmd, param, offset, width, type, arg_name */\n+#define DPBP_CMD_OPEN(cmd, dpbp_id) \\\n+\tMC_CMD_OP(cmd, 0, 0,  32, int,\t    dpbp_id)\n+\n+/*                cmd, param, offset, width, type, arg_name */\n+#define DPBP_RSP_IS_ENABLED(cmd, en) \\\n+\tMC_RSP_OP(cmd, 0, 0,  1,  int,\t    en)\n+\n+/*                cmd, param, offset, width, type,\targ_name */\n+#define DPBP_RSP_GET_ATTRIBUTES(cmd, attr) \\\n+do { \\\n+\tMC_RSP_OP(cmd, 0, 16, 16, uint16_t, attr->bpid); \\\n+\tMC_RSP_OP(cmd, 0, 32, 32, int,\t    attr->id);\\\n+} while (0)\n+\n+/*                cmd, param, offset, width, type,      arg_name */\n+#define DPBP_RSP_GET_API_VERSION(cmd, major, minor) \\\n+do { \\\n+\tMC_RSP_OP(cmd, 0, 0,  16, uint16_t, major);\\\n+\tMC_RSP_OP(cmd, 0, 16, 16, uint16_t, minor);\\\n+} while (0)\n+\n+#endif /* _FSL_DPBP_CMD_H */\ndiff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map\nindex daf6b8f..5167262 100644\n--- a/drivers/bus/fslmc/rte_bus_fslmc_version.map\n+++ b/drivers/bus/fslmc/rte_bus_fslmc_version.map\n@@ -1,6 +1,11 @@\n DPDK_17.02 {\n \tglobal:\n \n+        dpbp_disable;\n+        dpbp_enable;\n+        dpbp_get_attributes;\n+        dpbp_open;\n+        dpbp_reset;\n         dpio_close;\n         dpio_disable;\n         dpio_enable;\n",
    "prefixes": [
        "dpdk-dev",
        "PATCHv6",
        "07/33"
    ]
}