Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/26131/?format=api
https://patches.dpdk.org/api/patches/26131/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170630165140.59594-20-ferruh.yigit@intel.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": "<20170630165140.59594-20-ferruh.yigit@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20170630165140.59594-20-ferruh.yigit@intel.com", "date": "2017-06-30T16:51:39", "name": "[dpdk-dev,v9,19/20] doc: add control interface library documentation", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f1b18e2affd6e22098859ea73aeb9f60cc254db7", "submitter": { "id": 324, "url": "https://patches.dpdk.org/api/people/324/?format=api", "name": "Ferruh Yigit", "email": "ferruh.yigit@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20170630165140.59594-20-ferruh.yigit@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/26131/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/26131/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 EDBC27D05;\n\tFri, 30 Jun 2017 18:53:57 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 590B6235\n\tfor <dev@dpdk.org>; Fri, 30 Jun 2017 18:52:13 +0200 (CEST)", "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t30 Jun 2017 09:52:13 -0700", "from silpixa00372839.ir.intel.com (HELO\n\tsilpixa00372839.ger.corp.intel.com) ([10.237.222.154])\n\tby orsmga004.jf.intel.com with ESMTP; 30 Jun 2017 09:52:11 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.40,287,1496127600\"; d=\"scan'208\";a=\"103233408\"", "From": "Ferruh Yigit <ferruh.yigit@intel.com>", "To": "dev@dpdk.org", "Cc": "Ferruh Yigit <ferruh.yigit@intel.com>,\n\tStephen Hemminger <stephen@networkplumber.org>,\n\tBruce Richardson <bruce.richardson@intel.com>,\n\tAnatoly Burakov <anatoly.burakov@intel.com>", "Date": "Fri, 30 Jun 2017 17:51:39 +0100", "Message-Id": "<20170630165140.59594-20-ferruh.yigit@intel.com>", "X-Mailer": "git-send-email 2.13.0", "In-Reply-To": "<20170630165140.59594-1-ferruh.yigit@intel.com>", "References": "<20170621110651.75299-1-ferruh.yigit@intel.com>\n\t<20170630165140.59594-1-ferruh.yigit@intel.com>", "Subject": "[dpdk-dev] [PATCH v9 19/20] doc: add control interface library\n\tdocumentation", "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": "Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\n doc/api/doxy-api-index.md | 3 +-\n doc/api/doxy-api.conf | 1 +\n doc/guides/prog_guide/ctrl_if_lib.rst | 50 ++++++++++++++++++++++++++++++++++\n doc/guides/prog_guide/index.rst | 1 +\n doc/guides/rel_notes/release_17_08.rst | 8 ++++++\n 5 files changed, 62 insertions(+), 1 deletion(-)\n create mode 100644 doc/guides/prog_guide/ctrl_if_lib.rst", "diff": "diff --git a/doc/api/doxy-api-index.md b/doc/api/doxy-api-index.md\nindex 71350849f..ba45ff69a 100644\n--- a/doc/api/doxy-api-index.md\n+++ b/doc/api/doxy-api-index.md\n@@ -162,4 +162,5 @@ There are many libraries, so their headers may be grouped by topics:\n [bitrate statistics] (@ref rte_bitrate.h),\n [latency statistics] (@ref rte_latencystats.h),\n [version] (@ref rte_version.h),\n- [ethtool] (@ref rte_ethtool.h)\n+ [ethtool] (@ref rte_ethtool.h),\n+ [control interface] (@ref rte_ctrl_if.h)\ndiff --git a/doc/api/doxy-api.conf b/doc/api/doxy-api.conf\nindex b66e86541..896c2b247 100644\n--- a/doc/api/doxy-api.conf\n+++ b/doc/api/doxy-api.conf\n@@ -42,6 +42,7 @@ INPUT = doc/api/doxy-api-index.md \\\n lib/librte_cmdline \\\n lib/librte_compat \\\n lib/librte_cryptodev \\\n+ lib/librte_ctrl_if \\\n lib/librte_distributor \\\n lib/librte_efd \\\n lib/librte_ether \\\ndiff --git a/doc/guides/prog_guide/ctrl_if_lib.rst b/doc/guides/prog_guide/ctrl_if_lib.rst\nnew file mode 100644\nindex 000000000..7d60c2798\n--- /dev/null\n+++ b/doc/guides/prog_guide/ctrl_if_lib.rst\n@@ -0,0 +1,50 @@\n+.. BSD LICENSE\n+ Copyright(c) 2016 Intel Corporation. All rights reserved.\n+ All rights reserved.\n+\n+ Redistribution and use in source and binary forms, with or without\n+ modification, are permitted provided that the following conditions\n+ are met:\n+\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\n+ the documentation and/or other materials provided with the\n+ distribution.\n+ * Neither the name of Intel Corporation nor the names of its\n+ contributors may be used to endorse or promote products derived\n+ from this software without specific prior written permission.\n+\n+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+.. _Ctrl_If_Library:\n+\n+Control Interface Library\n+=========================\n+\n+This Library is to create/destroy control interfaces and process messages\n+received by control interface.\n+\n+Control Interface is Linux network interface and it is possible to call\n+various Linux commands to this interface and commands will be forwarded\n+to the matching DPDK PMD, and response will be generated by PMD.\n+\n+Control interface required UNCI kernel module to be inserted to function.\n+\n+Control Interface APIS\n+----------------------\n+\n+\n+- ``rte_eth_control_interface_create_one()``\n+- ``rte_eth_control_interface_destroy_one()``\ndiff --git a/doc/guides/prog_guide/index.rst b/doc/guides/prog_guide/index.rst\nindex 54f9538ea..c7cb4b0f8 100644\n--- a/doc/guides/prog_guide/index.rst\n+++ b/doc/guides/prog_guide/index.rst\n@@ -55,6 +55,7 @@ Programmer's Guide\n ip_fragment_reassembly_lib\n pdump_lib\n ethtool_lib\n+ ctrl_if_lib\n multi_proc_support\n kernel_nic_interface\n thread_safety_dpdk_functions\ndiff --git a/doc/guides/rel_notes/release_17_08.rst b/doc/guides/rel_notes/release_17_08.rst\nindex e21d4e17c..0598a9ec0 100644\n--- a/doc/guides/rel_notes/release_17_08.rst\n+++ b/doc/guides/rel_notes/release_17_08.rst\n@@ -80,6 +80,14 @@ New Features\n Ethtool library is wrapper for ethdev library and provides APIs to get data\n similar to Linux ethtool provides.\n \n+* **Control interface support added.**\n+\n+ To enable controlling DPDK ports by common Linux tools.\n+ Following modules added to DPDK:\n+\n+ * librte_ctrl_if library\n+ * librte_eal/linuxapp/unci kernel module\n+\n \n Resolved Issues\n ---------------\n", "prefixes": [ "dpdk-dev", "v9", "19/20" ] }{ "id": 26131, "url": "