get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 61455,
    "url": "http://patches.dpdk.org/api/patches/61455/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191018111602.26742-9-yahui.cao@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": "<20191018111602.26742-9-yahui.cao@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191018111602.26742-9-yahui.cao@intel.com",
    "date": "2019-10-18T11:16:01",
    "name": "[v7,8/9] net/ice: add FDIR vxlan tunnel support",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "587d7b1e759e5b02a1aaed63ba9117f519b836cc",
    "submitter": {
        "id": 1176,
        "url": "http://patches.dpdk.org/api/people/1176/?format=api",
        "name": "Cao, Yahui",
        "email": "yahui.cao@intel.com"
    },
    "delegate": {
        "id": 31221,
        "url": "http://patches.dpdk.org/api/users/31221/?format=api",
        "username": "yexl",
        "first_name": "xiaolong",
        "last_name": "ye",
        "email": "xiaolong.ye@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20191018111602.26742-9-yahui.cao@intel.com/mbox/",
    "series": [
        {
            "id": 6926,
            "url": "http://patches.dpdk.org/api/series/6926/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6926",
            "date": "2019-10-18T11:15:53",
            "name": "net/ice: add ice Flow Director driver",
            "version": 7,
            "mbox": "http://patches.dpdk.org/series/6926/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/61455/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/61455/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 A9CFA1E8B6;\n\tFri, 18 Oct 2019 05:34:05 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 579DA1E56A\n\tfor <dev@dpdk.org>; Fri, 18 Oct 2019 05:33:54 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Oct 2019 20:33:54 -0700",
            "from dpdk-yahui-skylake.sh.intel.com ([10.67.119.16])\n\tby FMSMGA003.fm.intel.com with ESMTP; 17 Oct 2019 20:33:52 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.67,310,1566889200\"; d=\"scan'208\";a=\"202577951\"",
        "From": "Yahui Cao <yahui.cao@intel.com>",
        "To": "Qiming Yang <qiming.yang@intel.com>,\n\tWenzhuo Lu <wenzhuo.lu@intel.com>",
        "Cc": "dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>,\n\tXiaolong Ye <xiaolong.ye@intel.com>,\n\tBeilei Xing <beilei.xing@intel.com>, Yahui Cao <yahui.cao@intel.com>",
        "Date": "Fri, 18 Oct 2019 19:16:01 +0800",
        "Message-Id": "<20191018111602.26742-9-yahui.cao@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20191018111602.26742-1-yahui.cao@intel.com>",
        "References": "<20191017160454.14518-1-yahui.cao@intel.com>\n\t<20191018111602.26742-1-yahui.cao@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v7 8/9] net/ice: add FDIR vxlan tunnel support",
        "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": "Enable FDIR vxlan tunnel matching for RTE_FLOW\n\nSigned-off-by: Yahui Cao <yahui.cao@intel.com>\nAcked-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/ice_ethdev.h      |   8 +++\n drivers/net/ice/ice_fdir_filter.c | 108 ++++++++++++++++++++++++++----\n 2 files changed, 104 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h\nindex ab8b452e4..d47c5dd93 100644\n--- a/drivers/net/ice/ice_ethdev.h\n+++ b/drivers/net/ice/ice_ethdev.h\n@@ -241,6 +241,11 @@ struct ice_vsi {\n \tbool offset_loaded;\n };\n \n+enum ice_fdir_tunnel_type {\n+\tICE_FDIR_TUNNEL_TYPE_NONE = 0,\n+\tICE_FDIR_TUNNEL_TYPE_VXLAN,\n+};\n+\n struct rte_flow;\n TAILQ_HEAD(ice_flow_list, rte_flow);\n \n@@ -249,6 +254,7 @@ TAILQ_HEAD(ice_parser_list, ice_flow_parser_node);\n \n struct ice_fdir_filter_conf {\n \tstruct ice_fdir_fltr input;\n+\tenum ice_fdir_tunnel_type tunnel_type;\n \n \tstruct ice_fdir_counter *counter; /* flow specific counter context */\n \tstruct rte_flow_action_count act_count;\n@@ -268,6 +274,8 @@ struct ice_fdir_fltr_pattern {\n \n \tstruct ice_fdir_extra ext_data;\n \tstruct ice_fdir_extra ext_mask;\n+\n+\tenum ice_fdir_tunnel_type tunnel_type;\n };\n \n #define ICE_FDIR_COUNTER_DEFAULT_POOL_SIZE\t1\ndiff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c\nindex 1b6101ec6..d18e9245d 100644\n--- a/drivers/net/ice/ice_fdir_filter.c\n+++ b/drivers/net/ice/ice_fdir_filter.c\n@@ -47,6 +47,21 @@\n \tICE_FDIR_INSET_ETH_IPV6 | \\\n \tICE_INSET_SCTP_SRC_PORT | ICE_INSET_SCTP_DST_PORT)\n \n+#define ICE_FDIR_INSET_VXLAN_IPV4 (\\\n+\tICE_INSET_TUN_IPV4_SRC | ICE_INSET_TUN_IPV4_DST)\n+\n+#define ICE_FDIR_INSET_VXLAN_IPV4_TCP (\\\n+\tICE_FDIR_INSET_VXLAN_IPV4 | \\\n+\tICE_INSET_TUN_TCP_SRC_PORT | ICE_INSET_TUN_TCP_DST_PORT)\n+\n+#define ICE_FDIR_INSET_VXLAN_IPV4_UDP (\\\n+\tICE_FDIR_INSET_VXLAN_IPV4 | \\\n+\tICE_INSET_TUN_UDP_SRC_PORT | ICE_INSET_TUN_UDP_DST_PORT)\n+\n+#define ICE_FDIR_INSET_VXLAN_IPV4_SCTP (\\\n+\tICE_FDIR_INSET_VXLAN_IPV4 | \\\n+\tICE_INSET_TUN_SCTP_SRC_PORT | ICE_INSET_TUN_SCTP_DST_PORT)\n+\n static struct ice_pattern_match_item ice_fdir_pattern[] = {\n \t{pattern_eth_ipv4,             ICE_FDIR_INSET_ETH_IPV4,              ICE_INSET_NONE},\n \t{pattern_eth_ipv4_udp,         ICE_FDIR_INSET_ETH_IPV4_UDP,          ICE_INSET_NONE},\n@@ -56,6 +71,22 @@ static struct ice_pattern_match_item ice_fdir_pattern[] = {\n \t{pattern_eth_ipv6_udp,         ICE_FDIR_INSET_ETH_IPV6_UDP,          ICE_INSET_NONE},\n \t{pattern_eth_ipv6_tcp,         ICE_FDIR_INSET_ETH_IPV6_TCP,          ICE_INSET_NONE},\n \t{pattern_eth_ipv6_sctp,        ICE_FDIR_INSET_ETH_IPV6_SCTP,         ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_ipv4,\n+\t\t\t\t       ICE_FDIR_INSET_VXLAN_IPV4,            ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_ipv4_udp,\n+\t\t\t\t       ICE_FDIR_INSET_VXLAN_IPV4_UDP,        ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_ipv4_tcp,\n+\t\t\t\t       ICE_FDIR_INSET_VXLAN_IPV4_TCP,        ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_ipv4_sctp,\n+\t\t\t\t       ICE_FDIR_INSET_VXLAN_IPV4_SCTP,       ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4,\n+\t\t\t\t       ICE_FDIR_INSET_VXLAN_IPV4,            ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4_udp,\n+\t\t\t\t       ICE_FDIR_INSET_VXLAN_IPV4_UDP,        ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4_tcp,\n+\t\t\t\t       ICE_FDIR_INSET_VXLAN_IPV4_TCP,        ICE_INSET_NONE},\n+\t{pattern_eth_ipv4_udp_vxlan_eth_ipv4_sctp,\n+\t\t\t\t       ICE_FDIR_INSET_VXLAN_IPV4_SCTP,       ICE_INSET_NONE},\n };\n \n static struct ice_flow_parser ice_fdir_parser;\n@@ -650,6 +681,14 @@ ice_fdir_input_set_parse(uint64_t inset, enum ice_flow_field *field)\n \t\t{ICE_INSET_UDP_DST_PORT, ICE_FLOW_FIELD_IDX_UDP_DST_PORT},\n \t\t{ICE_INSET_SCTP_SRC_PORT, ICE_FLOW_FIELD_IDX_SCTP_SRC_PORT},\n \t\t{ICE_INSET_SCTP_DST_PORT, ICE_FLOW_FIELD_IDX_SCTP_DST_PORT},\n+\t\t{ICE_INSET_TUN_IPV4_SRC, ICE_FLOW_FIELD_IDX_IPV4_SA},\n+\t\t{ICE_INSET_TUN_IPV4_DST, ICE_FLOW_FIELD_IDX_IPV4_DA},\n+\t\t{ICE_INSET_TUN_TCP_SRC_PORT, ICE_FLOW_FIELD_IDX_TCP_SRC_PORT},\n+\t\t{ICE_INSET_TUN_TCP_DST_PORT, ICE_FLOW_FIELD_IDX_TCP_DST_PORT},\n+\t\t{ICE_INSET_TUN_UDP_SRC_PORT, ICE_FLOW_FIELD_IDX_UDP_SRC_PORT},\n+\t\t{ICE_INSET_TUN_UDP_DST_PORT, ICE_FLOW_FIELD_IDX_UDP_DST_PORT},\n+\t\t{ICE_INSET_TUN_SCTP_SRC_PORT, ICE_FLOW_FIELD_IDX_SCTP_SRC_PORT},\n+\t\t{ICE_INSET_TUN_SCTP_DST_PORT, ICE_FLOW_FIELD_IDX_SCTP_DST_PORT},\n \t};\n \n \tfor (i = 0, j = 0; i < RTE_DIM(ice_inset_map); i++) {\n@@ -799,6 +838,7 @@ ice_fdir_add_del_filter(struct ice_pf *pf,\n \tstruct ice_fltr_desc desc;\n \tstruct ice_hw *hw = ICE_PF_TO_HW(pf);\n \tunsigned char *pkt = (unsigned char *)pf->fdir.prg_pkt;\n+\tbool is_tun;\n \tint ret;\n \n \tfilter->input.dest_vsi = pf->main_vsi->idx;\n@@ -806,8 +846,10 @@ ice_fdir_add_del_filter(struct ice_pf *pf,\n \tmemset(&desc, 0, sizeof(desc));\n \tice_fdir_get_prgm_desc(hw, &filter->input, &desc, add);\n \n+\tis_tun = filter->tunnel_type ? true : false;\n+\n \tmemset(pkt, 0, ICE_FDIR_PKT_LEN);\n-\tret = ice_fdir_get_prgm_pkt(&filter->input, pkt, false);\n+\tret = ice_fdir_get_gen_prgm_pkt(hw, &filter->input, pkt, false, is_tun);\n \tif (ret) {\n \t\tPMD_DRV_LOG(ERR, \"Generate dummy packet failed\");\n \t\treturn -EINVAL;\n@@ -828,6 +870,8 @@ ice_fdir_extract_fltr_key(struct ice_fdir_fltr_pattern *key,\n \trte_memcpy(&key->mask, &input->mask, sizeof(key->mask));\n \trte_memcpy(&key->ext_data, &input->ext_data, sizeof(key->ext_data));\n \trte_memcpy(&key->ext_mask, &input->ext_mask, sizeof(key->ext_mask));\n+\n+\tkey->tunnel_type = filter->tunnel_type;\n }\n \n /* Check if there exists the flow director filter */\n@@ -895,6 +939,7 @@ ice_fdir_create_filter(struct ice_adapter *ad,\n \tstruct ice_fdir_info *fdir_info = &pf->fdir;\n \tstruct ice_fdir_filter_conf *entry, *node;\n \tstruct ice_fdir_fltr_pattern key;\n+\tbool is_tun;\n \tint ret;\n \n \tice_fdir_extract_fltr_key(&key, filter);\n@@ -914,8 +959,10 @@ ice_fdir_create_filter(struct ice_adapter *ad,\n \t\treturn -rte_errno;\n \t}\n \n+\tis_tun = filter->tunnel_type ? true : false;\n+\n \tret = ice_fdir_input_set_conf(pf, filter->input.flow_type,\n-\t\t\tfilter->input_set, false);\n+\t\t\tfilter->input_set, is_tun);\n \tif (ret) {\n \t\trte_flow_error_set(error, -ret,\n \t\t\t\t   RTE_FLOW_ERROR_TYPE_HANDLE, NULL,\n@@ -957,7 +1004,7 @@ ice_fdir_create_filter(struct ice_adapter *ad,\n \t}\n \n \tflow->rule = entry;\n-\tice_fdir_cnt_update(pf, filter->input.flow_type, false, true);\n+\tice_fdir_cnt_update(pf, filter->input.flow_type, is_tun, true);\n \n \treturn 0;\n \n@@ -981,10 +1028,13 @@ ice_fdir_destroy_filter(struct ice_adapter *ad,\n \tstruct ice_fdir_info *fdir_info = &pf->fdir;\n \tstruct ice_fdir_filter_conf *filter, *entry;\n \tstruct ice_fdir_fltr_pattern key;\n+\tbool is_tun;\n \tint ret;\n \n \tfilter = (struct ice_fdir_filter_conf *)flow->rule;\n \n+\tis_tun = filter->tunnel_type ? true : false;\n+\n \tif (filter->counter) {\n \t\tice_fdir_counter_free(pf, filter->counter);\n \t\tfilter->counter = NULL;\n@@ -1015,7 +1065,7 @@ ice_fdir_destroy_filter(struct ice_adapter *ad,\n \t\treturn -rte_errno;\n \t}\n \n-\tice_fdir_cnt_update(pf, filter->input.flow_type, false, false);\n+\tice_fdir_cnt_update(pf, filter->input.flow_type, is_tun, false);\n \tflow->rule = NULL;\n \n \trte_free(filter);\n@@ -1243,12 +1293,14 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,\n \tconst struct rte_flow_item *item = pattern;\n \tenum rte_flow_item_type item_type;\n \tenum rte_flow_item_type l3 = RTE_FLOW_ITEM_TYPE_END;\n+\tenum ice_fdir_tunnel_type tunnel_type = ICE_FDIR_TUNNEL_TYPE_NONE;\n \tconst struct rte_flow_item_eth *eth_spec, *eth_mask;\n \tconst struct rte_flow_item_ipv4 *ipv4_spec, *ipv4_mask;\n \tconst struct rte_flow_item_ipv6 *ipv6_spec, *ipv6_mask;\n \tconst struct rte_flow_item_tcp *tcp_spec, *tcp_mask;\n \tconst struct rte_flow_item_udp *udp_spec, *udp_mask;\n \tconst struct rte_flow_item_sctp *sctp_spec, *sctp_mask;\n+\tconst struct rte_flow_item_vxlan *vxlan_spec, *vxlan_mask;\n \tuint64_t input_set = ICE_INSET_NONE;\n \tuint8_t flow_type = ICE_FLTR_PTYPE_NONF_NONE;\n \tuint8_t  ipv6_addr_mask[16] = {\n@@ -1316,9 +1368,13 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,\n \t\t\t\t\treturn -rte_errno;\n \t\t\t\t}\n \t\t\t\tif (ipv4_mask->hdr.src_addr == UINT32_MAX)\n-\t\t\t\t\tinput_set |= ICE_INSET_IPV4_SRC;\n+\t\t\t\t\tinput_set |= tunnel_type ?\n+\t\t\t\t\t\t     ICE_INSET_TUN_IPV4_SRC :\n+\t\t\t\t\t\t     ICE_INSET_IPV4_SRC;\n \t\t\t\tif (ipv4_mask->hdr.dst_addr == UINT32_MAX)\n-\t\t\t\t\tinput_set |= ICE_INSET_IPV4_DST;\n+\t\t\t\t\tinput_set |= tunnel_type ?\n+\t\t\t\t\t\t     ICE_INSET_TUN_IPV4_DST :\n+\t\t\t\t\t\t     ICE_INSET_IPV4_DST;\n \t\t\t\tif (ipv4_mask->hdr.type_of_service == UINT8_MAX)\n \t\t\t\t\tinput_set |= ICE_INSET_IPV4_TOS;\n \t\t\t\tif (ipv4_mask->hdr.time_to_live == UINT8_MAX)\n@@ -1412,9 +1468,13 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,\n \t\t\t\t}\n \n \t\t\t\tif (tcp_mask->hdr.src_port == UINT16_MAX)\n-\t\t\t\t\tinput_set |= ICE_INSET_TCP_SRC_PORT;\n+\t\t\t\t\tinput_set |= tunnel_type ?\n+\t\t\t\t\t\t     ICE_INSET_TUN_TCP_SRC_PORT :\n+\t\t\t\t\t\t     ICE_INSET_TCP_SRC_PORT;\n \t\t\t\tif (tcp_mask->hdr.dst_port == UINT16_MAX)\n-\t\t\t\t\tinput_set |= ICE_INSET_TCP_DST_PORT;\n+\t\t\t\t\tinput_set |= tunnel_type ?\n+\t\t\t\t\t\t     ICE_INSET_TUN_TCP_DST_PORT :\n+\t\t\t\t\t\t     ICE_INSET_TCP_DST_PORT;\n \n \t\t\t\t/* Get filter info */\n \t\t\t\tif (l3 == RTE_FLOW_ITEM_TYPE_IPV4) {\n@@ -1450,9 +1510,13 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,\n \t\t\t\t}\n \n \t\t\t\tif (udp_mask->hdr.src_port == UINT16_MAX)\n-\t\t\t\t\tinput_set |= ICE_INSET_UDP_SRC_PORT;\n+\t\t\t\t\tinput_set |= tunnel_type ?\n+\t\t\t\t\t\t     ICE_INSET_TUN_UDP_SRC_PORT :\n+\t\t\t\t\t\t     ICE_INSET_UDP_SRC_PORT;\n \t\t\t\tif (udp_mask->hdr.dst_port == UINT16_MAX)\n-\t\t\t\t\tinput_set |= ICE_INSET_UDP_DST_PORT;\n+\t\t\t\t\tinput_set |= tunnel_type ?\n+\t\t\t\t\t\t     ICE_INSET_TUN_UDP_DST_PORT :\n+\t\t\t\t\t\t     ICE_INSET_UDP_DST_PORT;\n \n \t\t\t\t/* Get filter info */\n \t\t\t\tif (l3 == RTE_FLOW_ITEM_TYPE_IPV4) {\n@@ -1487,9 +1551,13 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,\n \t\t\t\t}\n \n \t\t\t\tif (sctp_mask->hdr.src_port == UINT16_MAX)\n-\t\t\t\t\tinput_set |= ICE_INSET_SCTP_SRC_PORT;\n+\t\t\t\t\tinput_set |= tunnel_type ?\n+\t\t\t\t\t\t     ICE_INSET_TUN_SCTP_SRC_PORT :\n+\t\t\t\t\t\t     ICE_INSET_SCTP_SRC_PORT;\n \t\t\t\tif (sctp_mask->hdr.dst_port == UINT16_MAX)\n-\t\t\t\t\tinput_set |= ICE_INSET_SCTP_DST_PORT;\n+\t\t\t\t\tinput_set |= tunnel_type ?\n+\t\t\t\t\t\t     ICE_INSET_TUN_SCTP_DST_PORT :\n+\t\t\t\t\t\t     ICE_INSET_SCTP_DST_PORT;\n \n \t\t\t\t/* Get filter info */\n \t\t\t\tif (l3 == RTE_FLOW_ITEM_TYPE_IPV4) {\n@@ -1511,6 +1579,21 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,\n \t\t\tbreak;\n \t\tcase RTE_FLOW_ITEM_TYPE_VOID:\n \t\t\tbreak;\n+\t\tcase RTE_FLOW_ITEM_TYPE_VXLAN:\n+\t\t\tl3 = RTE_FLOW_ITEM_TYPE_END;\n+\t\t\tvxlan_spec = item->spec;\n+\t\t\tvxlan_mask = item->mask;\n+\n+\t\t\tif (vxlan_spec || vxlan_mask) {\n+\t\t\t\trte_flow_error_set(error, EINVAL,\n+\t\t\t\t\t\t   RTE_FLOW_ERROR_TYPE_ITEM,\n+\t\t\t\t\t\t   item,\n+\t\t\t\t\t\t   \"Invalid vxlan field\");\n+\t\t\t\treturn -rte_errno;\n+\t\t\t}\n+\n+\t\t\ttunnel_type = ICE_FDIR_TUNNEL_TYPE_VXLAN;\n+\t\t\tbreak;\n \t\tdefault:\n \t\t\trte_flow_error_set(error, EINVAL,\n \t\t\t\t   RTE_FLOW_ERROR_TYPE_ITEM,\n@@ -1520,6 +1603,7 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,\n \t\t}\n \t}\n \n+\tfilter->tunnel_type = tunnel_type;\n \tfilter->input.flow_type = flow_type;\n \tfilter->input_set = input_set;\n \n",
    "prefixes": [
        "v7",
        "8/9"
    ]
}