| /dpdk/drivers/common/cnxk/ |
| H A D | roc_npc_mcam_dump.c | 282 fprintf(file, "Data:0X"); in npc_flow_print_xtractinfo() 286 fprintf(file, ", Mask:0X"); in npc_flow_print_xtractinfo() 291 fprintf(file, "\n"); in npc_flow_print_xtractinfo() 355 fprintf(file, "\tActionOp:"); in npc_flow_dump_tx_action() 406 fprintf(file, "\tActionOp:"); in npc_flow_dump_rx_action() 496 fprintf(file, "\tlid:%#X\n", lid); in npc_flow_dump_rx_vtag_action() 510 fprintf(file, "\tlid:%#X\n", lid); in npc_flow_dump_rx_vtag_action() 551 fprintf(file, "\tlid:%#X\n", lid); in npc_flow_dump_tx_vtag_action() 567 fprintf(file, "\tlid:%#X\n", lid); in npc_flow_dump_tx_vtag_action() 602 fprintf(file, "Patterns:\n"); in roc_npc_flow_mcam_dump() [all …]
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_ethdev_dump.c | 65 fprintf(file, in get_dev_mac_info() 159 fprintf(file, in get_fdir_basic_info() 197 fprintf(file, in get_device_basic_info() 298 fprintf(file, in get_rxtx_fake_queue_info() 312 fprintf(file, in get_rxtx_fake_queue_info() 428 fprintf(file, in get_rxtx_queue_info() 514 fprintf(file, in get_vlan_rx_offload_cfg() 544 fprintf(file, in parse_tx_vlan_cfg() 660 fprintf(file, in get_tm_conf_port_node_info() 744 fprintf(file, in get_tm_conf_queue_node_info() [all …]
|
| /dpdk/devtools/ |
| H A D | update_version_map_abi.py | 119 print(file=f_out) 126 print(file=f_out) 132 print("};", file=f_out) 143 print("", file=f_out) 148 print("};", file=f_out) 158 print("", file=f_out) 163 print("};", file=f_out) 179 file=sys.stderr) 185 file=sys.stderr) 199 print(file=f_out) [all …]
|
| H A D | load-devel-config | 3 # This file is intended to be sourced into shell 6 # from system file 9 # from user file 12 # from local file
|
| H A D | check-dup-includes.sh | 14 for file in $(git ls-files '*.[ch]') ; do 15 sed -rn 's,^[[:space:]]*#include[[:space:]]*[<"](.*)[>"].*,\1,p' $file | 17 sed "s,^,$file: duplicated include: ,"
|
| /dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_qos.c | 140 entry = rte_cfgfile_get_entry(file, sec_name, in get_outq_cfg() 159 entry = rte_cfgfile_get_entry(file, sec_name, in get_outq_cfg() 376 entry = rte_cfgfile_get_entry(file, sec_name, in parse_tc_cfg() 500 entry = rte_cfgfile_get_entry(file, sec_name, in parse_udf() 631 entry = rte_cfgfile_get_entry(file, sec_name, in parse_udf() 665 if (file == NULL) { in mrvl_get_cfg() 694 if (rte_cfgfile_num_sections(file, sec_name, in mrvl_get_cfg() 701 ret = parse_udf(file, sec_name, i, *cfg); in mrvl_get_cfg() 732 if (rte_cfgfile_num_sections(file, sec_name, in mrvl_get_cfg() 851 ret = get_outq_cfg(file, n, i, *cfg); in mrvl_get_cfg() [all …]
|
| /dpdk/buildtools/ |
| H A D | symlink-drivers-solibs.py | 31 for file in glob.glob(os.path.join(pmd_dir, pattern)): 32 to = os.path.join(to_dir, os.path.basename(file)) 33 shutil.copy2(file, to) 34 print(to + ' -> ' + file) 44 for file in glob.glob(os.path.join(pmd_subdir, 'librte_*.so*')): 45 to = os.path.basename(file) 48 os.symlink(file, to) 49 print(to + ' -> ' + file)
|
| H A D | map-list-symbol.sh | 37 for file in $@; do 38 cat "$file" |awk ' 59 print "'$file' "current_section" "$1;
|
| H A D | pmdinfogen.py | 190 def dump(self, file): argument 196 file=file, 207 def dump_drivers(drivers, file): argument 210 driver.dump(file) 234 with open(path, "rb") as file: 235 return file.read()
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | fips_validation.rst | 27 * The version of request file supported is ``CAVS 21.0`` 28 * If the header comment in a ``.req`` file does not contain a Algo tag 95 -- --req-file FILE_PATH/FOLDER_PATH 96 --rsp-file FILE_PATH/FOLDER_PATH 101 * req-file: The path of the request file or folder, separated by 104 * rsp-file: The path that the response file or folder is stored. separated by 111 * path-is-folder: If presented the application expects req-file and rsp-file 121 file for crypto_aesni_mb PMD, issue the command: 126 --req-file /PATH/TO/REQUEST/FILE.req --rsp-file ./PATH/TO/RESPONSE/FILE.rsp 135 --req-file /PATH/TO/REQUEST/FILE/FOLDER/ [all …]
|
| H A D | ntb.rst | 13 * ``file-trans``: transmit files between two systems. The sample will 14 be polling to receive files from the peer and save the file as 15 ``ntb_recv_file[N]``, [N] represents the number of received file. 53 Set the packet forwarding mode as ``file-trans``, ``txonly``, 87 * ``send [filepath]``: Send file to the peer host. Need to be in 88 file-trans forwarding mode first. 92 * ``set fwd file-trans/rxonly/txonly/iofwd``: Set packet forwarding
|
| /dpdk/doc/guides/tools/ |
| H A D | testregex.rst | 11 It is based on precompiled rule file, and an input file, both of them can 14 In general case, each PMD has its own rule file. 18 are assigned the same number of segments of input file to parse. Given n QPs 51 precompiled rule file 54 data file to use 81 **Step 1: Compile a rule file** 83 In order for the RegEx to work it must have a precompiled rule file. 84 to generate this file there is a need to use a RegEx compiler that matches the 87 **Step 2: Generate a data file** 89 The data file, will be used as a source data for the RegEx to work on.
|
| H A D | comp_perf.rst | 11 execution. The tool reads the data from a file (--input-file), 12 dumps all the file into a buffer and fills out the data of input mbufs, 71 ``--input-file NAME``: file to compress and decompress 73 ``--extended-input-sz N``: extend file data up to this size (default: no extension) 83 ``--num-iter N``: number of times the file will be compressed/decompressed (default: 10000) 107 …./<build_dir>/app/dpdk-test-compress-perf -l 4 -- --driver-name compress_qat --input-file test.tx…
|
| /dpdk/doc/guides/ |
| H A D | conf.py | 24 file=stderr) 145 ini_files = [basename(file) for file in listdir(ini_path) 146 if file.endswith('.ini') and file != 'default.ini'] 192 file=stderr) 206 print('.. table:: ' + table_name + '\n', file=outfile) 248 print(' {:<{}}{}'.format(feature, feature_str_len, line), file=outfile) 330 print(template.replace("idx", "id%d" % (table_id)), file=outfile) 433 file=stderr)
|
| /dpdk/usertools/ |
| H A D | dpdk-pmdinfo.py | 241 def __init__(self, file, output): argument 248 self.elffile = ELFFile(file) 462 file.close() 497 file = open(dpath, 'rb') 509 file.close() 524 file = open(dpdk_path, 'rb') 526 readelf = ReadElf(file, sys.stdout) 529 print("Unable to parse %s" % file) 542 file.close() 612 with open(myelffile, 'rb') as file: [all …]
|
| H A D | dpdk-devbind.py | 328 "Skipping unbind" % dev_id, file=sys.stderr) 351 "Not modifying" % dev_id, file=sys.stderr) 358 (dev_id, driver), file=sys.stderr) 377 % (dev_id, filename, err), file=sys.stderr) 384 "PCI ID: %s" % (dev_id, driver, err), file=sys.stderr) 393 % (dev_id, filename, err), file=sys.stderr) 402 "driver %s: %s" % (dev_id, driver, err), file=sys.stderr) 411 % (dev_id, filename, err), file=sys.stderr) 426 % (dev_id, driver, err), file=sys.stderr) 718 file=sys.stderr) [all …]
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_socket.c | 53 FILE *file = NULL; in mlx5_pmd_socket_handle() local 81 file = fdopen(fd, "w"); in mlx5_pmd_socket_handle() 82 if (!file) { in mlx5_pmd_socket_handle() 109 ret = mlx5_flow_dev_dump(dev, NULL, file, NULL); in mlx5_pmd_socket_handle() 112 (struct rte_flow *)((uintptr_t)flow_ptr), file, &err); in mlx5_pmd_socket_handle() 132 if (file) in mlx5_pmd_socket_handle() 133 fclose(file); in mlx5_pmd_socket_handle()
|
| /dpdk/examples/pipeline/ |
| H A D | cli.c | 1135 if (!file) { in cmd_pipeline_table_add() 1233 if (!file) { in cmd_pipeline_table_delete() 1331 if (!file) { in cmd_pipeline_table_default() 1338 file, in cmd_pipeline_table_default() 1377 if (!file) { in cmd_pipeline_table_show() 1386 if (file) in cmd_pipeline_table_show() 1691 if (!file) { in cmd_pipeline_selector_group_member_add() 1801 if (!file) { in cmd_pipeline_selector_group_member_delete() 1848 if (!file) { in cmd_pipeline_selector_show() 1857 if (file) in cmd_pipeline_selector_show() [all …]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | pcapng_lib.rst | 11 The `Pcapng file format`_ is the default capture file format 16 into a Pcapng file. 37 and ``rte_pcapng_write_packets`` writes a burst of packets to the output file. 40 to write statistics information into the output file. 46 .. _Pcapng file format: https://github.com/pcapng/pcapng/
|
| /dpdk/lib/acl/ |
| H A D | meson.build | 21 # in former case, just add avx2 C file to files list 22 # in latter case, compile c file to static lib, using correct compiler 23 # flags, and then have the .o file from static lib linked into main lib. 47 # in former case, just add avx512 C file to files list 48 # in latter case, compile c file to static lib, using correct 49 # compiler flags, and then have the .o file from static lib
|
| /dpdk/doc/guides/howto/ |
| H A D | telemetry.rst | 100 * 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" 112 To list all running telemetry-enabled file-prefixes, the ``-l`` or ``--list`` flags can be used:: 117 but no `--file-prefix` flag, or the same `--file-prefix` flag,
|
| /dpdk/lib/cmdline/ |
| H A D | cmdline_os_windows.c | 188 FILE *file; in cmdline_vdprintf() local 194 file = _fdopen(copy, "a"); in cmdline_vdprintf() 195 if (file == NULL) { in cmdline_vdprintf() 200 ret = vfprintf(file, format, op); in cmdline_vdprintf() 202 fclose(file); /* also closes copy */ in cmdline_vdprintf()
|
| /dpdk/drivers/net/virtio/virtio_user/ |
| H A D | vhost_kernel.c | 304 struct vhost_vring_file *file) in vhost_kernel_set_vring_file() argument 307 unsigned int index = file->index; in vhost_kernel_set_vring_file() 311 fd = data->vhostfds[file->index / 2]; in vhost_kernel_set_vring_file() 312 file->index %= 2; in vhost_kernel_set_vring_file() 314 ret = vhost_kernel_ioctl(fd, req, file); in vhost_kernel_set_vring_file() 321 file->index = index; in vhost_kernel_set_vring_file() 327 vhost_kernel_set_vring_kick(struct virtio_user_dev *dev, struct vhost_vring_file *file) in vhost_kernel_set_vring_kick() argument 329 return vhost_kernel_set_vring_file(dev, VHOST_SET_VRING_KICK, file); in vhost_kernel_set_vring_kick() 333 vhost_kernel_set_vring_call(struct virtio_user_dev *dev, struct vhost_vring_file *file) in vhost_kernel_set_vring_call() argument 335 return vhost_kernel_set_vring_file(dev, VHOST_SET_VRING_CALL, file); in vhost_kernel_set_vring_call()
|
| /dpdk/kernel/linux/kni/ |
| H A D | kni_misc.c | 164 kni_open(struct inode *inode, struct file *file) in kni_open() argument 173 file->private_data = get_net(net); in kni_open() 200 kni_release(struct inode *inode, struct file *file) in kni_release() argument 202 struct net *net = file->private_data; in kni_release() 488 kni_ioctl(struct file *file, unsigned int ioctl_num, unsigned long ioctl_param) in kni_ioctl() argument 517 kni_compat_ioctl(struct file *file, unsigned int ioctl_num, in kni_compat_ioctl() argument
|
| /dpdk/license/ |
| H A D | README | 20 DPDK uses first line of the file to be SPDX tag. In case of *#!* scripts, SPDX 21 tag can be placed in 2nd line of the file. 23 For example, to label a file as subject to the BSD-3-Clause license, 28 To label a file as GPL-2.0 (e.g., for code that runs in the kernel), the 33 To label a file as dual-licensed with BSD-3-Clause and GPL-2.0 (e.g., for code 39 To label a file as dual-licensed with BSD-3-Clause and LGPL-2.1 (e.g., for code 45 Any new file contributions in DPDK shall adhere to the above scheme.
|