Home
last modified time | relevance | path

Searched refs:proto_mask (Results 1 – 25 of 26) sorted by relevance

12

/f-stack/dpdk/app/test/
H A Dtest_acl.h27 uint8_t proto_mask; /**< IPv4 protocol ID mask. */ member
112 .proto_mask = 0xf
362 .proto_mask = 0x7f,
373 .proto_mask = 0x5,
384 .proto_mask = 0xff,
401 .proto_mask = 0xff,
419 .proto_mask = 0xff,
437 .proto_mask = 0xff,
453 .proto_mask = 0xff,
H A Dtest_acl.c101 ro->field[RTE_ACL_IPV4VLAN_PROTO_FIELD].mask_range.u8 = ri->proto_mask; in acl_ipv4vlan_convert_rule()
602 ro->field[RTE_ACL_IPV4VLAN_PROTO_FIELD].mask_range.u8 = ri->proto_mask; in convert_rule()
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_ethdev.h63 proto_mask:1; member
101 uint16_t proto_mask; member
H A Dhinic_pmd_flow.c1071 rule->mask.proto_mask = UINT16_MAX; in hinic_tcam_normal_item_check_l4()
1075 rule->mask.proto_mask = UINT16_MAX; in hinic_tcam_normal_item_check_l4()
1108 rule->mask.proto_mask = UINT16_MAX; in hinic_tcam_normal_item_check_l4()
1142 rule->mask.proto_mask = UINT16_MAX; in hinic_tcam_normal_item_check_l4()
1303 rule->mask.proto_mask = UINT16_MAX; in hinic_tunnel_inner_item_check_l4()
1343 rule->mask.proto_mask = UINT16_MAX; in hinic_tunnel_inner_item_check_l4()
1737 switch (filter->proto_mask) { in ntuple_proto_filter()
1739 hinic_filter_info->proto_mask = 0; in ntuple_proto_filter()
1743 hinic_filter_info->proto_mask = 1; in ntuple_proto_filter()
2576 switch (rule->mask.proto_mask) { in hinic_fdir_tcam_ipv4_init()
[all …]
/f-stack/dpdk/lib/librte_flow_classify/
H A Drte_flow_classify.h131 uint8_t proto_mask; /**< Mask of L4 protocol. */ member
H A Drte_flow_classify.c430 cls->ntuple_filter.proto_mask; in allocate_acl_ipv4_5tuple_rule()
434 rule->rules.u.ipv4_5tuple.proto_mask = cls->ntuple_filter.proto_mask; in allocate_acl_ipv4_5tuple_rule()
H A Drte_flow_classify_parse.c300 filter->proto_mask = ipv4_mask->hdr.next_proto_id; in classify_parse_ntuple_filter()
/f-stack/dpdk/drivers/net/igc/
H A Digc_flow.c399 filter->ntuple.tuple_info.proto_mask = 1; in igc_parse_pattern_ip()
453 filter->ntuple.tuple_info.proto_mask = 1; in igc_parse_pattern_ipv6()
741 filter.ntuple.tuple_info.proto_mask == 0) { in igc_flow_create()
816 filter.ntuple.tuple_info.proto_mask == 0) in igc_flow_validate()
H A Digc_ethdev.h164 proto_mask:1; /* if mask is 1b, do compare protocol. */ member
H A Digc_filter.c215 if (info->proto_mask) in igc_enable_tuple_filter()
/f-stack/dpdk/drivers/net/e1000/
H A De1000_ethdev.h207 proto_mask:1; /* if mask is 1b, do not compare protocol. */ member
221 proto_mask:1; /* if mask is 1b, do not compare protocol. */ member
H A Digb_ethdev.c3688 switch (filter->proto_mask) { in ntuple_filter_to_2tuple()
3690 filter_info->proto_mask = 0; in ntuple_filter_to_2tuple()
3694 filter_info->proto_mask = 1; in ntuple_filter_to_2tuple()
3748 if (filter->filter_info.proto_mask == 0) in igb_inject_2uple_filter()
4117 switch (filter->proto_mask) { in ntuple_filter_to_5tuple_82576()
4119 filter_info->proto_mask = 0; in ntuple_filter_to_5tuple_82576()
4123 filter_info->proto_mask = 1; in ntuple_filter_to_5tuple_82576()
4172 if (filter->filter_info.proto_mask == 0) in igb_inject_5tuple_filter_82576()
H A Digb_flow.c206 filter->proto_mask = ipv4_mask->hdr.next_proto_id; in cons_parse_ntuple_filter()
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_eth_ctrl.h64 uint8_t proto_mask; /**< Mask of L4 protocol. */ member
/f-stack/dpdk/examples/ip_pipeline/
H A Dpipeline.h236 uint8_t proto_mask; member
H A Dthread.c2364 mh->match.acl.proto_mask; in match_convert()
2392 mh->match.acl.proto_mask; in match_convert()
2438 mh->match.acl.proto_mask; in match_convert()
2509 mh->match.acl.proto_mask; in match_convert()
/f-stack/dpdk/examples/flow_classify/
H A Dflow_classify.c462 ntuple_filter->proto_mask = (uint8_t)temp; in parse_ipv4_5tuple_rule()
542 ipv4_mask.hdr.next_proto_id = ntuple_filter->proto_mask; in add_classify_rule()
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_flow.c498 uint64_t proto_mask, in flow_item_skip_disabled_protos() argument
521 if ((proto_mask & (1LLU << (*item)->type)) || in flow_item_skip_disabled_protos()
709 rule_match->match.acl.proto_mask = ip_proto_mask; in flow_rule_match_acl_get()
746 rule_match->match.acl.proto_mask = ip_proto_mask; in flow_rule_match_acl_get()
H A Drte_eth_softnic_thread.c2218 mh->match.acl.proto_mask; in match_convert()
2246 mh->match.acl.proto_mask; in match_convert()
2291 mh->match.acl.proto_mask; in match_convert()
2360 mh->match.acl.proto_mask; in match_convert()
H A Drte_eth_softnic_internals.h925 uint8_t proto_mask; member
H A Drte_eth_softnic_cli.c3502 m->match.acl.proto_mask = 0xff; in parse_match()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.h300 proto_mask:1; /* if mask is 1b, do not compare protocol. */ member
H A Dixgbe_ethdev.c6434 if (filter->filter_info.proto_mask == 0) in ixgbe_inject_5tuple_filter()
6642 switch (filter->proto_mask) { in ntuple_filter_to_5tuple()
6644 filter_info->proto_mask = 0; in ntuple_filter_to_5tuple()
6649 filter_info->proto_mask = 1; in ntuple_filter_to_5tuple()
H A Dixgbe_flow.c380 filter->proto_mask = ipv4_mask->hdr.next_proto_id; in cons_parse_ntuple_filter()
/f-stack/dpdk/doc/guides/prog_guide/
H A Dflow_classify_lib.rst394 uint8_t proto_mask; /**< Mask of L4 protocol. */

12