@@ -47,7 +47,7 @@ struct acl_rule {
};
static struct
-ice_pattern_match_item ice_acl_pattern[] = {
+ice_pattern_match_item ice_acl_supported_pattern[] = {
{pattern_eth_ipv4, ICE_ACL_INSET_ETH_IPV4, ICE_INSET_NONE, ICE_INSET_NONE},
{pattern_eth_ipv4_udp, ICE_ACL_INSET_ETH_IPV4_UDP, ICE_INSET_NONE, ICE_INSET_NONE},
{pattern_eth_ipv4_tcp, ICE_ACL_INSET_ETH_IPV4_TCP, ICE_INSET_NONE, ICE_INSET_NONE},
@@ -1050,8 +1050,8 @@ ice_flow_engine ice_acl_engine = {
struct
ice_flow_parser ice_acl_parser = {
.engine = &ice_acl_engine,
- .array = ice_acl_pattern,
- .array_len = RTE_DIM(ice_acl_pattern),
+ .array = ice_acl_supported_pattern,
+ .array_len = RTE_DIM(ice_acl_supported_pattern),
.parse_pattern_action = ice_acl_parse,
.stage = ICE_FLOW_STAGE_DISTRIBUTOR,
};
@@ -106,7 +106,7 @@
ICE_INSET_IPV6_SRC | ICE_INSET_IPV6_DST | \
ICE_INSET_NAT_T_ESP_SPI)
-static struct ice_pattern_match_item ice_fdir_pattern_list[] = {
+static struct ice_pattern_match_item ice_fdir_supported_pattern[] = {
{pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, ICE_INSET_NONE},
{pattern_ethertype, ICE_FDIR_INSET_ETH, ICE_INSET_NONE, ICE_INSET_NONE},
{pattern_eth_ipv4, ICE_FDIR_INSET_ETH_IPV4, ICE_INSET_NONE, ICE_INSET_NONE},
@@ -2494,8 +2494,8 @@ ice_fdir_parse(struct ice_adapter *ad,
struct ice_flow_parser ice_fdir_parser = {
.engine = &ice_fdir_engine,
- .array = ice_fdir_pattern_list,
- .array_len = RTE_DIM(ice_fdir_pattern_list),
+ .array = ice_fdir_supported_pattern,
+ .array_len = RTE_DIM(ice_fdir_supported_pattern),
.parse_pattern_action = ice_fdir_parse,
.stage = ICE_FLOW_STAGE_DISTRIBUTOR,
};
@@ -202,7 +202,7 @@ struct ice_switch_filter_conf {
};
static struct
-ice_pattern_match_item ice_switch_pattern_dist_list[] = {
+ice_pattern_match_item ice_switch_supported_pattern[] = {
{pattern_any, ICE_INSET_NONE, ICE_INSET_NONE, ICE_INSET_NONE},
{pattern_ethertype, ICE_SW_INSET_ETHER, ICE_INSET_NONE, ICE_INSET_NONE},
{pattern_ethertype_vlan, ICE_SW_INSET_MAC_VLAN, ICE_INSET_NONE, ICE_INSET_NONE},
@@ -2075,8 +2075,8 @@ ice_flow_engine ice_switch_engine = {
struct
ice_flow_parser ice_switch_parser = {
.engine = &ice_switch_engine,
- .array = ice_switch_pattern_dist_list,
- .array_len = RTE_DIM(ice_switch_pattern_dist_list),
+ .array = ice_switch_supported_pattern,
+ .array_len = RTE_DIM(ice_switch_supported_pattern),
.parse_pattern_action = ice_switch_parse_pattern_action,
.stage = ICE_FLOW_STAGE_DISTRIBUTOR,
};