Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/131343/?format=api
http://patchwork.dpdk.org/api/patches/131343/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230912100041.3697012-5-qi.z.zhang@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20230912100041.3697012-5-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230912100041.3697012-5-qi.z.zhang@intel.com", "date": "2023-09-12T10:00:40", "name": "[v3,4/5] net/ice: refine supported flow pattern name", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e440eb18210818df2f5bb18fece9c6bb65c53c12", "submitter": { "id": 504, "url": "http://patchwork.dpdk.org/api/people/504/?format=api", "name": "Qi Zhang", "email": "qi.z.zhang@intel.com" }, "delegate": { "id": 1540, "url": "http://patchwork.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230912100041.3697012-5-qi.z.zhang@intel.com/mbox/", "series": [ { "id": 29481, "url": "http://patchwork.dpdk.org/api/series/29481/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29481", "date": "2023-09-12T10:00:36", "name": "refactor rte_flow", "version": 3, "mbox": "http://patchwork.dpdk.org/series/29481/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/131343/comments/", "check": "warning", "checks": "http://patchwork.dpdk.org/api/patches/131343/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 8AEA642575;\n\tTue, 12 Sep 2023 03:41:09 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 03E3B402A3;\n\tTue, 12 Sep 2023 03:40:47 +0200 (CEST)", "from mgamail.intel.com (mgamail.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id BBF59402E5\n for <dev@dpdk.org>; Tue, 12 Sep 2023 03:40:44 +0200 (CEST)", "from orsmga004.jf.intel.com ([10.7.209.38])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Sep 2023 18:40:44 -0700", "from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.37])\n by orsmga004.jf.intel.com with ESMTP; 11 Sep 2023 18:40:42 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1694482845; x=1726018845;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=a2WTBNyo09syeCpB1pnDuuP7xQYvyy2/eOf3HuL7QII=;\n b=oAmarBDjqF3DPrfj8dw5fzJWrTo3jtekxnps9mTQ/3V6g0IwXabm4J4J\n 7dwNdssM/hSacVFMsHogzZyAtPn3yUQX0F5pVvV2y7O3iFQ9Dix9DS/hq\n kyRRHSycFINxP/SDmIESd6pVKCxeux6yXKSXB2+E8r9MpE6uFC1OvD7zq\n 0wQhB3vGI4nNb8rrQF+HrOLH09rpRQwog36clqkG48x8YMn93XxtOkYSD\n oicDupRecAtW25NHiDiY6QiduBha+3rbKTQKVyVACXieQWa3tMi6vGRuN\n nm4vsRbbTWG1PZnb+hghLE/ZGQbbCdAhXKo5eZ1nOYu44vHhkz2/u/zLv g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10830\"; a=\"382063157\"", "E=Sophos;i=\"6.02,244,1688454000\"; d=\"scan'208\";a=\"382063157\"", "E=McAfee;i=\"6600,9927,10830\"; a=\"867168313\"", "E=Sophos;i=\"6.02,244,1688454000\"; d=\"scan'208\";a=\"867168313\"" ], "X-ExtLoop1": "1", "From": "Qi Zhang <qi.z.zhang@intel.com>", "To": "qiming.yang@intel.com", "Cc": "zhichaox.zeng@intel.com,\n\tdev@dpdk.org,\n\tQi Zhang <qi.z.zhang@intel.com>", "Subject": "[PATCH v3 4/5] net/ice: refine supported flow pattern name", "Date": "Tue, 12 Sep 2023 06:00:40 -0400", "Message-Id": "<20230912100041.3697012-5-qi.z.zhang@intel.com>", "X-Mailer": "git-send-email 2.31.1", "In-Reply-To": "<20230912100041.3697012-1-qi.z.zhang@intel.com>", "References": "<20230814202616.3346652-1-qi.z.zhang@intel.com>\n <20230912100041.3697012-1-qi.z.zhang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "Unified the supported patten array name to flow\nice_<engine>_supported_pattern.\n\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/ice_acl_filter.c | 6 +++---\n drivers/net/ice/ice_fdir_filter.c | 6 +++---\n drivers/net/ice/ice_switch_filter.c | 6 +++---\n 3 files changed, 9 insertions(+), 9 deletions(-)", "diff": "diff --git a/drivers/net/ice/ice_acl_filter.c b/drivers/net/ice/ice_acl_filter.c\nindex e507bb927a..63a525b363 100644\n--- a/drivers/net/ice/ice_acl_filter.c\n+++ b/drivers/net/ice/ice_acl_filter.c\n@@ -47,7 +47,7 @@ struct acl_rule {\n };\n \n static struct\n-ice_pattern_match_item ice_acl_pattern[] = {\n+ice_pattern_match_item ice_acl_supported_pattern[] = {\n \t{pattern_eth_ipv4,\tICE_ACL_INSET_ETH_IPV4,\t\tICE_INSET_NONE,\tICE_INSET_NONE},\n \t{pattern_eth_ipv4_udp,\tICE_ACL_INSET_ETH_IPV4_UDP,\tICE_INSET_NONE,\tICE_INSET_NONE},\n \t{pattern_eth_ipv4_tcp,\tICE_ACL_INSET_ETH_IPV4_TCP,\tICE_INSET_NONE,\tICE_INSET_NONE},\n@@ -1050,8 +1050,8 @@ ice_flow_engine ice_acl_engine = {\n struct\n ice_flow_parser ice_acl_parser = {\n \t.engine = &ice_acl_engine,\n-\t.array = ice_acl_pattern,\n-\t.array_len = RTE_DIM(ice_acl_pattern),\n+\t.array = ice_acl_supported_pattern,\n+\t.array_len = RTE_DIM(ice_acl_supported_pattern),\n \t.parse_pattern_action = ice_acl_parse,\n \t.stage = ICE_FLOW_STAGE_DISTRIBUTOR,\n };\ndiff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c\nindex 6afcdf5376..0b7920ad44 100644\n--- a/drivers/net/ice/ice_fdir_filter.c\n+++ b/drivers/net/ice/ice_fdir_filter.c\n@@ -106,7 +106,7 @@\n \tICE_INSET_IPV6_SRC | ICE_INSET_IPV6_DST | \\\n \tICE_INSET_NAT_T_ESP_SPI)\n \n-static struct ice_pattern_match_item ice_fdir_pattern_list[] = {\n+static struct ice_pattern_match_item ice_fdir_supported_pattern[] = {\n \t{pattern_raw,\t\t\t\t\tICE_INSET_NONE,\t\t\tICE_INSET_NONE,\t\t\tICE_INSET_NONE},\n \t{pattern_ethertype,\t\t\t\tICE_FDIR_INSET_ETH,\t\tICE_INSET_NONE,\t\t\tICE_INSET_NONE},\n \t{pattern_eth_ipv4,\t\t\t\tICE_FDIR_INSET_ETH_IPV4,\tICE_INSET_NONE,\t\t\tICE_INSET_NONE},\n@@ -2494,8 +2494,8 @@ ice_fdir_parse(struct ice_adapter *ad,\n \n struct ice_flow_parser ice_fdir_parser = {\n \t.engine = &ice_fdir_engine,\n-\t.array = ice_fdir_pattern_list,\n-\t.array_len = RTE_DIM(ice_fdir_pattern_list),\n+\t.array = ice_fdir_supported_pattern,\n+\t.array_len = RTE_DIM(ice_fdir_supported_pattern),\n \t.parse_pattern_action = ice_fdir_parse,\n \t.stage = ICE_FLOW_STAGE_DISTRIBUTOR,\n };\ndiff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c\nindex 8f29326762..122b87f625 100644\n--- a/drivers/net/ice/ice_switch_filter.c\n+++ b/drivers/net/ice/ice_switch_filter.c\n@@ -202,7 +202,7 @@ struct ice_switch_filter_conf {\n };\n \n static struct\n-ice_pattern_match_item ice_switch_pattern_dist_list[] = {\n+ice_pattern_match_item ice_switch_supported_pattern[] = {\n \t{pattern_any,\t\t\t\t\tICE_INSET_NONE,\t\t\t\tICE_INSET_NONE,\t\t\t\tICE_INSET_NONE},\n \t{pattern_ethertype,\t\t\t\tICE_SW_INSET_ETHER,\t\t\tICE_INSET_NONE,\t\t\t\tICE_INSET_NONE},\n \t{pattern_ethertype_vlan,\t\t\tICE_SW_INSET_MAC_VLAN,\t\t\tICE_INSET_NONE,\t\t\t\tICE_INSET_NONE},\n@@ -2075,8 +2075,8 @@ ice_flow_engine ice_switch_engine = {\n struct\n ice_flow_parser ice_switch_parser = {\n \t.engine = &ice_switch_engine,\n-\t.array = ice_switch_pattern_dist_list,\n-\t.array_len = RTE_DIM(ice_switch_pattern_dist_list),\n+\t.array = ice_switch_supported_pattern,\n+\t.array_len = RTE_DIM(ice_switch_supported_pattern),\n \t.parse_pattern_action = ice_switch_parse_pattern_action,\n \t.stage = ICE_FLOW_STAGE_DISTRIBUTOR,\n };\n", "prefixes": [ "v3", "4/5" ] }{ "id": 131343, "url": "