Home
last modified time | relevance | path

Searched refs:tuple (Results 1 – 25 of 62) sorted by relevance

123

/f-stack/freebsd/arm64/cavium/
H A Dthunder_pcie_common.c75 int tuple; in range_addr_is_pci() local
77 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_is_pci()
78 r = &ranges[tuple]; in range_addr_is_pci()
95 int tuple; in range_addr_is_phys() local
97 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_is_phys()
98 r = &ranges[tuple]; in range_addr_is_phys()
116 int tuple; in range_addr_phys_to_pci() local
119 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in range_addr_phys_to_pci()
120 r = &ranges[tuple]; in range_addr_phys_to_pci()
138 int tuple; in range_addr_pci_to_phys() local
[all …]
H A Dthunder_pcie_pem.c755 int tuple; in thunder_pem_attach() local
854 for (tuple = 0; tuple < MAX_RANGES_TUPLES; tuple++) { in thunder_pem_attach()
855 base = sc->ranges[tuple].pci_base; in thunder_pem_attach()
856 size = sc->ranges[tuple].size; in thunder_pem_attach()
860 rman = thunder_pem_rman(sc, sc->ranges[tuple].flags); in thunder_pem_attach()
875 sc->ranges[tuple].pci_base, in thunder_pem_attach()
876 sc->ranges[tuple].phys_base, in thunder_pem_attach()
877 sc->ranges[tuple].size, in thunder_pem_attach()
878 sc->ranges[tuple].flags); in thunder_pem_attach()
/f-stack/dpdk/app/test/
H A Dtest_thash.c81 union rte_thash_tuple tuple; in test_thash() local
92 tuple.v4.src_addr = v4_tbl[i].src_ip; in test_thash()
93 tuple.v4.dst_addr = v4_tbl[i].dst_ip; in test_thash()
94 tuple.v4.sport = v4_tbl[i].src_port; in test_thash()
95 tuple.v4.dport = v4_tbl[i].dst_port; in test_thash()
97 rss_l3 = rte_softrss((uint32_t *)&tuple, in test_thash()
99 rss_l3l4 = rte_softrss((uint32_t *)&tuple, in test_thash()
121 tuple.v6.sport = v6_tbl[i].src_port; in test_thash()
122 tuple.v6.dport = v6_tbl[i].dst_port; in test_thash()
124 rss_l3 = rte_softrss((uint32_t *)&tuple, in test_thash()
[all …]
H A Dtest_ipsec_sad.c151 status = rte_ipsec_sad_add(NULL, tuple, in __test_add_invalid()
173 status = rte_ipsec_sad_add(sad, tuple, in __test_add_invalid()
179 status = rte_ipsec_sad_add(sad, tuple, in __test_add_invalid()
185 status = rte_ipsec_sad_add(sad, tuple, in __test_add_invalid()
373 key_arr[0] = tuple; in __test_lookup_basic()
448 status = rte_ipsec_sad_add(sad, tuple, in __test_lookup_adv()
468 status = rte_ipsec_sad_add(sad, tuple, in __test_lookup_adv()
488 status = rte_ipsec_sad_add(sad, tuple, in __test_lookup_adv()
508 status = rte_ipsec_sad_add(sad, tuple, in __test_lookup_adv()
512 status = rte_ipsec_sad_add(sad, tuple, in __test_lookup_adv()
[all …]
H A Dautotest_runner.py90 result = tuple((-1,
98 result = tuple((0,
105 result = tuple((-1,
291 self.skipped.append(tuple(result))
301 group_queue.put(tuple((cmdline, prefix)))
/f-stack/dpdk/app/test-sad/
H A Dmain.c87 union rte_ipsec_sad_key tuple; member
192 &tbl[j].tuple.v6.dip); in parse_file()
195 &tbl[j].tuple.v4.dip); in parse_file()
200 &tbl[j].tuple.v6.sip); in parse_file()
203 &tbl[j].tuple.v4.sip); in parse_file()
271 tbl[i].tuple.v4.spi = in get_random_rules()
276 tbl[i].tuple.v6.dip[j] = in get_random_rules()
499 v4 = &rule->tuple.v4; in print_result()
500 v6 = &rule->tuple.v6; in print_result()
565 &rules_tbl[i].tuple, in add_rules()
[all …]
/f-stack/freebsd/netpfil/ipfw/
H A Ddn_sched_fq_codel.c221 uint8_t tuple[41]; in fq_codel_classify_flow() local
232 *((uint8_t *) &tuple[0]) = ip6->ip6_nxt; in fq_codel_classify_flow()
240 *((uint16_t *) &tuple[37]) = th->th_dport; in fq_codel_classify_flow()
241 *((uint16_t *) &tuple[39]) = th->th_sport; in fq_codel_classify_flow()
246 *((uint16_t *) &tuple[37]) = uh->uh_dport; in fq_codel_classify_flow()
247 *((uint16_t *) &tuple[39]) = uh->uh_sport; in fq_codel_classify_flow()
250 memset(&tuple[37], 0, 4); in fq_codel_classify_flow()
259 *((uint8_t *) &tuple[0]) = ip->ip_p; in fq_codel_classify_flow()
267 *((uint16_t *) &tuple[13]) = th->th_dport; in fq_codel_classify_flow()
268 *((uint16_t *) &tuple[15]) = th->th_sport; in fq_codel_classify_flow()
[all …]
H A Ddn_sched_fq_pie.c790 uint8_t tuple[41]; in fq_pie_classify_flow() local
801 *((uint8_t *) &tuple[0]) = ip6->ip6_nxt; in fq_pie_classify_flow()
809 *((uint16_t *) &tuple[37]) = th->th_dport; in fq_pie_classify_flow()
810 *((uint16_t *) &tuple[39]) = th->th_sport; in fq_pie_classify_flow()
815 *((uint16_t *) &tuple[37]) = uh->uh_dport; in fq_pie_classify_flow()
816 *((uint16_t *) &tuple[39]) = uh->uh_sport; in fq_pie_classify_flow()
819 memset(&tuple[37], 0, 4); in fq_pie_classify_flow()
828 *((uint8_t *) &tuple[0]) = ip->ip_p; in fq_pie_classify_flow()
836 *((uint16_t *) &tuple[13]) = th->th_dport; in fq_pie_classify_flow()
837 *((uint16_t *) &tuple[15]) = th->th_sport; in fq_pie_classify_flow()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/phy/
H A Dapm-xgene-phy.txt19 Two set of 3-tuple setting for each (up to 3)
25 Two set of 3-tuple setting for each (up to 3)
28 gain control. Two set of 3-tuple setting for each
31 - apm,tx-amplitude : Amplitude control. Two set of 3-tuple setting for
36 3-tuple setting for each (up to 3) supported link
40 3-tuple setting for each (up to 3) supported link
44 3-tuple setting for Gen1, Gen2, and Gen3. Range is
46 - apm,tx-speed : Tx operating speed. One set of 3-tuple for each
49 1 = 2-4Gbps (1st tuple default)
51 3 = 8-15Gbps (2nd tuple default)
[all …]
/f-stack/dpdk/drivers/net/qede/
H A Dqede_filter.c351 switch (arfs->tuple.eth_proto) { in qede_arfs_construct_pkt()
358 ip->dst_addr = arfs->tuple.dst_ipv4; in qede_arfs_construct_pkt()
359 ip->src_addr = arfs->tuple.src_ipv4; in qede_arfs_construct_pkt()
387 ip6->proto = arfs->tuple.ip_proto; in qede_arfs_construct_pkt()
417 arfs->tuple.eth_proto); in qede_arfs_construct_pkt()
812 flow->entry.tuple.eth_proto = in qede_flow_parse_pattern()
830 flow->entry.tuple.eth_proto = in qede_flow_parse_pattern()
842 flow->entry.tuple.src_port = in qede_flow_parse_pattern()
844 flow->entry.tuple.dst_port = in qede_flow_parse_pattern()
857 flow->entry.tuple.src_port = in qede_flow_parse_pattern()
[all …]
/f-stack/dpdk/drivers/net/igc/
H A Digc_filter.h25 const struct igc_ntuple_filter *tuple);
27 const struct igc_ntuple_filter *tuple);
/f-stack/dpdk/doc/guides/prog_guide/
H A Dflow_classify_lib.rst10 The initial implementation supports counting of IPv4 5-tuple packets which match
271 another table could be added for the IPv6 5-tuple rule.
276 The library currently supports three IPv4 5-tuple flow patterns, for UDP, TCP
281 /* Pattern for IPv4 5-tuple UDP filter */
289 /* Pattern for IPv4 5-tuple TCP filter */
297 /* Pattern for IPv4 5-tuple SCTP filter */
306 IPv4 5-tuple pattern, attributes and actions and returns the 5-tuple data in the
326 The 5-tuple ACL key data is obtained from the ``rte_eth_ntuple_filter``
383 /** IPv4 5-tuple data */
411 /** count of packets that match IPv4 5tuple pattern */
[all …]
H A Dpacket_classif_access_ctrl.rst10 The ACL library is used to perform an N-tuple search over a set of rules with multiple categories
78 For example, to define classification for the following IPv4 5-tuple structure:
143 A typical example of such an IPv4 5-tuple rule is a follows:
212 A typical example of such an IPv6 2-tuple rule is a follows:
280 A typical example of such an IPv4 4-tuple rule is as follows:
294 Note that if the input tuple matches more than one rule and these rules have equal priority,
312 …When the search is performed for an input tuple, all fields in that tuple must be in network byte …
409 The following example demonstrates IPv4, 5-tuple classification for rules defined above
513 For a tuple with source IP address: 10.1.1.1 and destination IP address: 192.168.1.15,
537 For a tuple with source IP address: 192.168.1.1 and destination IP address: 192.168.2.11,
[all …]
H A Dipsec_lib.rst202 The key type reflects a set of tuple fields that will be used for lookup of the SA.
250 Library provides lookup by the given {SPI,DIP,SIP} tuple of
262 where v4 is a tuple for IPv4:
272 and v6 is a tuple for IPv6:
/f-stack/freebsd/contrib/device-tree/Bindings/c6x/
H A Ddscr.txt46 a lock register. Each tuple consists of the register offset, lock register
57 is contained in a single byte. This property has two tuples. Each tuple has
65 Each tuple describes a range of identical bitfields used to control one or
66 more devices (one bitfield per device). The layout of each tuple is:
81 for device states controlled by the DSCR. Each tuple describes a range of
83 bitfield per device). The layout of each tuple is:
/f-stack/freebsd/contrib/device-tree/Bindings/leds/
H A Dleds-trigger-pattern.txt9 the tuple with duration less than dimming interval (50ms) is treated as a step
32 use zero-time lengths (the brightness must be same as the previous tuple's). So
/f-stack/freebsd/contrib/device-tree/Bindings/gpio/
H A Dgpio-vf610.txt11 - reg : The first reg tuple represents the PORT module, the second tuple
/f-stack/freebsd/contrib/device-tree/Bindings/interrupt-controller/
H A Dqcom,pdc.txt35 The first element of the tuple is the PDC pin for the
50 The first element of the tuple is the starting PDC port.
/f-stack/freebsd/contrib/device-tree/Bindings/memory-controllers/
H A Dti-da8xx-ddrctl.txt12 - reg: a tuple containing the base address of the memory
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.set_props.zcp76 set_fail[prop] = err -- tuple of prop, val that resulted in error
105 set_fail[prop] = err -- tuple of prop, val that resulted in error
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_fdir.c478 static void hns3_fd_convert_int16(uint32_t tuple, struct hns3_fdir_rule *rule, in hns3_fd_convert_int16() argument
486 switch (tuple) { in hns3_fd_convert_int16()
542 uint32_t tuple, uint8_t *key_x, in hns3_fd_convert_tuple() argument
549 if ((rule->input_set & BIT(tuple)) == 0) in hns3_fd_convert_tuple()
553 switch (tuple) { in hns3_fd_convert_tuple()
570 hns3_fd_convert_int16(tuple, rule, key_x, key_y); in hns3_fd_convert_tuple()
620 hns3_warn(hw, "not support tuple of (%u)", tuple); in hns3_fd_convert_tuple()
H A Dhns3_rss.c343 struct hns3_rss_tuple_cfg *tuple, uint64_t rss_hf) in hns3_set_rss_tuple_by_rss_hf() argument
388 tuple->rss_tuple_fields = rte_le_to_cpu_64(req->tuple_field); in hns3_set_rss_tuple_by_rss_hf()
408 struct hns3_rss_tuple_cfg *tuple = &hw->rss_info.rss_tuple_sets; in hns3_dev_rss_hash_update() local
419 ret = hns3_set_rss_tuple_by_rss_hf(hw, tuple, rss_hf); in hns3_dev_rss_hash_update()
H A Dhns3_rss.h112 struct hns3_rss_tuple_cfg *tuple,
/f-stack/freebsd/contrib/device-tree/Bindings/spi/
H A Dspi_atmel.txt9 - clock-names: tuple listing input clock names.
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dl3_forward_access_ctrl.rst41 The application implements packet classification for the IPv4/IPv6 5-tuple syntax specifically.
42 The 5-tuple syntax consist of a source IP address, a destination IP address,
44 The fields in the 5-tuple syntax have the following formats:
78 * 5-tuple field: This field has a format described in Section.
214 …* Lookup: Checks that the packet type is supported (IPv4/IPv6) and performs a 5-tuple lookup ove…
327 For each supported AC rule format (IPv4 5-tuple, IPv6 6-tuple) application creates a separate conte…

123