Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 134) sorted by relevance

123456

/dpdk/devtools/
H A Dcheck-git-log.sh50 commits=$(git log --format='%h' --reverse $range)
51 headlines=$(git log --format='%s' --reverse $range)
52 bodylines=$(git log --format='%b' --reverse $range)
76 headline=$(git log --format='%s' -1 $commit)
160 body=$(git log --format='%b' -1 $commit)
163 git log --format='\t%s' -1 $commit
170 body=$(git log --format='%b' -1 $commit)
173 git log --format='\t%s' -1 $commit
180 git log --format='%b' -1 $fix | grep -q '^Fixes: ' ||
181 git log --format='\t%s' -1 $fix
[all …]
H A Dupdate_version_map_abi.py113 print("DPDK_{} {{".format(abi_major), file=f_out)
123 print("\t{}".format(line), file=f_out)
145 print("\t{}".format(line), file=f_out)
160 print("\t{}".format(line), file=f_out)
178 print("Invalid input file: {}".format(parsed.map_file),
184 print("Invalid ABI version: {}".format(parsed.abi_version),
H A Dgit-log-fixes.sh62 git log --format='%b' -1 $1 |
90 if git log --format='%b' -1 $1 | grep -qi '^Cc: *[email protected]' ; then
100 if git log --format='%b' -1 $1 | grep -qi '^Fixes: *' ; then
/dpdk/lib/eal/common/
H A Deal_common_debug.c11 __rte_panic(const char *funcname, const char *format, ...) in __rte_panic() argument
16 va_start(ap, format); in __rte_panic()
17 rte_vlog(RTE_LOG_CRIT, RTE_LOGTYPE_EAL, format, ap); in __rte_panic()
28 rte_exit(int exit_code, const char *format, ...) in rte_exit() argument
36 va_start(ap, format); in rte_exit()
37 rte_vlog(RTE_LOG_CRIT, RTE_LOGTYPE_EAL, format, ap); in rte_exit()
H A Deal_private.h740 int eal_asprintf(char **buffer, const char *format, ...);
742 #define asprintf(buffer, format, ...) \ argument
743 eal_asprintf(buffer, format, ##__VA_ARGS__)
/dpdk/usertools/
H A Ddpdk-hugepages.py25 return '{}{}b'.format(int(kb / unit), suffix)
32 sys.exit('{} is not a valid size'.format(arg))
65 nr_hugepages.write('{}\n'.format(reqpages))
69 sys.exit("Invalid page size. Valid page sizes: {}".format(
89 print('{:<4} {:<5} {:<6} {}'.format(node, pages,
102 print('{:<5} {:<6} {}'.format(pages, fmt_memsize(kb),
143 huge_path = '{}/hugepages-{}kB'.format(node_path, hugepgsz)
149 path = '/sys/kernel/mm/hugepages/hugepages-{}kB'.format(hugepgsz)
180 cmd += ' -o pagesize={}'.format(pagesize * 1024)
260 sys.exit("Invalid page size: {}kB".format(pagesize_kb))
[all …]
H A Dcpu_layout.py10 fd = open("{}/kernel_max".format(base_path))
15 fd = open("{}/cpu{}/topology/core_id".format(base_path, cpu))
20 fd = open("{}/cpu{}/topology/physical_package_id".format(base_path, cpu))
32 print(format("=" * (47 + len(base_path))))
33 print("Core and Socket Information (as reported by '{}')".format(base_path))
34 print("{}\n".format("=" * (47 + len(base_path))))
H A Ddpdk-telemetry.py21 SOCKET_NAME = 'dpdk_telemetry.{}'.format(TELEMETRY_VERSION)
67 print("- {} # Connect with '{}'".format(os.path.basename(s),
70 print("- {} # Connect with '{} -i {}'".format(os.path.basename(s),
181 sock_path += ":{}".format(args.instance)
/dpdk/examples/pipeline/examples/
H A Dvxlan_table.py49 (KEY.format(i), ACTION,
50 ETHERNET_HEADER.format(i),
51 IPV4_HEADER.format(i, ipv4_header_checksum(i)),
52 UDP_HEADER.format(i % 256),
53 VXLAN_HEADER.format(i),
54 PORT_OUT.format(i % p)))
/dpdk/doc/guides/prog_guide/
H A Dpcapng_lib.rst8 The de facto standard for this is the format define by libpcap;
9 but that format is rather old and is lacking in functionality
11 The `Pcapng file format`_ is the default capture file format
17 The format conforms to the current `Pcapng RFC`_ standard.
31 for the pcapng packet format header and trailer information;
36 The function ``rte_pcapng_copy`` is used to format and copy mbuf data
46 .. _Pcapng file format: https://github.com/pcapng/pcapng/
/dpdk/lib/
H A Dmeson.build93 warning('Cannot disable mandatory library "@0@"'.format(l))
104 if cc.has_argument('-Wno-format-truncation')
105 default_cflags += '-Wno-format-truncation'
140 warning('Library name, "@0@", and directory name, "@1@", do not match'.format(name, l))
151 reason = 'missing internal dependency, "@0@"'.format(d)
153 .format(d, name, 'lib/' + l))
180 message('@0@: Function versioning is not supported by Windows.'.format(name))
209 version_map = '@0@/@1@/version.map'.format(
216 output: '@0@_exports.def'.format(libname))
221 output: '@0@_mingw.map'.format(libname))
[all …]
/dpdk/drivers/net/ena/base/
H A Dena_plat_dpdk.h122 #define ena_trc_dbg(dev, format, arg...) ena_trc_log(dev, DEBUG, format, ##arg) argument
123 #define ena_trc_info(dev, format, arg...) ena_trc_log(dev, INFO, format, ##arg) argument
124 #define ena_trc_warn(dev, format, arg...) \ argument
125 ena_trc_log(dev, WARNING, format, ##arg)
126 #define ena_trc_err(dev, format, arg...) ena_trc_log(dev, ERR, format, ##arg) argument
128 #define ENA_WARN(cond, dev, format, arg...) \ argument
132 "Warn failed on %s:%s:%d:" format, \
/dpdk/lib/eal/include/
H A Drte_debug.h44 #define rte_panic_(func, format, ...) __rte_panic(func, format "%.0s", __VA_ARGS__) argument
62 void __rte_panic(const char *funcname , const char *format, ...)
/dpdk/drivers/
H A Dmeson.build51 if cc.has_argument('-Wno-format-truncation')
52 default_cflags += '-Wno-format-truncation'
111 message('Driver @0@ cannot be disabled, not disabling.'.format(drv_path))
131 reason = 'missing internal dependency, "@0@"'.format(d)
133 .format(d, name, 'drivers/' + drv_path))
186 version_map = '@0@/@1@/version.map'.format(meson.current_source_dir(), drv_path)
192 output: '@0@_exports.def'.format(lib_name))
197 output: '@0@_mingw.map'.format(lib_name))
246 set_variable('shared_@0@'.format(lib_name), shared_dep)
247 set_variable('static_@0@'.format(lib_name), static_dep)
[all …]
/dpdk/drivers/net/i40e/base/
H A Dmeson.build15 '-Wno-format', '-Wno-format-security',
16 '-Wno-format-nonliteral',
/dpdk/kernel/linux/
H A Dmeson.build81 cross_args += ['CC=@0@'.format(cross_compiler), 'LD=ld.@0@'.format(linker)]
83 error('Unsupported cross compiler: @0@'.format(cross_compiler))
91 cross_args += ['ARCH=@0@'.format(cross_arch),
92 'CROSS_COMPILE=@0@'.format(cross_prefix)]
/dpdk/drivers/event/dsw/
H A Dmeson.build5 if cc.has_argument('-Wno-format-nonliteral')
6 cflags += '-Wno-format-nonliteral'
/dpdk/app/test-bbdev/
H A Dtest-bbdev.py93 print("Executing: {}".format(params_string))
102 print("Error: failed to execute: {}".format(params_string))
108 print("ERROR TestCase failed. Failed test for vector {}. Return code: {}".format(
/dpdk/drivers/net/dpaa/
H A Ddpaa_rxtx.c69 uint8_t format; in dpaa_display_frame_info() local
95 if (unlikely(format == qm_fd_sg)) { in dpaa_display_frame_info()
403 uint8_t format = in dpaa_eth_fd_to_mbuf() local
408 if (unlikely(format == qm_fd_sg)) in dpaa_eth_fd_to_mbuf()
442 uint8_t format; in dpaa_free_mbuf() local
447 if (unlikely(format == qm_fd_sg)) { in dpaa_free_mbuf()
512 uint8_t format; in dpaa_rx_cb_no_prefetch() local
533 if (unlikely(format == qm_fd_sg)) { in dpaa_rx_cb_no_prefetch()
566 uint8_t format; in dpaa_rx_cb() local
573 if (unlikely(format == qm_fd_sg)) { in dpaa_rx_cb()
[all …]
/dpdk/drivers/net/qede/
H A Dmeson.build23 if cc.has_argument('-Wno-format-nonliteral')
24 cflags += '-Wno-format-nonliteral'
/dpdk/buildtools/
H A Dmeson.build24 # select library and object file format
51 if run_command(py3, '-c', script.format(module), check: false).returncode() != 0
52 error('missing python module: @0@'.format(module))
/dpdk/lib/power/
H A Dpower_common.c67 open_core_sysfs_file(FILE **f, const char *mode, const char *format, ...) in open_core_sysfs_file() argument
73 va_start(ap, format); in open_core_sysfs_file()
74 vsnprintf(fullpath, sizeof(fullpath), format, ap); in open_core_sysfs_file()
/dpdk/lib/eal/windows/
H A Deal.c468 eal_asprintf(char **buffer, const char *format, ...) in eal_asprintf() argument
473 va_start(arg, format); in eal_asprintf()
474 size = vsnprintf(NULL, 0, format, arg); in eal_asprintf()
484 va_start(arg, format); in eal_asprintf()
485 ret = vsnprintf(*buffer, size, format, arg); in eal_asprintf()
/dpdk/lib/cmdline/
H A Dcmdline_os_unix.c50 cmdline_vdprintf(int fd, const char *format, va_list op) in cmdline_vdprintf() argument
52 return vdprintf(fd, format, op); in cmdline_vdprintf()
/dpdk/config/ppc/
H A Dmeson.build83 if cc.has_argument(mcpu_flag.format(cpu))
85 elif cc.has_argument(mcpu_flag.format(cpu-1))
87 elif cc.has_argument(mcpu_flag.format(cpu-2))
90 error('Compiler does not support POWER@0@ platform'.format(cpu))
95 error('Compiler does not support POWER@0@ platform'.format(cpu))

123456