| /dpdk/lib/pci/ |
| H A D | rte_pci.c | 54 in = get_u8_pciaddr_field(in, &dev_addr->function, '\0'); in pci_bdf_parse() 89 in = get_u8_pciaddr_field(in, &dev_addr->function, '\0'); in pci_dbdf_parse() 102 addr->devid, addr->function) >= 0); in rte_pci_device_name() 115 (addr->bus << 16) | (addr->devid << 8) | addr->function; in rte_pci_addr_cmp() 117 (addr2->bus << 16) | (addr2->devid << 8) | addr2->function; in rte_pci_addr_cmp()
|
| /dpdk/kernel/freebsd/nic_uio/ |
| H A D | nic_uio.c | 78 uint32_t function; member 157 unsigned int function = pci_get_function(dev); in nic_uio_probe() local 166 function == pci_get_function(detached_devices[i])) { in nic_uio_probe() 189 function = strtol(token, NULL, 10); in nic_uio_probe() 193 function == pci_get_function(dev)) { in nic_uio_probe() 262 uint32_t bus, device, function; in nic_uio_load() local 296 function = strtol(token, NULL, 10); in nic_uio_load() 298 dev = pci_find_bsf(bus, device, function); in nic_uio_load()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | telemetry_lib.rst | 15 function that will format the library specific stats into the correct data 26 When creating a callback function in a library/app, it must be of the following type: 33 An example callback function is shown below: 41 For more detail on the callback function parameters, please refer to the 80 The callback function provided by the library must format its telemetry 101 by the handler function in the library/app, placed in a JSON reply by telemetry:: 111 a brownie recipe is constructed in the callback function shown below: 122 by the handler function in telemetry, placed in a JSON reply by telemetry:: 151 in the required format ("/library/command"), the callback function that
|
| H A D | pcapng_lib.rst | 29 the function ``rte_pcapng_mbuf_size`` should be used 33 The function ``rte_pcapng_copy`` is used to format and copy mbuf data 36 The function ``rte_pcapng_write_stats`` can be used
|
| H A D | toeplitz_hash_lib.rst | 8 to calculate the Toeplitz hash function and to use its properties. 9 The Toeplitz hash function is commonly used in a wide range of NICs 19 Toeplitz hash function API 37 The ``rte_softrss()`` function expects the ``rss_key`` 39 The ``rte_softrss_be`` function is a faster implementation, 63 ``rte_thash_complete_matrix()`` is a function that calculates matrices required by 75 Toeplitz hash function. In figure :numref:`figure_rss_queue_assign` only a few 109 The function ``rte_thash_init_ctx()`` initializes the context struct 145 The function ``rte_thash_add_helper()`` initializes the helper struct 170 The ``rte_thash_get_complement()`` function returns a special bit sequence [all …]
|
| H A D | vhost_lib.rst | 33 This function registers a vhost driver into the system. ``path`` specifies 73 Enabling this flag forces vhost dequeue function to only provide linear 91 Enabling this flag allows vhost dequeue function to allocate and attach 144 This function sets the feature bits the vhost-user driver supports. The 150 This function registers a set of callbacks, to let DPDK applications take 188 This function disables/enables some features. For example, it can be used to 194 This function triggers the vhost-user negotiation. It should be invoked at 207 As an extension of new_device(), this function adds virtio-crypto workload 232 Tell vhost which DMA vChannel is going to use. This function needs to 244 This function is only safe to call in vhost callback functions [all …]
|
| H A D | cmdline.rst | 28 * Ability to multiplex multiple commands to a single callback function 39 #. Define the callback function for the command 109 * An "extern" function prototype for the callback for each command 115 If so desired, the script can also output function stubs for the callback functions for each comman… 134 The function prototypes can be seen in the generated output header. 136 The "cmdname" part of the function name is built up by combining the non-variable initial tokens in… 181 The first parameter to the function call should be the context array in the generated header file, 193 it is not possible using the script to multiplex multiple commands into a single callback function. 304 For each command, we need to define a function to be called once the command has been recognised. 305 The callback function should have type: [all …]
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | timer.rst | 37 …ation, the timer subsystem must be initialized, by calling the rte_timer_subsystem_init() function. 64 rte_timer_manage() function must be called or not. 70 In the main() function, the two timers are initialized. 83 The callback function is timer0_cb(). 87 The callback function is timer1_cb(). 96 In this case, the timer is stopped using the rte_timer_stop() function. 104 rte_timer_reset() function:
|
| /dpdk/drivers/crypto/ccp/ |
| H A D | ccp_crypto.c | 1511 union ccp_function function; in ccp_perform_passthru() local 1523 function.raw = 0; in ccp_perform_passthru() 1524 CCP_PT_BYTESWAP(&function) = pst->byte_swap; in ccp_perform_passthru() 1525 CCP_PT_BITWISE(&function) = pst->bit_mod; in ccp_perform_passthru() 1526 CCP_CMD_FUNCTION(desc) = function.raw; in ccp_perform_passthru() 1561 union ccp_function function; in ccp_perform_hmac() local 1601 function.raw = 0; in ccp_perform_hmac() 1602 CCP_SHA_TYPE(&function) = session->auth.ut.sha_type; in ccp_perform_hmac() 1603 CCP_CMD_FUNCTION(desc) = function.raw; in ccp_perform_hmac() 1682 function.raw = 0; in ccp_perform_hmac() [all …]
|
| /dpdk/dts/framework/testbed_model/traffic_generator/ |
| H A D | scapy.py | 180 A list of packets is passed to the sniffer's callback function so that they are immediately 198 # callback function which we do not need for our purposes.
|
| /dpdk/doc/guides/contributing/ |
| H A D | abi_versioning.rst | 130 arguments. Occasionally that function may need to change to accommodate new 144 versioned symbol ``b@DPDK_n`` to the internal function ``be``. 151 fully qualified function ``p``, so that if a symbol becomes versioned, it 159 binding versioned symbol ``b@EXPERIMENTAL`` to the internal function ``be``. 171 Assume we have a function as follows 204 Note also that, being a public function, the header file prototype must also be 209 The addition of a parameter to the function is ABI breaking as the function is 278 Next, we need to specify in the code which function maps to the rte_acl_create 280 we need to update the function so that it is uniquely named, and not in conflict 295 the macros used for versioning symbols and we have annotated the function as [all …]
|
| H A D | coding_style.rst | 119 If a macro is an inline expansion of a function, the function name is all in lowercase and the macr… 412 …It is recommended to use typedefs to define function pointer types, for reasons of code readabilit… 413 This is especially true when the function type is used as a parameter to another function. 420 * Definition of a remote launch function. 424 /* launch a function of lcore_function_t type */ 525 * Do not use spaces after function names. 531 error = function(a1, a2); 566 * Do not use function calls in initializers, except for ``const`` variables. 598 * Functions that are part of the external API must have an ``rte_`` prefix on the function name. 599 * Do not use uppercase letters - either in the form of ALL_UPPERCASE, or CamelCase - in function na… [all …]
|
| /dpdk/lib/gpudev/ |
| H A D | gpudev.c | 26 #define GPU_DRV_RET(function) \ argument 27 ((function != 0) ? -(rte_errno = EPERM) : (rte_errno = 0)) 45 rte_gpu_callback_t *function; member 378 rte_gpu_callback_t *function, void *user_data) in rte_gpu_callback_register() argument 389 if (function == NULL) { in rte_gpu_callback_register() 409 callback->function == function && in rte_gpu_callback_register() 424 callback->function = function; in rte_gpu_callback_register() 437 rte_gpu_callback_t *function, void *user_data) in rte_gpu_callback_unregister() argument 448 if (function == NULL) { in rte_gpu_callback_unregister() 466 callback->function != function || in rte_gpu_callback_unregister() [all …]
|
| H A D | rte_gpudev.h | 312 rte_gpu_callback_t *function, void *user_data); 338 rte_gpu_callback_t *function, void *user_data);
|
| /dpdk/drivers/bus/pci/linux/ |
| H A D | pci.c | 400 char *function; in parse_pci_addr_format() member 413 splitaddr.function = strchr(splitaddr.devid,'.'); in parse_pci_addr_format() 414 if (splitaddr.function == NULL) in parse_pci_addr_format() 416 *splitaddr.function++ = '\0'; in parse_pci_addr_format() 423 addr->function = strtoul(splitaddr.function, NULL, 10); in parse_pci_addr_format() 494 addr->function); in pci_device_iommu_support_va()
|
| /dpdk/drivers/bus/pci/bsd/ |
| H A D | pci.c | 110 dev->addr.bus, dev->addr.devid, dev->addr.function); in pci_uio_alloc_resource() 114 loc->domain, loc->bus, loc->devid, loc->function); in pci_uio_alloc_resource() 223 dev->addr.function = conf->pc_sel.pc_func; in pci_scan_one() 358 pci_addr.function = matches[i].pc_sel.pc_func; in rte_pci_scan() 410 .pc_func = dev->addr.function, in rte_pci_read_config() 454 .pc_func = dev->addr.function, in rte_pci_write_config()
|
| /dpdk/drivers/net/qede/base/ |
| H A D | ecore_sp_api.h | 23 void (*function)(struct ecore_hwfn *, member
|
| /dpdk/doc/guides/howto/ |
| H A D | vfd.rst | 114 Although it is a VFd function, it is the global setting for the whole 115 physical port. When using this function, the PF and all the VFs TX loopback 225 This is a similar function as ``all queues drop``. The difference is that this 226 function is per VF setting and the previous function is a global setting. 237 This is a function to set the rate limit for all the queues in the 251 This function can be used to stop/start packet receiving on a VF. 262 This function can be used to stop/start packet transmitting on a VF. 272 This function can be used to enable/disable some RX modes on the VF, including:
|
| /dpdk/doc/guides/vdpadevs/ |
| H A D | ifc.rst | 33 this mode does not require HW to implement a dirty page logging function block, 47 This function gets called to set up HW data path backend when virtio driver 53 This function gets called when virtio driver stops device in VM.
|
| /dpdk/drivers/dma/idxd/ |
| H A D | meson.build | 14 reason = 'missing support for AVX2 function attribute'
|
| /dpdk/drivers/bus/pci/windows/ |
| H A D | pci.c | 225 addr->function = dev_and_func & 0xffff; in get_device_pci_address() 252 dev->addr.devid, dev->addr.function); in get_device_resource_info() 260 dev->addr.devid, dev->addr.function); in get_device_resource_info()
|
| /dpdk/lib/eal/include/ |
| H A D | rte_function_versioning.h | 11 #error Use of function versioning disabled, is "use_function_versioning=true" in meson.build?
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_2_1.rst | 112 Added multicast address filtering via a new ethdev function 117 ``rte_eth_allmulticast_enable()`` function. This method did not work for VFs 239 function. VF is not supported yet. 313 * **Updated Jenkins Hash function** 315 Updated the version of the Jenkins Hash (jhash) function used in DPDK from 325 Added a software implementation of the Toeplitz hash function used by RSS. It 336 evicted entry in an alternative location, using a secondary hash function. 348 Also, the maximum burst size in lookup_burst function hash been increased to 369 processing by using the ``poll()`` function. 459 A function in ``cmdline.c`` had a return that did not free the buf properly. [all …]
|
| /dpdk/drivers/net/nfb/ |
| H A D | nfb_ethdev.c | 524 pci_addr->function); in nfb_eth_dev_init() 529 pci_addr->function); in nfb_eth_dev_init() 589 pci_addr->function); in nfb_eth_dev_init() 613 pci_addr->function); in nfb_eth_dev_uninit()
|
| /dpdk/drivers/bus/pci/ |
| H A D | pci_common.c | 228 loc->domain, loc->bus, loc->devid, loc->function, in rte_pci_probe_one_driver() 304 loc->domain, loc->bus, loc->devid, loc->function, in rte_pci_probe_one_driver() 349 loc->function, dev->device.numa_node); in rte_pci_detach_dev() 423 dev->addr.devid, dev->addr.function); in pci_probe() 475 dev->addr.devid, dev->addr.function); in pci_dump_one_device() 778 dev->addr.devid, dev->addr.function, in rte_pci_get_iommu_class()
|