get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/85229/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 85229,
    "url": "https://patches.dpdk.org/api/patches/85229/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201216085854.7842-4-jia.guo@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": "<20201216085854.7842-4-jia.guo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201216085854.7842-4-jia.guo@intel.com",
    "date": "2020-12-16T08:58:52",
    "name": "[21.02,3/5] net/ice: add ecpri package type",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "176fd98e70fd8fff25a430c4734f216de075d770",
    "submitter": {
        "id": 507,
        "url": "https://patches.dpdk.org/api/people/507/?format=api",
        "name": "Guo, Jia",
        "email": "jia.guo@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201216085854.7842-4-jia.guo@intel.com/mbox/",
    "series": [
        {
            "id": 14327,
            "url": "https://patches.dpdk.org/api/series/14327/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14327",
            "date": "2020-12-16T08:58:49",
            "name": "enable UDP ecpri configure in dcf",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14327/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/85229/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/85229/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 2274FA09EF;\n\tWed, 16 Dec 2020 10:02:47 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 644FFC9D3;\n\tWed, 16 Dec 2020 10:01:55 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id BA071C9C2\n for <dev@dpdk.org>; Wed, 16 Dec 2020 10:01:53 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Dec 2020 01:01:51 -0800",
            "from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128])\n by orsmga008.jf.intel.com with ESMTP; 16 Dec 2020 01:01:49 -0800"
        ],
        "IronPort-SDR": [
            "\n l0IQl4WUQxTqSfqqBHDfTiEFiERTboTg0PcFRyMSlYsmJHytQ6GzrjaC6rYTJ2x7EG0HKwtsre\n wSj76bvsNdsw==",
            "\n tPtaDfF73Nw1TqhXpu0VKywcDbChWBINTsibMJX/2po6pP9oIyCQZb+Ck65rB2UIWY95xpp5r4\n oUEkdJzXIMTA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9836\"; a=\"175135857\"",
            "E=Sophos;i=\"5.78,424,1599548400\"; d=\"scan'208\";a=\"175135857\"",
            "E=Sophos;i=\"5.78,424,1599548400\"; d=\"scan'208\";a=\"368826960\""
        ],
        "X-ExtLoop1": "1",
        "From": "Jeff Guo <jia.guo@intel.com>",
        "To": "qi.z.zhang@intel.com, jingjing.wu@intel.com, qiming.yang@intel.com,\n haiyue.wang@intel.com",
        "Cc": "dev@dpdk.org,\n\tjia.guo@intel.com",
        "Date": "Wed, 16 Dec 2020 16:58:52 +0800",
        "Message-Id": "<20201216085854.7842-4-jia.guo@intel.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20201216085854.7842-1-jia.guo@intel.com>",
        "References": "<20201216085854.7842-1-jia.guo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [dpdk-dev 21.02 3/5] net/ice: add ecpri package type",
        "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 new ecpri package type and process the new package type when handle\neach flow engines.\n\nSigned-off-by: Jeff Guo <jia.guo@intel.com>\n---\n drivers/net/ice/ice_ethdev.c        |   7 +-\n drivers/net/ice/ice_ethdev.h        |   1 +\n drivers/net/ice/ice_fdir_filter.c   |  66 +++++++++++++++\n drivers/net/ice/ice_hash.c          | 111 +++++++++++++++++++++++++\n drivers/net/ice/ice_rxtx.c          |  32 +++++++\n drivers/net/ice/ice_switch_filter.c | 124 ++++++++++++++++++++++++++++\n 6 files changed, 340 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c\nindex 9a5d6a559f..ae1a22572f 100644\n--- a/drivers/net/ice/ice_ethdev.c\n+++ b/drivers/net/ice/ice_ethdev.c\n@@ -71,7 +71,8 @@ static struct proto_xtr_ol_flag ice_proto_xtr_ol_flag_params[] = {\n #define ICE_DFLT_OUTER_TAG_TYPE ICE_AQ_VSI_OUTER_TAG_VLAN_9100\n \n #define ICE_OS_DEFAULT_PKG_NAME\t\t\"ICE OS Default Package\"\n-#define ICE_COMMS_PKG_NAME\t\t\t\"ICE COMMS Package\"\n+#define ICE_COMMS_PKG_NAME\t\t\"ICE COMMS Package\"\n+#define ICE_WIRELESS_EDGE_PKG_NAME\t\"ICE Wireless Edge Package\"\n #define ICE_MAX_RES_DESC_NUM        1024\n \n static int ice_dev_configure(struct rte_eth_dev *dev);\n@@ -1807,6 +1808,10 @@ ice_load_pkg_type(struct ice_hw *hw)\n \telse if (!strncmp((char *)hw->active_pkg_name, ICE_COMMS_PKG_NAME,\n \t\tICE_PKG_NAME_SIZE))\n \t\tpackage_type = ICE_PKG_TYPE_COMMS;\n+\telse if (!strncmp((char *)hw->active_pkg_name,\n+\t\t\t  ICE_WIRELESS_EDGE_PKG_NAME,\n+\t\t\t  ICE_PKG_NAME_SIZE))\n+\t\tpackage_type = ICE_PKG_TYPE_WIRELESS_EDGE;\n \telse\n \t\tpackage_type = ICE_PKG_TYPE_UNKNOWN;\n \ndiff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h\nindex 899f446cde..7f8d0e9087 100644\n--- a/drivers/net/ice/ice_ethdev.h\n+++ b/drivers/net/ice/ice_ethdev.h\n@@ -147,6 +147,7 @@ enum ice_pkg_type {\n \tICE_PKG_TYPE_UNKNOWN,\n \tICE_PKG_TYPE_OS_DEFAULT,\n \tICE_PKG_TYPE_COMMS,\n+\tICE_PKG_TYPE_WIRELESS_EDGE,\n };\n \n struct ice_adapter;\ndiff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c\nindex 175abcdd5c..5ca74bfb71 100644\n--- a/drivers/net/ice/ice_fdir_filter.c\n+++ b/drivers/net/ice/ice_fdir_filter.c\n@@ -143,8 +143,62 @@ static struct ice_pattern_match_item ice_fdir_pattern_comms[] = {\n \t{pattern_eth_ipv6_gtpu_eh,     ICE_FDIR_INSET_IPV6_GTPU_EH,          ICE_INSET_NONE},\n };\n \n+static struct ice_pattern_match_item ice_fdir_pattern_wireless_edge[] = {\n+\t{pattern_ethertype,\t\tICE_FDIR_INSET_ETH,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4,\t\tICE_FDIR_INSET_ETH_IPV4,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp,\t\tICE_FDIR_INSET_ETH_IPV4_UDP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_tcp,\t\tICE_FDIR_INSET_ETH_IPV4_TCP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_sctp,\t\tICE_FDIR_INSET_ETH_IPV4_SCTP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv6,\t\tICE_FDIR_INSET_ETH_IPV6,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv6_udp,\t\tICE_FDIR_INSET_ETH_IPV6_UDP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv6_tcp,\t\tICE_FDIR_INSET_ETH_IPV6_TCP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv6_sctp,\t\tICE_FDIR_INSET_ETH_IPV6_SCTP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_ipv4,\n+\t\t\t\t\tICE_FDIR_INSET_VXLAN_IPV4,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_ipv4_udp,\n+\t\t\t\t\tICE_FDIR_INSET_VXLAN_IPV4_UDP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_ipv4_tcp,\n+\t\t\t\t\tICE_FDIR_INSET_VXLAN_IPV4_TCP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_ipv4_sctp,\n+\t\t\t\t\tICE_FDIR_INSET_VXLAN_IPV4_SCTP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4,\n+\t\t\t\t\tICE_FDIR_INSET_VXLAN_IPV4,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4_udp,\n+\t\t\t\t\tICE_FDIR_INSET_VXLAN_IPV4_UDP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4_tcp,\n+\t\t\t\t\tICE_FDIR_INSET_VXLAN_IPV4_TCP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4_sctp,\n+\t\t\t\t\tICE_FDIR_INSET_VXLAN_IPV4_SCTP,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_gtpu,\t\tICE_FDIR_INSET_IPV4_GTPU,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv4_gtpu_eh,\tICE_FDIR_INSET_IPV4_GTPU_EH,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv6_gtpu,\t\tICE_FDIR_INSET_IPV6_GTPU,\n+\t\t\t\t\tICE_INSET_NONE},\n+\t{pattern_eth_ipv6_gtpu_eh,\tICE_FDIR_INSET_IPV6_GTPU_EH,\n+\t\t\t\t\tICE_INSET_NONE},\n+};\n+\n static struct ice_flow_parser ice_fdir_parser_os;\n static struct ice_flow_parser ice_fdir_parser_comms;\n+static struct ice_flow_parser ice_fdir_parser_wireless_edge;\n \n static int\n ice_fdir_is_tunnel_profile(enum ice_fdir_tunnel_type tunnel_type);\n@@ -1113,6 +1167,8 @@ ice_fdir_init(struct ice_adapter *ad)\n \n \tif (ad->active_pkg_type == ICE_PKG_TYPE_COMMS)\n \t\tparser = &ice_fdir_parser_comms;\n+\telse if (ad->active_pkg_type == ICE_PKG_TYPE_WIRELESS_EDGE)\n+\t\tparser = &ice_fdir_parser_wireless_edge;\n \telse if (ad->active_pkg_type == ICE_PKG_TYPE_OS_DEFAULT)\n \t\tparser = &ice_fdir_parser_os;\n \telse\n@@ -1132,6 +1188,8 @@ ice_fdir_uninit(struct ice_adapter *ad)\n \n \tif (ad->active_pkg_type == ICE_PKG_TYPE_COMMS)\n \t\tparser = &ice_fdir_parser_comms;\n+\telse if (ad->active_pkg_type == ICE_PKG_TYPE_WIRELESS_EDGE)\n+\t\tparser = &ice_fdir_parser_wireless_edge;\n \telse\n \t\tparser = &ice_fdir_parser_os;\n \n@@ -2083,6 +2141,14 @@ static struct ice_flow_parser ice_fdir_parser_comms = {\n \t.stage = ICE_FLOW_STAGE_DISTRIBUTOR,\n };\n \n+static struct ice_flow_parser ice_fdir_parser_wireless_edge = {\n+\t.engine = &ice_fdir_engine,\n+\t.array = ice_fdir_pattern_wireless_edge,\n+\t.array_len = RTE_DIM(ice_fdir_pattern_wireless_edge),\n+\t.parse_pattern_action = ice_fdir_parse,\n+\t.stage = ICE_FLOW_STAGE_DISTRIBUTOR,\n+};\n+\n RTE_INIT(ice_fdir_engine_register)\n {\n \tice_register_flow_engine(&ice_fdir_engine);\ndiff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice_hash.c\nindex fe3e06c579..a52ede0173 100644\n--- a/drivers/net/ice/ice_hash.c\n+++ b/drivers/net/ice/ice_hash.c\n@@ -446,6 +446,104 @@ static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = {\n \t\t&hint_eth_pppoes},\n };\n \n+/* Supported pattern for wireless edge package. */\n+static struct ice_pattern_match_item ice_hash_pattern_list_wireless_edge[] = {\n+\t{pattern_empty,\t\t\t    ICE_INSET_NONE,\n+\t\t&hint_empty},\n+\t{pattern_eth_ipv4,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4},\n+\t{pattern_eth_ipv4_udp,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_udp},\n+\t{pattern_eth_ipv4_tcp,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_tcp},\n+\t{pattern_eth_ipv4_sctp,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_sctp},\n+\t{pattern_eth_ipv4_gtpu_ipv4,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_ipv4},\n+\t{pattern_eth_ipv4_gtpu_ipv4_udp,    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_ipv4_udp},\n+\t{pattern_eth_ipv4_gtpu_ipv4_tcp,    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_ipv4_tcp},\n+\t{pattern_eth_ipv4_gtpu_ipv6,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_ipv6},\n+\t{pattern_eth_ipv4_gtpu_ipv6_udp,    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_ipv6_udp},\n+\t{pattern_eth_ipv4_gtpu_ipv6_tcp,    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_ipv6_tcp},\n+\t{pattern_eth_ipv6_gtpu_ipv4,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_ipv4},\n+\t{pattern_eth_ipv6_gtpu_ipv4_udp,    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_ipv4_udp},\n+\t{pattern_eth_ipv6_gtpu_ipv4_tcp,    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_ipv4_tcp},\n+\t{pattern_eth_ipv6_gtpu_ipv6,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_ipv6},\n+\t{pattern_eth_ipv6_gtpu_ipv6_udp,    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_ipv6_udp},\n+\t{pattern_eth_ipv6_gtpu_ipv6_tcp,    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_ipv6_tcp},\n+\t{pattern_eth_ipv4_gtpu_eh_ipv4,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_eh_ipv4},\n+\t{pattern_eth_ipv4_gtpu_eh_ipv4_udp, ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_eh_ipv4_udp},\n+\t{pattern_eth_ipv4_gtpu_eh_ipv4_tcp, ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_eh_ipv4_tcp},\n+\t{pattern_eth_ipv4_gtpu_eh_ipv6,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_eh_ipv6},\n+\t{pattern_eth_ipv4_gtpu_eh_ipv6_udp, ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_eh_ipv6_udp},\n+\t{pattern_eth_ipv4_gtpu_eh_ipv6_tcp, ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_gtpu_eh_ipv6_tcp},\n+\t{pattern_eth_ipv6_gtpu_eh_ipv4,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_eh_ipv4},\n+\t{pattern_eth_ipv6_gtpu_eh_ipv4_udp, ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_eh_ipv4_udp},\n+\t{pattern_eth_ipv6_gtpu_eh_ipv4_tcp, ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_eh_ipv4_tcp},\n+\t{pattern_eth_ipv6_gtpu_eh_ipv6,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_eh_ipv6},\n+\t{pattern_eth_ipv6_gtpu_eh_ipv6_udp, ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_eh_ipv6_udp},\n+\t{pattern_eth_ipv6_gtpu_eh_ipv6_tcp, ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_gtpu_eh_ipv6_tcp},\n+\t{pattern_eth_ipv4_esp,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_esp},\n+\t{pattern_eth_ipv4_udp_esp,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_udp_esp},\n+\t{pattern_eth_ipv4_ah,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv4_ah},\n+\t{pattern_eth_vlan_ipv4,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_vlan_ipv4},\n+\t{pattern_eth_vlan_ipv4_udp,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_vlan_ipv4_udp},\n+\t{pattern_eth_vlan_ipv4_tcp,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_vlan_ipv4_tcp},\n+\t{pattern_eth_vlan_ipv4_sctp,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_vlan_ipv4_sctp},\n+\t{pattern_eth_ipv6,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6},\n+\t{pattern_eth_ipv6_udp,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_udp},\n+\t{pattern_eth_ipv6_tcp,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_tcp},\n+\t{pattern_eth_ipv6_sctp,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_sctp},\n+\t{pattern_eth_ipv6_esp,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_esp},\n+\t{pattern_eth_ipv6_udp_esp,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_udp_esp},\n+\t{pattern_eth_ipv6_ah,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_ipv6_ah},\n+\t{pattern_eth_vlan_ipv6,\t\t    ICE_INSET_NONE,\n+\t\t&hint_eth_vlan_ipv6},\n+\t{pattern_eth_vlan_ipv6_udp,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_vlan_ipv6_udp},\n+\t{pattern_eth_vlan_ipv6_tcp,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_vlan_ipv6_tcp},\n+\t{pattern_eth_vlan_ipv6_sctp,\t    ICE_INSET_NONE,\n+\t\t&hint_eth_vlan_ipv6_sctp},\n+};\n+\n /**\n  * The first member is input set combination,\n  * the second member is hash fields.\n@@ -932,6 +1030,15 @@ static struct ice_flow_parser ice_hash_parser_comms = {\n \t.stage = ICE_FLOW_STAGE_RSS,\n };\n \n+/* Register parser for wireless edge package. */\n+static struct ice_flow_parser ice_hash_parser_wireless_edge = {\n+\t.engine = &ice_hash_engine,\n+\t.array = ice_hash_pattern_list_wireless_edge,\n+\t.array_len = RTE_DIM(ice_hash_pattern_list_wireless_edge),\n+\t.parse_pattern_action = ice_hash_parse_pattern_action,\n+\t.stage = ICE_FLOW_STAGE_RSS,\n+};\n+\n RTE_INIT(ice_hash_engine_init)\n {\n \tstruct ice_flow_engine *engine = &ice_hash_engine;\n@@ -950,6 +1057,8 @@ ice_hash_init(struct ice_adapter *ad)\n \t\tparser = &ice_hash_parser_os;\n \telse if (ad->active_pkg_type == ICE_PKG_TYPE_COMMS)\n \t\tparser = &ice_hash_parser_comms;\n+\telse if (ad->active_pkg_type == ICE_PKG_TYPE_WIRELESS_EDGE)\n+\t\tparser = &ice_hash_parser_wireless_edge;\n \telse\n \t\treturn -EINVAL;\n \n@@ -1356,6 +1465,8 @@ ice_hash_uninit(struct ice_adapter *ad)\n \t\tice_unregister_parser(&ice_hash_parser_os, ad);\n \telse if (ad->active_pkg_type == ICE_PKG_TYPE_COMMS)\n \t\tice_unregister_parser(&ice_hash_parser_comms, ad);\n+\telse if (ad->active_pkg_type == ICE_PKG_TYPE_WIRELESS_EDGE)\n+\t\tice_unregister_parser(&ice_hash_parser_wireless_edge, ad);\n }\n \n static void\ndiff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c\nindex d052bd0f1b..0cf7d6abb8 100644\n--- a/drivers/net/ice/ice_rxtx.c\n+++ b/drivers/net/ice/ice_rxtx.c\n@@ -1948,8 +1948,40 @@ ice_dev_supported_ptypes_get(struct rte_eth_dev *dev)\n \t\tRTE_PTYPE_UNKNOWN\n \t};\n \n+\tstatic const uint32_t ptypes_wireless_edge[] = {\n+\t\t/* refers to ice_get_default_pkt_type() */\n+\t\tRTE_PTYPE_L2_ETHER,\n+\t\tRTE_PTYPE_L2_ETHER_TIMESYNC,\n+\t\tRTE_PTYPE_L2_ETHER_LLDP,\n+\t\tRTE_PTYPE_L2_ETHER_ARP,\n+\t\tRTE_PTYPE_L3_IPV4_EXT_UNKNOWN,\n+\t\tRTE_PTYPE_L3_IPV6_EXT_UNKNOWN,\n+\t\tRTE_PTYPE_L4_FRAG,\n+\t\tRTE_PTYPE_L4_ICMP,\n+\t\tRTE_PTYPE_L4_NONFRAG,\n+\t\tRTE_PTYPE_L4_SCTP,\n+\t\tRTE_PTYPE_L4_TCP,\n+\t\tRTE_PTYPE_L4_UDP,\n+\t\tRTE_PTYPE_TUNNEL_GRENAT,\n+\t\tRTE_PTYPE_TUNNEL_IP,\n+\t\tRTE_PTYPE_INNER_L2_ETHER,\n+\t\tRTE_PTYPE_INNER_L3_IPV4_EXT_UNKNOWN,\n+\t\tRTE_PTYPE_INNER_L3_IPV6_EXT_UNKNOWN,\n+\t\tRTE_PTYPE_INNER_L4_FRAG,\n+\t\tRTE_PTYPE_INNER_L4_ICMP,\n+\t\tRTE_PTYPE_INNER_L4_NONFRAG,\n+\t\tRTE_PTYPE_INNER_L4_SCTP,\n+\t\tRTE_PTYPE_INNER_L4_TCP,\n+\t\tRTE_PTYPE_INNER_L4_UDP,\n+\t\tRTE_PTYPE_TUNNEL_GTPC,\n+\t\tRTE_PTYPE_TUNNEL_GTPU,\n+\t\tRTE_PTYPE_UNKNOWN\n+\t};\n+\n \tif (ad->active_pkg_type == ICE_PKG_TYPE_COMMS)\n \t\tptypes = ptypes_comms;\n+\telse if (ad->active_pkg_type == ICE_PKG_TYPE_WIRELESS_EDGE)\n+\t\tptypes = ptypes_wireless_edge;\n \telse\n \t\tptypes = ptypes_os;\n \ndiff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c\nindex 8cba6eb7b1..dc8578d5aa 100644\n--- a/drivers/net/ice/ice_switch_filter.c\n+++ b/drivers/net/ice/ice_switch_filter.c\n@@ -139,8 +139,10 @@ struct sw_meta {\n \n static struct ice_flow_parser ice_switch_dist_parser_os;\n static struct ice_flow_parser ice_switch_dist_parser_comms;\n+static struct ice_flow_parser ice_switch_dist_parser_wireless_edge;\n static struct ice_flow_parser ice_switch_perm_parser_os;\n static struct ice_flow_parser ice_switch_perm_parser_comms;\n+static struct ice_flow_parser ice_switch_perm_parser_wireless_edge;\n \n static struct\n ice_pattern_match_item ice_switch_pattern_dist_os[] = {\n@@ -264,6 +266,54 @@ ice_pattern_match_item ice_switch_pattern_dist_comms[] = {\n \t\t\tICE_INSET_NONE, ICE_INSET_NONE},\n };\n \n+static struct\n+ice_pattern_match_item ice_switch_pattern_dist_wireless_edge[] = {\n+\t{pattern_ethertype,\n+\t\t\tICE_SW_INSET_ETHER, ICE_INSET_NONE},\n+\t{pattern_ethertype_vlan,\n+\t\t\tICE_SW_INSET_MAC_VLAN, ICE_INSET_NONE},\n+\t{pattern_eth_arp,\n+\t\t\tICE_INSET_NONE, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4,\n+\t\t\tICE_SW_INSET_MAC_IPV4, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp,\n+\t\t\tICE_SW_INSET_MAC_IPV4_UDP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_tcp,\n+\t\t\tICE_SW_INSET_MAC_IPV4_TCP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6,\n+\t\t\tICE_SW_INSET_MAC_IPV6, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_udp,\n+\t\t\tICE_SW_INSET_MAC_IPV6_UDP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_tcp,\n+\t\t\tICE_SW_INSET_MAC_IPV6_TCP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4,\n+\t\t\tICE_SW_INSET_DIST_VXLAN_IPV4, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4_udp,\n+\t\t\tICE_SW_INSET_DIST_VXLAN_IPV4_UDP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4_tcp,\n+\t\t\tICE_SW_INSET_DIST_VXLAN_IPV4_TCP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_nvgre_eth_ipv4,\n+\t\t\tICE_SW_INSET_DIST_NVGRE_IPV4, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_nvgre_eth_ipv4_udp,\n+\t\t\tICE_SW_INSET_DIST_NVGRE_IPV4_UDP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_nvgre_eth_ipv4_tcp,\n+\t\t\tICE_SW_INSET_DIST_NVGRE_IPV4_TCP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_esp,\n+\t\t\tICE_SW_INSET_MAC_IPV4_ESP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_esp,\n+\t\t\tICE_SW_INSET_MAC_IPV4_ESP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_esp,\n+\t\t\tICE_SW_INSET_MAC_IPV6_ESP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_udp_esp,\n+\t\t\tICE_SW_INSET_MAC_IPV6_ESP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_ah,\n+\t\t\tICE_SW_INSET_MAC_IPV4_AH, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_ah,\n+\t\t\tICE_SW_INSET_MAC_IPV6_AH, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_udp_ah,\n+\t\t\tICE_INSET_NONE, ICE_INSET_NONE},\n+};\n+\n static struct\n ice_pattern_match_item ice_switch_pattern_perm_os[] = {\n \t{pattern_ethertype,\n@@ -386,6 +436,54 @@ ice_pattern_match_item ice_switch_pattern_perm_comms[] = {\n \t\t\tICE_INSET_NONE, ICE_INSET_NONE},\n };\n \n+static struct\n+ice_pattern_match_item ice_switch_pattern_perm_wireless_edge[] = {\n+\t{pattern_ethertype,\n+\t\t\tICE_SW_INSET_ETHER, ICE_INSET_NONE},\n+\t{pattern_ethertype_vlan,\n+\t\t\tICE_SW_INSET_MAC_VLAN, ICE_INSET_NONE},\n+\t{pattern_eth_arp,\n+\t\tICE_INSET_NONE, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4,\n+\t\t\tICE_SW_INSET_MAC_IPV4, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp,\n+\t\t\tICE_SW_INSET_MAC_IPV4_UDP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_tcp,\n+\t\t\tICE_SW_INSET_MAC_IPV4_TCP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6,\n+\t\t\tICE_SW_INSET_MAC_IPV6, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_udp,\n+\t\t\tICE_SW_INSET_MAC_IPV6_UDP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_tcp,\n+\t\t\tICE_SW_INSET_MAC_IPV6_TCP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4,\n+\t\t\tICE_SW_INSET_PERM_TUNNEL_IPV4, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4_udp,\n+\t\t\tICE_SW_INSET_PERM_TUNNEL_IPV4_UDP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4_tcp,\n+\t\t\tICE_SW_INSET_PERM_TUNNEL_IPV4_TCP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_nvgre_eth_ipv4,\n+\t\t\tICE_SW_INSET_PERM_TUNNEL_IPV4, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_nvgre_eth_ipv4_udp,\n+\t\t\tICE_SW_INSET_PERM_TUNNEL_IPV4_UDP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_nvgre_eth_ipv4_tcp,\n+\t\t\tICE_SW_INSET_PERM_TUNNEL_IPV4_TCP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_esp,\n+\t\t\tICE_SW_INSET_MAC_IPV4_ESP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_esp,\n+\t\t\tICE_SW_INSET_MAC_IPV4_ESP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_esp,\n+\t\t\tICE_SW_INSET_MAC_IPV6_ESP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_udp_esp,\n+\t\t\tICE_SW_INSET_MAC_IPV6_ESP, ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_ah,\n+\t\t\tICE_SW_INSET_MAC_IPV4_AH, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_ah,\n+\t\t\tICE_SW_INSET_MAC_IPV6_AH, ICE_INSET_NONE},\n+\t{pattern_eth_ipv6_udp_ah,\n+\t\t\tICE_INSET_NONE, ICE_INSET_NONE},\n+};\n+\n static int\n ice_switch_create(struct ice_adapter *ad,\n \t\tstruct rte_flow *flow,\n@@ -1861,6 +1959,8 @@ ice_switch_init(struct ice_adapter *ad)\n \n \tif (ad->active_pkg_type == ICE_PKG_TYPE_COMMS)\n \t\tdist_parser = &ice_switch_dist_parser_comms;\n+\telse if (ad->active_pkg_type == ICE_PKG_TYPE_WIRELESS_EDGE)\n+\t\tdist_parser = &ice_switch_dist_parser_wireless_edge;\n \telse if (ad->active_pkg_type == ICE_PKG_TYPE_OS_DEFAULT)\n \t\tdist_parser = &ice_switch_dist_parser_os;\n \telse\n@@ -1869,6 +1969,8 @@ ice_switch_init(struct ice_adapter *ad)\n \tif (ad->devargs.pipe_mode_support) {\n \t\tif (ad->active_pkg_type == ICE_PKG_TYPE_COMMS)\n \t\t\tperm_parser = &ice_switch_perm_parser_comms;\n+\t\telse if (ad->active_pkg_type == ICE_PKG_TYPE_WIRELESS_EDGE)\n+\t\t\tperm_parser = &ice_switch_perm_parser_wireless_edge;\n \t\telse\n \t\t\tperm_parser = &ice_switch_perm_parser_os;\n \n@@ -1887,6 +1989,8 @@ ice_switch_uninit(struct ice_adapter *ad)\n \n \tif (ad->active_pkg_type == ICE_PKG_TYPE_COMMS)\n \t\tdist_parser = &ice_switch_dist_parser_comms;\n+\telse if (ad->active_pkg_type == ICE_PKG_TYPE_WIRELESS_EDGE)\n+\t\tdist_parser = &ice_switch_dist_parser_wireless_edge;\n \telse if (ad->active_pkg_type == ICE_PKG_TYPE_OS_DEFAULT)\n \t\tdist_parser = &ice_switch_dist_parser_os;\n \telse\n@@ -1895,6 +1999,8 @@ ice_switch_uninit(struct ice_adapter *ad)\n \tif (ad->devargs.pipe_mode_support) {\n \t\tif (ad->active_pkg_type == ICE_PKG_TYPE_COMMS)\n \t\t\tperm_parser = &ice_switch_perm_parser_comms;\n+\t\telse if (ad->active_pkg_type == ICE_PKG_TYPE_WIRELESS_EDGE)\n+\t\t\tperm_parser = &ice_switch_perm_parser_wireless_edge;\n \t\telse\n \t\t\tperm_parser = &ice_switch_perm_parser_os;\n \n@@ -1934,6 +2040,15 @@ ice_flow_parser ice_switch_dist_parser_comms = {\n \t.stage = ICE_FLOW_STAGE_DISTRIBUTOR,\n };\n \n+static struct\n+ice_flow_parser ice_switch_dist_parser_wireless_edge = {\n+\t.engine = &ice_switch_engine,\n+\t.array = ice_switch_pattern_dist_wireless_edge,\n+\t.array_len = RTE_DIM(ice_switch_pattern_dist_wireless_edge),\n+\t.parse_pattern_action = ice_switch_parse_pattern_action,\n+\t.stage = ICE_FLOW_STAGE_DISTRIBUTOR,\n+};\n+\n static struct\n ice_flow_parser ice_switch_perm_parser_os = {\n \t.engine = &ice_switch_engine,\n@@ -1952,6 +2067,15 @@ ice_flow_parser ice_switch_perm_parser_comms = {\n \t.stage = ICE_FLOW_STAGE_PERMISSION,\n };\n \n+static struct\n+ice_flow_parser ice_switch_perm_parser_wireless_edge = {\n+\t.engine = &ice_switch_engine,\n+\t.array = ice_switch_pattern_perm_wireless_edge,\n+\t.array_len = RTE_DIM(ice_switch_pattern_perm_wireless_edge),\n+\t.parse_pattern_action = ice_switch_parse_pattern_action,\n+\t.stage = ICE_FLOW_STAGE_PERMISSION,\n+};\n+\n RTE_INIT(ice_sw_engine_init)\n {\n \tstruct ice_flow_engine *engine = &ice_switch_engine;\n",
    "prefixes": [
        "21.02",
        "3/5"
    ]
}