Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/45581/?format=api
http://patches.dpdk.org/api/patches/45581/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180928122615.48390-7-roy.fan.zhang@intel.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": "<20180928122615.48390-7-roy.fan.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180928122615.48390-7-roy.fan.zhang@intel.com", "date": "2018-09-28T12:26:14", "name": "[v2,6/7] examples/ip_pipeline: add script", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "356a29e8e1180bbd93dbf80d0aa6bf7c24369f33", "submitter": { "id": 304, "url": "http://patches.dpdk.org/api/people/304/?format=api", "name": "Fan Zhang", "email": "roy.fan.zhang@intel.com" }, "delegate": { "id": 10018, "url": "http://patches.dpdk.org/api/users/10018/?format=api", "username": "cristian_dumitrescu", "first_name": "Cristian", "last_name": "Dumitrescu", "email": "cristian.dumitrescu@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180928122615.48390-7-roy.fan.zhang@intel.com/mbox/", "series": [ { "id": 1572, "url": "http://patches.dpdk.org/api/series/1572/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1572", "date": "2018-09-28T12:26:08", "name": "pipeline: add symmetric crypto to action", "version": 2, "mbox": "http://patches.dpdk.org/series/1572/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/45581/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/45581/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 C25F51B47A;\n\tFri, 28 Sep 2018 14:41:48 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 271F81B448\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:26 -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=\"76853821\"", "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:14 +0100", "Message-Id": "<20180928122615.48390-7-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 6/7] examples/ip_pipeline: add script", "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 examples/ip_pipeline/examples/flow_crypto.cli | 58 +++++++++++++++++++++++++++\n 1 file changed, 58 insertions(+)\n create mode 100644 examples/ip_pipeline/examples/flow_crypto.cli", "diff": "diff --git a/examples/ip_pipeline/examples/flow_crypto.cli b/examples/ip_pipeline/examples/flow_crypto.cli\nnew file mode 100644\nindex 000000000..9b639deb7\n--- /dev/null\n+++ b/examples/ip_pipeline/examples/flow_crypto.cli\n@@ -0,0 +1,58 @@\n+; SPDX-License-Identifier: BSD-3-Clause\n+; Copyright(c) 2018 Intel Corporation\n+\n+; ________________\n+; LINK0 RXQ0 --->| |---> CRYPTO0 TXQ0\n+; | Flow |\n+; CRYPTO0 RXQ0-->| Classification |---> LINK0 TXQ0\n+; |________________|\n+; |\n+; +-----------> SINK0 (flow lookup miss)\n+;\n+; Input packet: Ethernet/IPv4\n+;\n+; Packet buffer layout:\n+; # Field Name Offset (Bytes) Size (Bytes)\n+; 0 Mbuf 0 128\n+; 1 Headroom 128 128\n+; 2 Ethernet header 256 14\n+; 3 IPv4 header 280 20\n+; 4 Packet 256 1536\n+; 5 Crypto Operation 1792 160\n+\n+mempool MEMPOOL0 buffer 2304 pool 32K cache 256 cpu 1\n+mempool MEMPOOL_SESSION0 buffer 1024 pool 1024 cache 128 cpu 1\n+\n+link LINK0 dev 0000:81:00.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on\n+\n+#Cryptodev\n+cryptodev CRYPTO0 dev crypto_aesni_gcm0 queue 1 1024\n+\n+table action profile AP0 ipv4 offset 270 fwd sym_crypto dev CRYPTO0 offset 1792 mempool_create MEMPOOL_SESSION0 mempool_init MEMPOOL_SESSION0\n+table action profile AP1 ipv4 offset 270 fwd\n+\n+pipeline PIPELINE0 period 10 offset_port_id 0 cpu 1\n+\n+pipeline PIPELINE0 port in bsz 32 link LINK0 rxq 0\n+pipeline PIPELINE0 port in bsz 32 cryptodev CRYPTO0 rxq 0\n+\n+pipeline PIPELINE0 port out bsz 32 cryptodev CRYPTO0 txq 0 offset 1792\n+pipeline PIPELINE0 port out bsz 32 link LINK0 txq 0\n+pipeline PIPELINE0 port out bsz 32 sink\n+\n+pipeline PIPELINE0 table match hash ext key 8 mask FFFFFFFF00000000 offset 282 buckets 1K size 4K action AP0\n+pipeline PIPELINE0 table match stub action AP1\n+\n+pipeline PIPELINE0 port in 0 table 0\n+pipeline PIPELINE0 port in 1 table 1\n+\n+thread 24 pipeline PIPELINE0 enable\n+\n+pipeline PIPELINE0 table 0 rule add match default action fwd port 2\n+\n+#AES-GCM encrypt\n+pipeline PIPELINE0 table 0 rule add match hash ipv4_addr 100.0.0.10 action fwd port 0 sym_crypto encrypt type aead aead_algo aes-gcm aead_key 000102030405060708090a0b0c0d0e0f aead_iv 000102030405060708090a0b aead_aad 000102030405060708090a0b0c0d0e0f digest_size 8 data_offset 290\n+#AES-GCM decrypt\n+#pipeline PIPELINE0 table 0 rule add match hash ipv4_addr 100.0.0.10 action fwd port 0 sym_crypto decrypt type aead aead_algo aes-gcm aead_key 000102030405060708090a0b0c0d0e0f aead_iv 000102030405060708090a0b aead_aad 000102030405060708090a0b0c0d0e0f digest_size 8 data_offset 290\n+\n+pipeline PIPELINE0 table 1 rule add match default action fwd port 1\n", "prefixes": [ "v2", "6/7" ] }{ "id": 45581, "url": "