Home
last modified time | relevance | path

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

12

/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.c111 ro->field[RTE_ACL_IPV4VLAN_PROTO_FIELD].mask_range.u8 = ri->proto_mask; in acl_ipv4vlan_convert_rule()
612 ro->field[RTE_ACL_IPV4VLAN_PROTO_FIELD].mask_range.u8 = ri->proto_mask; in convert_rule()
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_ethdev.h79 proto_mask:1; member
117 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 …]
/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()
813 filter.ntuple.tuple_info.proto_mask == 0) in igc_flow_validate()
H A Digc_ethdev.h172 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()
/dpdk/lib/flow_classify/
H A Drte_flow_classify.h127 uint8_t proto_mask; /**< Mask of L4 protocol. */ member
H A Drte_flow_classify.c427 cls->ntuple_filter.proto_mask; in allocate_acl_ipv4_5tuple_rule()
431 rule->rules.u.ipv4_5tuple.proto_mask = cls->ntuple_filter.proto_mask; in allocate_acl_ipv4_5tuple_rule()
H A Drte_flow_classify_parse.c299 filter->proto_mask = ipv4_mask->hdr.next_proto_id; in classify_parse_ntuple_filter()
/dpdk/drivers/net/e1000/
H A De1000_ethdev.h208 proto_mask:1; /* if mask is 1b, do not compare protocol. */ member
222 proto_mask:1; /* if mask is 1b, do not compare protocol. */ member
H A Digb_ethdev.c3700 switch (filter->proto_mask) { in ntuple_filter_to_2tuple()
3702 filter_info->proto_mask = 0; in ntuple_filter_to_2tuple()
3706 filter_info->proto_mask = 1; in ntuple_filter_to_2tuple()
3760 if (filter->filter_info.proto_mask == 0) in igb_inject_2uple_filter()
4129 switch (filter->proto_mask) { in ntuple_filter_to_5tuple_82576()
4131 filter_info->proto_mask = 0; in ntuple_filter_to_5tuple_82576()
4135 filter_info->proto_mask = 1; in ntuple_filter_to_5tuple_82576()
4184 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()
/dpdk/lib/ethdev/
H A Drte_eth_ctrl.h65 uint8_t proto_mask; /**< Mask of L4 protocol. */ member
/dpdk/examples/ip_pipeline/
H A Dpipeline.h236 uint8_t proto_mask; member
H A Dthread.c2362 mh->match.acl.proto_mask; in match_convert()
2390 mh->match.acl.proto_mask; in match_convert()
2436 mh->match.acl.proto_mask; in match_convert()
2507 mh->match.acl.proto_mask; in match_convert()
/dpdk/examples/flow_classify/
H A Dflow_classify.c468 ntuple_filter->proto_mask = (uint8_t)temp; in parse_ipv4_5tuple_rule()
548 ipv4_mask.hdr.next_proto_id = ntuple_filter->proto_mask; in add_classify_rule()
/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.c2214 mh->match.acl.proto_mask; in match_convert()
2242 mh->match.acl.proto_mask; in match_convert()
2287 mh->match.acl.proto_mask; in match_convert()
2356 mh->match.acl.proto_mask; in match_convert()
H A Drte_eth_softnic_internals.h938 uint8_t proto_mask; member
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.h207 proto_mask:1; /* if mask is 1b, do not compare protocol. */ member
H A Dtxgbe_ethdev.c3857 if (filter->filter_info.proto_mask == 0) in txgbe_inject_5tuple_filter()
4024 switch (filter->proto_mask) { in ntuple_filter_to_5tuple()
4026 filter_info->proto_mask = 0; in ntuple_filter_to_5tuple()
4031 filter_info->proto_mask = 1; in ntuple_filter_to_5tuple()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.h295 proto_mask:1; /* if mask is 1b, do not compare protocol. */ member
H A Dixgbe_ethdev.c6261 if (filter->filter_info.proto_mask == 0) in ixgbe_inject_5tuple_filter()
6467 switch (filter->proto_mask) { in ntuple_filter_to_5tuple()
6469 filter_info->proto_mask = 0; in ntuple_filter_to_5tuple()
6474 filter_info->proto_mask = 1; in ntuple_filter_to_5tuple()
/dpdk/doc/guides/prog_guide/
H A Dflow_classify_lib.rst394 uint8_t proto_mask; /**< Mask of L4 protocol. */

12