Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 88) sorted by relevance

1234

/dpdk/app/test/
H A Dtest_eal_flags.c326 const char * prefix = ""; in test_allow_flag() local
333 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in test_allow_flag()
399 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in test_invalid_b_flag()
503 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in test_invalid_r_flag()
547 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in test_missing_c_flag()
706 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in test_main_lcore_flag()
763 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in test_invalid_n_flag()
816 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in test_no_hpet_flag()
910 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in test_misc_flags()
1167 if (get_current_prefix(prefix, sizeof(prefix)) == NULL) { in test_file_prefix()
[all …]
H A Dtest_mp_secondary.c73 char prefix[PATH_MAX] = {0}; in run_secondary_instances() local
77 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in run_secondary_instances()
79 const char *prefix = ""; in run_secondary_instances() local
85 prefix in run_secondary_instances()
90 prefix in run_secondary_instances()
95 prefix in run_secondary_instances()
H A Dtest_pdump.c180 char prefix[PATH_MAX] = { 0 }; in run_pdump_server_tests() local
183 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in run_pdump_server_tests()
185 const char *prefix = ""; in run_pdump_server_tests() local
191 prefix in run_pdump_server_tests()
H A Dtest_timer_secondary.c56 char prefix[PATH_MAX] = {0}; in timer_secondary_spawn_wait() local
60 snprintf(prefix, sizeof(prefix), "--file-prefix=%s", tmp); in timer_secondary_spawn_wait()
62 const char *prefix = ""; in timer_secondary_spawn_wait() local
68 prefix in timer_secondary_spawn_wait()
H A Dprocess.h166 get_current_prefix(char *prefix, int size) in get_current_prefix() argument
179 snprintf(prefix, size, "%s", basename(dirname(buf))); in get_current_prefix()
181 return prefix; in get_current_prefix()
/dpdk/lib/cmdline/
H A Dcmdline_parse_ipaddr.c35 char *prefix, *prefix_end; in cmdline_parse_ipaddr() local
57 prefix = strrchr(ip_str, '/'); in cmdline_parse_ipaddr()
58 if (prefix == NULL) in cmdline_parse_ipaddr()
60 *prefix = '\0'; in cmdline_parse_ipaddr()
61 prefix ++; in cmdline_parse_ipaddr()
63 prefixlen = strtol(prefix, &prefix_end, 10); in cmdline_parse_ipaddr()
/dpdk/drivers/net/ice/base/
H A Dice_common.c24 const char *prefix) in dump_phy_type() argument
328 const char *prefix; in ice_aq_get_phy_caps() local
352 prefix = "phy_caps_media"; in ice_aq_get_phy_caps()
356 prefix = "phy_caps_active"; in ice_aq_get_phy_caps()
358 prefix = "phy_caps_default"; in ice_aq_get_phy_caps()
366 prefix, report_mode); in ice_aq_get_phy_caps()
2351 prefix, index, in ice_parse_common_caps()
2355 prefix, index, in ice_parse_common_caps()
2359 prefix, index, in ice_parse_common_caps()
2363 prefix, index, in ice_parse_common_caps()
[all …]
H A Dice_controlq.c7 #define ICE_CQ_INIT_REGS(qinfo, prefix) \ argument
9 (qinfo)->sq.head = prefix##_ATQH; \
10 (qinfo)->sq.tail = prefix##_ATQT; \
11 (qinfo)->sq.len = prefix##_ATQLEN; \
12 (qinfo)->sq.bah = prefix##_ATQBAH; \
13 (qinfo)->sq.bal = prefix##_ATQBAL; \
18 (qinfo)->rq.head = prefix##_ARQH; \
19 (qinfo)->rq.tail = prefix##_ARQT; \
20 (qinfo)->rq.len = prefix##_ARQLEN; \
21 (qinfo)->rq.bah = prefix##_ARQBAH; \
[all …]
H A Dice_bst_tcam.c265 static bool _start_with(const char *prefix, const char *string) in _start_with() argument
267 int len1 = strlen(prefix); in _start_with()
273 return !memcmp(prefix, string, len1); in _start_with()
279 const char *prefix, u16 *start) in ice_bst_tcam_search() argument
284 if (_start_with(prefix, lbl_table[i].label)) { in ice_bst_tcam_search()
H A Dice_parser.c342 static void _bst_vm_set(struct ice_parser *psr, const char *prefix, bool on) in _bst_vm_set() argument
350 prefix, &i); in _bst_vm_set()
370 _tunnel_port_set(struct ice_parser *psr, const char *prefix, u16 udp_port, in _tunnel_port_set() argument
380 prefix, &i); in _tunnel_port_set()
/dpdk/buildtools/
H A Dpmdinfogen.py69 def find_by_prefix(self, prefix): argument
70 prefix = prefix.encode("utf-8") if self._legacy_elftools else prefix
73 if symbol.name.startswith(prefix):
100 def find_by_prefix(self, prefix): argument
102 if symbol.name.startswith(prefix):
/dpdk/doc/guides/prog_guide/
H A Drib_lib.rst18 Routing information is represented by a prefix (key) and a next hop ID (value).
19 The prefix type depends on the address family. IPv4 addresses are represented by
65 * ``rte_rib_lookup_parent()``: Find a parent prefix within the structure.
78 This returns an ``rte_rib_node`` pointing to the ``10.0.0.0/29`` prefix.
86 This returns an ``rte_rib_node`` pointing to the ``10.0.0.128/25`` prefix.
94 * To retrieve a group of routes under the common prefix ``10.0.0.0/24``
112 By default, an ``rte_rib_node`` node contains only crucial information such as the prefix and
118 It is possible to implement a prefix independent convergence using the RIB extension feature.
129 RIB prefix independent convergence
H A Dlpm_lib.rst16 An LPM prefix is represented by a pair of parameters (32- bit key, depth), with depth in the range …
17 An LPM rule is represented by an LPM prefix and some user data associated with the prefix.
18 The prefix serves as the unique identifier of the LPM rule.
25 …If there is no rule with the same prefix present in the table, then the new rule is added to the L…
26 …If a rule with the same prefix is already present in the table, the next hop of the rule is update…
29 * Delete LPM rule: The prefix of the LPM rule is provided as input.
30 If a rule with the specified prefix is present in the LPM table, then it is removed.
85 or the next hop itself if the longest prefix match has already been found.
123 (meaning the lookup process ends at this point, since this is the longest prefix that matches).
134 If the rule's depth is any other value, prefix expansion must be performed.
[all …]
H A Dfib_lib.rst32 A FIB rule consists of a prefix and an associated next hop ID. The prefix consists
33 of an IPv4 network address (``uint32_t``) and the corresponding prefix length.
34 The prefix serves as the key and the next hop ID as the value while doing an LPM
41 table or update the next hop ID if the prefix already exists in a table.
140 corresponding to a given prefix without having to perform an additional lookup.
H A Dlpm6_lib.rst26 An LPM prefix is represented by a pair of parameters (128-bit key, depth), with depth in the range …
27 An LPM rule is represented by an LPM prefix and some user data associated with the prefix.
28 The prefix serves as the unique identifier for the LPM rule.
35 …If there is no rule with the same prefix present in the table, then the new rule is added to the L…
36 …If a rule with the same prefix is already present in the table, the next hop of the rule is update…
39 * Delete LPM rule: The prefix of the LPM rule is provided as input.
40 If a rule with the specified prefix is present in the LPM table, then it is removed.
103 or the next hop itself if the longest prefix match has already been found.
130 since this is the longest prefix that matches).
147 If the rule's depth is any other value, prefix expansion must be performed.
/dpdk/doc/guides/howto/
H A Dtelemetry.rst100 * For DPDK processes run using a non-default file-prefix,
101 i.e. using the `--file-prefix` EAL option flag,
102 the file-prefix for the process should be passed via the `-f` or `--file-prefix` script flag.
106 $ ./build/app/dpdk-testpmd -l 2,3 --file-prefix="tpmd"
117 but no `--file-prefix` flag, or the same `--file-prefix` flag,
/dpdk/usertools/
H A Ddpdk-telemetry.py59 def print_socket_options(prefix, paths): argument
62 if prefix != DEFAULT_PREFIX:
63 cmd += " -f " + prefix
/dpdk/doc/guides/dmadevs/
H A Didxd.rst138 in ``/sys``, and any which have ``dpdk_`` prefix in their name will be automatically
141 the value used as the DPDK ``--file-prefix`` parameter may be used as a workqueue
142 name prefix, instead of ``dpdk_``, allowing each DPDK application instance to only
148 or ``--file-prefix`` prefix condition must also be present in the allow list.
150 any device that passes the prefix condition must not be in the block list.
151 For example, to only use ``wq0.3``, assuming the name prefix condition is met::
/dpdk/drivers/raw/ioat/
H A Ddpdk_idxd_cfg.py66 def configure_dsa(dsa_id, queues, prefix): argument
124 configure_dsa(dsa_id, parsed_args.q, parsed_args.prefix)
H A Didxd_bus.c238 char *prefix = basename(runtime_dir); in is_for_this_process_use() local
239 int prefixlen = strlen(prefix); in is_for_this_process_use()
244 if (strncmp(name, prefix, prefixlen) == 0 && name[prefixlen] == '_') in is_for_this_process_use()
/dpdk/drivers/dma/idxd/
H A Ddpdk_idxd_cfg.py66 def configure_dsa(dsa_id, queues, prefix): argument
124 configure_dsa(dsa_id, parsed_args.q, parsed_args.prefix)
H A Didxd_bus.c262 char *prefix = basename(runtime_dir); in is_for_this_process_use() local
263 int prefixlen = strlen(prefix); in is_for_this_process_use()
268 if (strncmp(name, prefix, prefixlen) == 0 && name[prefixlen] == '_') in is_for_this_process_use()
/dpdk/doc/guides/linux_gsg/
H A Dlinux_eal_parameters.rst50 * ``--file-prefix <prefix name>``
52 Use a different shared data file prefix for a DPDK process. This option
/dpdk/drivers/net/sfc/
H A Dsfc_sw_stats.c169 const char *prefix; in sfc_sw_stat_get_name() local
174 prefix = "rx"; in sfc_sw_stat_get_name()
177 prefix = "tx"; in sfc_sw_stat_get_name()
186 ret = snprintf(name, name_size, "%s_%s", prefix, in sfc_sw_stat_get_name()
190 __func__, prefix, sw_stat->name, ret); in sfc_sw_stat_get_name()
195 ret = snprintf(name, name_size, "%s_q%u_%s", prefix, qid, in sfc_sw_stat_get_name()
199 __func__, prefix, qid, sw_stat->name, ret); in sfc_sw_stat_get_name()
/dpdk/doc/guides/sample_app_ug/
H A Dbbdev_app.rst70 -c 0x38 --socket-mem=2,2 --file-prefix=bbdev -- -e 0x10 -d 0x20
102 --socket-mem=1,1 --file-prefix=pg -a <NIC1PCIADDR> -- -m 1.0 -P
108 * ``--file-prefix``: Prefix for hugepage filenames

1234