Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/64658/?format=api
http://patches.dpdk.org/api/patches/64658/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1579010128-15794-7-git-send-email-bernard.iremonger@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": "<1579010128-15794-7-git-send-email-bernard.iremonger@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1579010128-15794-7-git-send-email-bernard.iremonger@intel.com", "date": "2020-01-14T13:55:20", "name": "[v5,06/14] net/i40e: support ipsec-ah profile", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "852c5182c908277f8522b3affc8a76f6fe3f7430", "submitter": { "id": 91, "url": "http://patches.dpdk.org/api/people/91/?format=api", "name": "Iremonger, Bernard", "email": "bernard.iremonger@intel.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/1579010128-15794-7-git-send-email-bernard.iremonger@intel.com/mbox/", "series": [ { "id": 8053, "url": "http://patches.dpdk.org/api/series/8053/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8053", "date": "2020-01-10T15:20:16", "name": "net/i40e: ESP support", "version": 4, "mbox": "http://patches.dpdk.org/series/8053/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/64658/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/64658/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 89FCCA04FF;\n\tTue, 14 Jan 2020 14:56:30 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D40D11C1DB;\n\tTue, 14 Jan 2020 14:55:48 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id 89E311BFA3\n for <dev@dpdk.org>; Tue, 14 Jan 2020 14:55:45 +0100 (CET)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 14 Jan 2020 05:55:45 -0800", "from sivswdev08.ir.intel.com (HELO localhost.localdomain)\n ([10.237.217.47])\n by fmsmga005.fm.intel.com with ESMTP; 14 Jan 2020 05:55:43 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.69,432,1571727600\"; d=\"scan'208\";a=\"423160504\"", "From": "Bernard Iremonger <bernard.iremonger@intel.com>", "To": "dev@dpdk.org, beilei.xing@intel.com, qi.z.zhang@intel.com,\n declan.doherty@intel.com", "Cc": "konstantin.ananyev@intel.com, stephen1.byrne@intel.com,\n helin.zhang@intel.com, Bernard Iremonger <bernard.iremonger@intel.com>", "Date": "Tue, 14 Jan 2020 13:55:20 +0000", "Message-Id": "<1579010128-15794-7-git-send-email-bernard.iremonger@intel.com>", "X-Mailer": "git-send-email 1.7.0.7", "In-Reply-To": "<1578669630-23866-1-git-send-email-bernard.iremonger@intel.com>", "References": "<1578669630-23866-1-git-send-email-bernard.iremonger@intel.com>", "Subject": "[dpdk-dev] [PATCH v5 06/14] net/i40e: support ipsec-ah profile", "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add flow structures for the following patterns in i40e_ethdev files:\neth/ipv4/esp\neth/ipv6/esp\neth/ipv4/udp/esp\neth/ipv6/esp/udp\n\nadd oip_type in filter\nadd is_udp in filter\nuse tenant_id in filter for spi\n\nSigned-off-by: Bernard Iremonger <bernard.iremonger@intel.com>\n---\n drivers/net/i40e/i40e_ethdev.h | 38 ++++++++++++++++++++++++++++++++++++++\n 1 file changed, 38 insertions(+)", "diff": "diff --git a/drivers/net/i40e/i40e_ethdev.h b/drivers/net/i40e/i40e_ethdev.h\nindex 295ad59..792a047 100644\n--- a/drivers/net/i40e/i40e_ethdev.h\n+++ b/drivers/net/i40e/i40e_ethdev.h\n@@ -501,6 +501,29 @@ struct i40e_gtp_ipv6_flow {\n \tstruct rte_eth_ipv6_flow ip6;\n };\n \n+/* A structure used to define the input for ESP IPV4 flow */\n+struct i40e_esp_ipv4_flow {\n+\tstruct rte_eth_ipv4_flow ipv4;\n+\tuint32_t spi;\t/* SPI in big endian. */\n+};\n+\n+/* A structure used to define the input for ESP IPV6 flow */\n+struct i40e_esp_ipv6_flow {\n+\tstruct rte_eth_ipv6_flow ipv6;\n+\tuint32_t spi;\t/* SPI in big endian. */\n+};\n+/* A structure used to define the input for ESP IPV4 UDP flow */\n+struct i40e_esp_ipv4_udp_flow {\n+\tstruct rte_eth_udpv4_flow udp;\n+\tuint32_t spi;\t/* SPI in big endian. */\n+};\n+\n+/* A structure used to define the input for ESP IPV6 UDP flow */\n+struct i40e_esp_ipv6_udp_flow {\n+\tstruct rte_eth_udpv6_flow udp;\n+\tuint32_t spi;\t/* SPI in big endian. */\n+};\n+\n /* A structure used to define the input for raw type flow */\n struct i40e_raw_flow {\n \tuint16_t pctype;\n@@ -526,6 +549,10 @@ union i40e_fdir_flow {\n \tstruct i40e_gtp_ipv4_flow gtp_ipv4_flow;\n \tstruct i40e_gtp_ipv6_flow gtp_ipv6_flow;\n \tstruct i40e_raw_flow raw_flow;\n+\tstruct i40e_esp_ipv4_flow esp_ipv4_flow;\n+\tstruct i40e_esp_ipv6_flow esp_ipv6_flow;\n+\tstruct i40e_esp_ipv4_udp_flow esp_ipv4_udp_flow;\n+\tstruct i40e_esp_ipv6_udp_flow esp_ipv6_udp_flow;\n };\n \n enum i40e_fdir_ip_type {\n@@ -542,8 +569,10 @@ struct i40e_fdir_flow_ext {\n \tuint16_t dst_id; /* VF ID, available when is_vf is 1*/\n \tbool inner_ip; /* If there is inner ip */\n \tenum i40e_fdir_ip_type iip_type; /* ip type for inner ip */\n+\tenum i40e_fdir_ip_type oip_type; /* ip type for outer ip */\n \tbool customized_pctype; /* If customized pctype is used */\n \tbool pkt_template; /* If raw packet template is used */\n+\tbool is_udp; /* ipv4|ipv6 udp flow */\n };\n \n /* A structure used to define the input for a flow director filter entry */\n@@ -769,6 +798,8 @@ enum i40e_tunnel_type {\n \tI40E_TUNNEL_TYPE_QINQ,\n \tI40E_TUNNEL_TYPE_GTPC,\n \tI40E_TUNNEL_TYPE_GTPU,\n+\tI40E_TUNNEL_TYPE_ESPoUDP,\n+\tI40E_TUNNEL_TYPE_ESPoIP,\n \tI40E_TUNNEL_TYPE_MAX,\n };\n \n@@ -897,6 +928,12 @@ enum i40e_new_pctype {\n \tI40E_CUSTOMIZED_GTPU_IPV4,\n \tI40E_CUSTOMIZED_GTPU_IPV6,\n \tI40E_CUSTOMIZED_GTPU,\n+\tI40E_CUSTOMIZED_ESP_IPV4,\n+\tI40E_CUSTOMIZED_ESP_IPV6,\n+\tI40E_CUSTOMIZED_ESP_IPV4_UDP,\n+\tI40E_CUSTOMIZED_ESP_IPV6_UDP,\n+\tI40E_CUSTOMIZED_AH_IPV4,\n+\tI40E_CUSTOMIZED_AH_IPV6,\n \tI40E_CUSTOMIZED_MAX,\n };\n \n@@ -1001,6 +1038,7 @@ struct i40e_pf {\n \n \t/* Dynamic Device Personalization */\n \tbool gtp_support; /* 1 - support GTP-C and GTP-U */\n+\tbool esp_support; /* 1 - support ESP SPI */\n \t/* customer customized pctype */\n \tstruct i40e_customized_pctype customized_pctype[I40E_CUSTOMIZED_MAX];\n \t/* Switch Domain Id */\n", "prefixes": [ "v5", "06/14" ] }{ "id": 64658, "url": "