Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/45580/?format=api
https://patches.dpdk.org/api/patches/45580/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180928122615.48390-8-roy.fan.zhang@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": "<20180928122615.48390-8-roy.fan.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180928122615.48390-8-roy.fan.zhang@intel.com", "date": "2018-09-28T12:26:15", "name": "[v2,7/7] doc: update action documentation", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "bfb39fb5fc531952f2b84bd518a54e31f5e816c5", "submitter": { "id": 304, "url": "https://patches.dpdk.org/api/people/304/?format=api", "name": "Fan Zhang", "email": "roy.fan.zhang@intel.com" }, "delegate": { "id": 10018, "url": "https://patches.dpdk.org/api/users/10018/?format=api", "username": "cristian_dumitrescu", "first_name": "Cristian", "last_name": "Dumitrescu", "email": "cristian.dumitrescu@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180928122615.48390-8-roy.fan.zhang@intel.com/mbox/", "series": [ { "id": 1572, "url": "https://patches.dpdk.org/api/series/1572/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1572", "date": "2018-09-28T12:26:08", "name": "pipeline: add symmetric crypto to action", "version": 2, "mbox": "https://patches.dpdk.org/series/1572/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/45580/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/45580/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D31B81B473;\n\tFri, 28 Sep 2018 14:41:46 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 12E0A1B446\n\tfor <dev@dpdk.org>; Fri, 28 Sep 2018 14:41:35 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Sep 2018 05:41:33 -0700", "from silpixa00398673.ir.intel.com (HELO\n\tsilpixa00398673.ger.corp.intel.com) ([10.237.223.54])\n\tby orsmga007.jf.intel.com with ESMTP; 28 Sep 2018 05:41:27 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.54,314,1534834800\"; d=\"scan'208\";a=\"76853824\"", "From": "Fan Zhang <roy.fan.zhang@intel.com>", "To": "dev@dpdk.org", "Cc": "cristian.dumitrescu@intel.com,\n\t\"Zhang, Roy Fan\" <roy.fan.zhang@intel.com>, Zhang@dpdk.org", "Date": "Fri, 28 Sep 2018 13:26:15 +0100", "Message-Id": "<20180928122615.48390-8-roy.fan.zhang@intel.com>", "X-Mailer": "git-send-email 2.13.6", "In-Reply-To": "<20180928122615.48390-1-roy.fan.zhang@intel.com>", "References": "<20180828081929.34085-1-roy.fan.zhang@intel.com>\n\t<20180928122615.48390-1-roy.fan.zhang@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 7/7] doc: update action documentation", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: \"Zhang, Roy Fan\" <roy.fan.zhang@intel.com>\n\nSigned-off-by: Zhang, Roy Fan <roy.fan.zhang@intel.com>\nAcked-by: Dumitrescu, Cristian <cristian.dumitrescu@intel.com>\n---\n doc/guides/prog_guide/packet_framework.rst | 11 ++++++++++-\n doc/guides/sample_app_ug/ip_pipeline.rst | 23 +++++++++++++++++++++++\n 2 files changed, 33 insertions(+), 1 deletion(-)", "diff": "diff --git a/doc/guides/prog_guide/packet_framework.rst b/doc/guides/prog_guide/packet_framework.rst\nindex f0b485669..48d257501 100644\n--- a/doc/guides/prog_guide/packet_framework.rst\n+++ b/doc/guides/prog_guide/packet_framework.rst\n@@ -98,6 +98,10 @@ Port Types\n | | | character device. |\n | | | |\n +---+------------------+---------------------------------------------------------------------------------------+\n+ | 9 | Sym_crypto | Output port used to extract DPDK Cryptodev operations from a fixed offset of the |\n+ | | | packet and then enqueue to the Cryptodev PMD. Input port used to dequeue the |\n+ | | | Cryptodev operations from the Cryptodev PMD and then retrieve the packets from them. |\n+ +---+------------------+---------------------------------------------------------------------------------------+\n \n Port Interface\n ~~~~~~~~~~~~~~\n@@ -1078,6 +1082,11 @@ with each table entry having its own set of enabled user actions and its own cop\n | | | checksum. |\n | | | |\n +---+-----------------------------------+---------------------------------------------------------------------+\n+ | 7 | Sym Crypto | Generate Cryptodev session based on the user-specified algorithm |\n+ | | | and key(s), and assemble the cryptodev operation based on the |\n+ | | | predefined offsets. |\n+ | | | |\n+ +---+-----------------------------------+---------------------------------------------------------------------+\n \n Multicore Scaling\n -----------------\n@@ -1133,7 +1142,7 @@ Typical devices with acceleration capabilities are:\n \n * Inline accelerators: NICs, switches, FPGAs, etc;\n \n-* Look-aside accelerators: chipsets, FPGAs, etc.\n+* Look-aside accelerators: chipsets, FPGAs, Intel QuickAssist, etc.\n \n Usually, to support a specific functional block, specific implementation of Packet Framework tables and/or ports and/or actions has to be provided for each accelerator,\n with all the implementations sharing the same API: pure SW implementation (no acceleration), implementation using accelerator A, implementation using accelerator B, etc.\ndiff --git a/doc/guides/sample_app_ug/ip_pipeline.rst b/doc/guides/sample_app_ug/ip_pipeline.rst\nindex b75509a0b..447a544d5 100644\n--- a/doc/guides/sample_app_ug/ip_pipeline.rst\n+++ b/doc/guides/sample_app_ug/ip_pipeline.rst\n@@ -304,6 +304,15 @@ Kni\n [thread <thread_id>]\n \n \n+Cryptodev\n+~~~~~~~~~\n+\n+ Create cryptodev port ::\n+\n+ cryptodev <cryptodev_name>\n+ dev <DPDK Cryptodev PMD name>\n+ queue <n_queues> <queue_size>\n+\n Action profile\n ~~~~~~~~~~~~~~\n \n@@ -330,6 +339,8 @@ Action profile\n [ttl drop | fwd\n stats none | pkts]\n [stats pkts | bytes | both]\n+ [sym_crypto cryptodev <cryptodev_name>\n+ mempool_create <mempool_name> mempool_init <mempool_name>]\n [time]\n \n \n@@ -471,6 +482,18 @@ Add rule to table for specific pipeline instance ::\n [ttl dec | keep]\n [stats]\n [time]\n+ [sym_crypto\n+ encrypt | decrypt\n+ type\n+ | cipher\n+ cipher_algo <algo> cipher_key <key> cipher_iv <iv>\n+ | cipher_auth\n+ cipher_algo <algo> cipher_key <key> cipher_iv <iv>\n+ auth_algo <algo> auth_key <key> digest_size <size>\n+ | aead\n+ aead_algo <algo> aead_key <key> aead_iv <iv> aead_aad <aad>\n+ digest_size <size>\n+ data_offset <data_offset>]\n \n where:\n <pa> ::= g | y | r | drop\n", "prefixes": [ "v2", "7/7" ] }{ "id": 45580, "url": "