Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/91189/?format=api
http://patches.dpdk.org/api/patches/91189/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210413050640.2586033-15-qi.z.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": "<20210413050640.2586033-15-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210413050640.2586033-15-qi.z.zhang@intel.com", "date": "2021-04-13T05:06:40", "name": "[v2,14/14] net/ice/base: allow support for GTP-U filter using only inner protocols", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "115264d52a8f8b106ba2f5b808a5e18c0d300385", "submitter": { "id": 504, "url": "http://patches.dpdk.org/api/people/504/?format=api", "name": "Qi Zhang", "email": "qi.z.zhang@intel.com" }, "delegate": { "id": 1540, "url": "http://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210413050640.2586033-15-qi.z.zhang@intel.com/mbox/", "series": [ { "id": 16315, "url": "http://patches.dpdk.org/api/series/16315/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16315", "date": "2021-04-13T05:06:28", "name": "base code update batch 2", "version": 2, "mbox": "http://patches.dpdk.org/series/16315/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/91189/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/91189/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id EC54EA0524;\n\tTue, 13 Apr 2021 07:04:37 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8CEA4160AF2;\n\tTue, 13 Apr 2021 07:03:33 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id C1172160ACB\n for <dev@dpdk.org>; Tue, 13 Apr 2021 07:03:26 +0200 (CEST)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Apr 2021 22:03:26 -0700", "from dpdk51.sh.intel.com ([10.67.111.142])\n by fmsmga008.fm.intel.com with ESMTP; 12 Apr 2021 22:03:25 -0700" ], "IronPort-SDR": [ "\n qdG+hH6mqdVwhVdOnuuexIuYAokzeIimS8LD51tlrR/mS1TkkwFFBLK7g2N8j/hfuKvtkSxre+\n NKjrhfh7+WgQ==", "\n 6tBYgtQQANAuosFrIZc9gAmk2lxCLWdQJbjymAUCSqe7m3KVp78okyopRiOsLoCE9r+qrld7lj\n +2syJZa7oUGA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,9952\"; a=\"192207603\"", "E=Sophos;i=\"5.82,218,1613462400\"; d=\"scan'208\";a=\"192207603\"", "E=Sophos;i=\"5.82,218,1613462400\"; d=\"scan'208\";a=\"417704725\"" ], "X-ExtLoop1": "1", "From": "Qi Zhang <qi.z.zhang@intel.com>", "To": "qiming.yang@intel.com", "Cc": "dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>,\n Kiran Patil <kiran.patil@intel.com>", "Date": "Tue, 13 Apr 2021 13:06:40 +0800", "Message-Id": "<20210413050640.2586033-15-qi.z.zhang@intel.com>", "X-Mailer": "git-send-email 2.26.2", "In-Reply-To": "<20210413050640.2586033-1-qi.z.zhang@intel.com>", "References": "<20210329141411.2395069-1-qi.z.zhang@intel.com>\n <20210413050640.2586033-1-qi.z.zhang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 14/14] net/ice/base: allow support for GTP-U\n filter using only inner protocols", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "Adds a support for switch filter: GTP-U using just inner fields.\nIf user doesn't specify outer protocol and its fields but wants to\nadd switch filter for GTP-U using inner protocols and related fields\nsuch as inner L3 and/or inner L4, this patch enables such filtering.\n\nSigned-off-by: Kiran Patil <kiran.patil@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_protocol_type.h | 2 ++\n drivers/net/ice/base/ice_switch.c | 6 ++++--\n 2 files changed, 6 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ice/base/ice_protocol_type.h b/drivers/net/ice/base/ice_protocol_type.h\nindex d078061afb..8c9d098e22 100644\n--- a/drivers/net/ice/base/ice_protocol_type.h\n+++ b/drivers/net/ice/base/ice_protocol_type.h\n@@ -110,6 +110,8 @@ enum ice_sw_tunnel_type {\n \tICE_SW_TUN_IPV4_GTPU_IPV6,\n \tICE_SW_TUN_IPV6_GTPU_IPV4,\n \tICE_SW_TUN_IPV6_GTPU_IPV6,\n+\tICE_SW_TUN_GTP_IPV4,\n+\tICE_SW_TUN_GTP_IPV6,\n \tICE_ALL_TUNNELS /* All tunnel types including NVGRE */\n };\n \ndiff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c\nindex a567b6de81..45f83cd10c 100644\n--- a/drivers/net/ice/base/ice_switch.c\n+++ b/drivers/net/ice/base/ice_switch.c\n@@ -7980,13 +7980,15 @@ ice_find_dummy_packet(struct ice_adv_lkup_elem *lkups, u16 lkups_cnt,\n \t}\n \n \t/* Support GTP tunnel + L3 */\n-\tif (tun_type == ICE_SW_TUN_IPV4_GTPU_IPV4) {\n+\tif (tun_type == ICE_SW_TUN_IPV4_GTPU_IPV4 ||\n+\t tun_type == ICE_SW_TUN_GTP_IPV4) {\n \t\t*pkt = dummy_ipv4_gtpu_ipv4_packet;\n \t\t*pkt_len = sizeof(dummy_ipv4_gtpu_ipv4_packet);\n \t\t*offsets = dummy_ipv4_gtpu_ipv4_packet_offsets;\n \t\treturn;\n \t}\n-\tif (tun_type == ICE_SW_TUN_IPV4_GTPU_IPV6) {\n+\tif (tun_type == ICE_SW_TUN_IPV4_GTPU_IPV6 ||\n+\t tun_type == ICE_SW_TUN_GTP_IPV6) {\n \t\t*pkt = dummy_ipv4_gtpu_ipv6_packet;\n \t\t*pkt_len = sizeof(dummy_ipv4_gtpu_ipv6_packet);\n \t\t*offsets = dummy_ipv4_gtpu_ipv6_packet_offsets;\n", "prefixes": [ "v2", "14/14" ] }{ "id": 91189, "url": "