| /dpdk/doc/guides/howto/ |
| H A D | vfd.rst | 109 set tx loopback 0 on|off 137 set vf mac antispoof 0 0 on|off 149 set vf vlan antispoof 0 0 on|off 175 set vf vlan stripq 0 0 on|off 208 set all queues drop on|off 223 set vf split drop 0 0 on|off 249 set port 0 vf 0 rx on|off 260 set port 0 vf 0 tx on|off 314 set vf broadcast 0 0 on|off 323 set vf allmulti 0 0 on|off [all …]
|
| H A D | lm_virtio_vhost_user.rst | 21 KVM and QEMU is also required on the servers. 49 Setup DPDK on host_server_1 90 Start the VM on host_server_1 99 Connect to the QEMU monitor on host_server_1. 110 **In VM on host_server_1:** 130 Set up DPDK on the host_server_2. 171 Start the VM on host_server_2. 180 Connect to the QEMU monitor on host_server_2. 221 **In VM on host_server_2:** 232 **In QEMU monitor on host_server_2** [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_vlan.c | 37 mlx5_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on) in mlx5_vlan_filter_set() argument 43 dev->data->port_id, (on ? "enable" : "disable"), vlan_id); in mlx5_vlan_filter_set() 56 if (on) in mlx5_vlan_filter_set() 68 if (!on) in mlx5_vlan_filter_set() 91 mlx5_vlan_strip_queue_set(struct rte_eth_dev *dev, uint16_t queue, int on) in mlx5_vlan_strip_queue_set() argument 112 dev->data->port_id, on, rxq_data->port_id, queue); in mlx5_vlan_strip_queue_set() 115 rxq_data->vlan_strip = !!on; in mlx5_vlan_strip_queue_set() 118 ret = priv->obj_ops.rxq_obj_modify_vlan_strip(rxq, on); in mlx5_vlan_strip_queue_set() 125 rxq_data->vlan_strip = !!on; in mlx5_vlan_strip_queue_set()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | rte_pmd_bnxt.c | 50 if (on > 1) in rte_pmd_bnxt_set_tx_loopback() 66 if (on) in rte_pmd_bnxt_set_tx_loopback() 79 uint8_t *on = onptr; in rte_pmd_bnxt_set_all_queues_drop_en_cb() local 92 if (on > 1) in rte_pmd_bnxt_set_all_queues_drop_en() 241 if (on > 1) in rte_pmd_bnxt_set_vf_mac_anti_spoof() 275 if (on) in rte_pmd_bnxt_set_vf_mac_anti_spoof() 300 if (on > 1) in rte_pmd_bnxt_set_vf_vlan_anti_spoof() 329 if (on) { in rte_pmd_bnxt_set_vf_vlan_anti_spoof() 438 if (on) in rte_pmd_bnxt_set_vf_rxmode() 866 if (on > 1) in rte_pmd_bnxt_set_vf_persist_stats() [all …]
|
| H A D | rte_pmd_bnxt.h | 57 int rte_pmd_bnxt_set_vf_mac_anti_spoof(uint16_t port, uint16_t vf, uint8_t on); 94 rte_pmd_bnxt_set_vf_vlan_stripq(uint16_t port, uint16_t vf, uint8_t on); 152 int rte_pmd_bnxt_set_tx_loopback(uint16_t port, uint8_t on); 168 int rte_pmd_bnxt_set_all_queues_drop_en(uint16_t port, uint8_t on); 240 int rte_pmd_bnxt_set_vf_vlan_anti_spoof(uint16_t port, uint16_t vf, uint8_t on); 260 uint16_t rx_mask, uint8_t on); 329 int rte_pmd_bnxt_set_vf_persist_stats(uint16_t port, uint16_t vf, uint8_t on);
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | hello_world.rst | 8 The application simply prints an "helloworld" message on every enabled lcore. 26 Refer to *DPDK Getting Started Guide* for general information on running applications 52 Once the EAL is initialized, the application is ready to launch a function on an lcore. 53 In this example, lcore_hello() is called on every available lcore. 58 :start-after: Launch a function on lcore. 8< 59 :end-before: >8 End of launching function on lcore. 61 The code that launches the function on each lcore is as follows: 65 :start-after: Launches the function on each lcore. 8< 66 :end-before: >8 End of launching the function on each lcore. 77 Refer to the *DPDK API Reference* for detailed information on the rte_eal_mp_remote_launch() functi…
|
| H A D | ip_frag.rst | 23 based on information read from the input packet's IP header. 70 EAL: Detected lcore 0 on socket 0 71 EAL: Detected lcore 1 on socket 1 72 EAL: Detected lcore 2 on socket 0 73 EAL: Detected lcore 3 on socket 1 74 EAL: Detected lcore 4 on socket 0 77 Initializing port 0 on lcore 2... Address:00:1B:21:76:FA:2C, rxq=0 txq=2,0 txq=4,1 80 Initializing port 2 on lcore 4... Address:00:1B:21:5C:FF:54, rxq=0 txq=2,0 txq=4,1 88 IP_FRAG: entering main loop on lcore 4 90 IP_FRAG: entering main loop on lcore 2 [all …]
|
| H A D | bbdev_app.rst | 18 A packet is received on an ethernet port -> enqueued for downlink baseband 36 documentation for more details on this. 59 the specified baseband operation are available on application initialization. 64 using the allow option for pci device running on 1 encoding lcore and 1 decoding lcore 79 - core 3 is the main and used to print the stats live on screen, 87 Refer to the *DPDK Getting Started Guide* for general information on running 94 This can be done by using DPDK Pktgen to burst traffic on two ethernet ports, and 95 it will print the transmitted along with the looped-back traffic on Rx ports. 96 Executing the command below will generate traffic on the two allowed ethernet 106 * ``-c COREMASK``: A hexadecimal bitmask of cores to run on [all …]
|
| H A D | timer.rst | 26 Refer to the *DPDK Getting Started Guide* for general information on running applications and 46 executed on each worker lcore using the well-known 47 rte_eal_remote_launch() and also on the main. 51 :start-after: Call lcore_mainloop() on every worker lcore. 8< 52 :end-before: >8 End of call lcore_mainloop() on every worker lcore. 71 This call to rte_timer_init() is necessary before doing any other operation on the timer structure. 81 * The first timer (timer0) is loaded on the main lcore and expires every second. 85 * The second timer (timer1) is loaded on the next available lcore every 333 ms. 91 :start-after: Load timer0, every second, on main lcore, reloaded automatically. 8< 103 The callback for the second timer (timer1) displays a message and reloads the timer on the next lco…
|
| H A D | vm_power_management.rst | 15 not exposed to the operating systems running on the VMs. 93 device on a VM and can be configured to use various backends on the 229 Each channel on a VM is present at: 515 run on cores 0, 1, 2 and 3: 559 - TRAFFIC - Based on incoming traffic rates on the NIC. 563 based on the received policy setting. 637 pairs are different depending on which type is sent. 641 strings, arrays, and so on. See :ref:`json_interface_ex` 776 as is possible on the command line interface. 862 depending on busy and quiet hours. [all …]
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | rte_pmd_ixgbe.h | 65 uint8_t on); 82 int rte_pmd_ixgbe_set_vf_mac_anti_spoof(uint16_t port, uint16_t vf, uint8_t on); 117 int rte_pmd_ixgbe_set_tx_loopback(uint16_t port, uint8_t on); 133 int rte_pmd_ixgbe_set_all_queues_drop_en(uint16_t port, uint8_t on); 152 int rte_pmd_ixgbe_set_vf_split_drop_en(uint16_t port, uint16_t vf, uint8_t on); 172 rte_pmd_ixgbe_set_vf_vlan_stripq(uint16_t port, uint16_t vf, uint8_t on); 302 uint8_t on); 321 rte_pmd_ixgbe_set_vf_rx(uint16_t port, uint16_t vf, uint8_t on); 340 rte_pmd_ixgbe_set_vf_tx(uint16_t port, uint16_t vf, uint8_t on);
|
| H A D | rte_pmd_ixgbe.c | 99 if (on > 1) in rte_pmd_ixgbe_set_vf_vlan_anti_spoof() 129 if (on > 1) in rte_pmd_ixgbe_set_vf_mac_anti_spoof() 189 if (on > 1) in rte_pmd_ixgbe_set_tx_loopback() 195 if (on) in rte_pmd_ixgbe_set_tx_loopback() 221 if (on > 1) in rte_pmd_ixgbe_set_all_queues_drop_en() 255 if (on > 1) in rte_pmd_ixgbe_set_vf_split_drop_en() 260 if (on) in rte_pmd_ixgbe_set_vf_split_drop_en() 291 if (on > 1) in rte_pmd_ixgbe_set_vf_vlan_stripq() 354 if (on) in rte_pmd_ixgbe_set_vf_rxmode() 404 if (on) in rte_pmd_ixgbe_set_vf_rx() [all …]
|
| /dpdk/drivers/ |
| H A D | meson.build | 8 'common/cnxk', # depends on bus. 9 'common/mlx5', # depends on bus. 10 'common/qat', # depends on bus. 11 'common/sfc_efx', # depends on bus. 12 'mempool', # depends on common and bus. 13 'dma', # depends on common and bus. 14 'net', # depends on common, bus, mempool 17 'compress', # depends on common, bus, mempool. 21 'baseband', # depends on common and bus. 22 'gpu', # depends on common and bus. [all …]
|
| /dpdk/doc/guides/linux_gsg/ |
| H A D | nic_perf_intel_platform.rst | 4 How to get best performance with NICs on Intel platforms 7 This document is a step-by-step guide for getting high performance from DPDK applications on Intel … 16 **Note**: this has one of the most direct effects on performance. 93 The following are some recommendations on BIOS settings. Different platforms will have different BI… 102 #. Consider using Turbo Boost to increase the frequency on cores. 110 The following are some recommendations on GRUB boot settings: 124 iommu=pt intel_iommu=on 131 See the earlier section on :ref:`linux_gsg_hugepages` for more details. 158 Or run ``lscpu`` to check the cores on each socket. 180 Usually ``0x:00.x`` is on socket 0 and ``8x:00.x`` is on socket 1. [all …]
|
| H A D | enable_func.rst | 37 Additionally, depending on which kernel driver is in use, the relevant 60 … The userspace-io device files in ``/dev``, for example, ``/dev/uio0``, ``/dev/uio1``, and so on 75 For example, on some Intel reference platform BIOS variants, the path to Enhanced Intel SpeedStep\ … 81 In addition, C3 and C6 should be enabled as well for power management. The path of C3 and C6 on the… 92 While the threads used by a DPDK application are pinned to logical cores on the system, 93 it is possible for the Linux scheduler to run other tasks on those cores also. 94 To help prevent additional workloads from running on those cores, 97 For example, if DPDK applications are to run on logical cores 2, 4 and 6, 110 such as the core Time-Stamp Counter (TSC) on x86 systems. 131 depending on what is requested by an application call to ``rte_eal_hpet_init()``, [all …]
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_parser.c | 353 item->key[0] = (u8)(on ? 0xff : 0xfe); in _bst_vm_set() 354 item->key_inv[0] = (u8)(on ? 0xff : 0xfe); in _bst_vm_set() 363 void ice_parser_dvm_set(struct ice_parser *psr, bool on) in ice_parser_dvm_set() argument 365 _bst_vm_set(psr, "BOOST_MAC_VLAN_DVM", on); in ice_parser_dvm_set() 366 _bst_vm_set(psr, "BOOST_MAC_VLAN_SVM", !on); in ice_parser_dvm_set() 371 bool on) in _tunnel_port_set() argument 393 } else if (!on && (item->key_inv[15] == buf[0] || in _tunnel_port_set() 415 u16 udp_port, bool on) in ice_parser_vxlan_tunnel_set() argument 417 return _tunnel_port_set(psr, "TNL_VXLAN", udp_port, on); in ice_parser_vxlan_tunnel_set() 427 u16 udp_port, bool on) in ice_parser_geneve_tunnel_set() argument [all …]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | timer_lib.rst | 14 * Timers can be loaded from one core and executed on another. It has to be specified in the call … 16 * Timers provide high precision (depends on the call frequency to rte_timer_manage() that checks … 23 This library provides an interface to add, delete and restart a timer. The API is based on BSD call… 29 Timers are tracked on a per-lcore basis, 33 one in every 16 at level 2 and so on up to level 9. 39 Depending on the timer state, we know if a timer is present in a list or not: 43 …y a core, must not be modified by another core, maybe in a list or not, depending on previous state 58 On 64-bit platforms, this value can be checked without the need to take a lock on the overall struc… 60 a check on the value cannot be done on 32-bit platforms without using either a compare-and-swap (CA… 68 … for periodic calls, such as garbage collectors, or some state machines (ARP, bridging, and so on).
|
| /dpdk/doc/guides/faq/ |
| H A D | faq.rst | 33 …guarantee that huge pages will be reserved on specific sockets. Therefore, allocated huge pages ma… 42 …pically being allocated on a local NUMA node, the hugepages allocation the application gets during… 43 NUMA node it is running on (the EAL does not affinitize cores until much later in the initializatio… 44 Sometimes, the Linux OS runs the DPDK application on a core that is located on a different NUMA nod… 45 therefore all the hugepages are allocated on the wrong socket. 103 Using eight logical cores on each processor with RSS set to distribute network load from two 10 GbE… 135 In this case, this has to be done manually on the VM host, using the following command: 170 cores and run the application's other work on other cores using the DPDK's "coremask" setting to sp… 171 cores it should launch itself on. 192 Why can't my application receive packets on my system with UEFI Secure Boot enabled? [all …]
|
| /dpdk/doc/guides/nics/ |
| H A D | pcap_ring.rst | 19 be installed on the board. 58 * rx_pcap: Defines a reception stream based on a pcap file. 64 * tx_pcap: Defines a transmission stream based on a pcap file. 80 The driver captures only the incoming packets on that interface. 119 - Drop all packets on transmit 125 In this case, one tx drop queue is created for each rxq on that device. 127 - Receive no packets on Rx 169 Enable 2 tx queues on a network interface: 199 set flush_rx on/off 227 EAL: Detected lcore 1 as core 1 on socket 0 [all …]
|
| H A D | bnxt.rst | 44 The BNXT PMD can run on PF or VF. 67 Running on VF 115 trusted attribute on the VF. It is preferable to enable the Trusted setting on a 132 Running on PF 135 Unlike the VF when BNXT PMD runs on a PF there are no restrictions placed on the 139 A sysadmin can load the kernel driver on one PF, and run BNXT PMD on the other 190 auto-negotiation on a port: 289 enabled on a port, every packet received on the port is forwarded to the 302 burn cycles on every packet. 538 synchronize the time on the NIC (and optionally, on the system) to a PTP master. [all …]
|
| /dpdk/drivers/net/i40e/ |
| H A D | rte_pmd_i40e.h | 366 uint8_t on); 385 uint8_t on); 401 uint8_t on); 420 uint8_t on); 439 uint8_t on); 499 rte_pmd_i40e_set_vf_vlan_stripq(uint16_t port, uint16_t vf, uint8_t on); 537 uint8_t on); 555 int rte_pmd_i40e_set_vf_vlan_tag(uint16_t port, uint16_t vf_id, uint8_t on); 577 uint64_t vf_mask, uint8_t on);
|
| /dpdk/doc/guides/gpus/ |
| H A D | cuda.rst | 8 Information and documentation about these devices can be found on the 37 installed on your system. 46 $ # Launch gdrdrv kernel module on the system 92 has to be loaded on the system: 116 on the system or specified via EAL device options (e.g. ``-a b6:00.0``). 128 on GPU physical devices. 147 - Allocate memory on the GPU. 164 module running on the system; 172 Supported only on Linux. 192 The application is based on vanilla DPDK example l2fwd [all …]
|
| /dpdk/lib/ |
| H A D | meson.build | 12 'kvargs', # eal depends on kvargs 14 'eal', # everything depends on eal 16 'rcu', # rcu depends on ring 24 'metrics', # bitrate/latency stats depends on this 25 'hash', # efd depends on this 26 'timer', # eventdev depends on this 57 'ipsec', # ipsec lib depends on net, crypto and security 58 'fib', #fib lib depends on rib 60 'pdump', # pdump lib depends on bpf 63 'flow_classify', # flow_classify lib depends on pkt framework table lib [all …]
|
| /dpdk/doc/guides/cryptodevs/ |
| H A D | cnxk.rst | 8 cryptographic operations to cryptographic accelerator units on the 80 The OCTEON cnxk crypto PMD may be compiled natively on an OCTEON cnxk platform 81 or cross-compiled on an x86 platform. 96 List the CPT PF devices available on cn9k platform: 108 Set ``sriov_numvfs`` on the CPT PF device, to create a VF: 136 List the CPT PF devices available on cn10k platform: 148 Set ``sriov_numvfs`` on the CPT PF device, to create a VF: 193 The symmetric crypto operations on OCTEON cnxk crypto PMD may be verified by 210 The asymmetric crypto operations on OCTEON cnxk crypto PMD may be verified by 234 Refer to :doc:`../prog_guide/rte_security` for more details on protocol offloads.
|
| /dpdk/doc/guides/freebsd_gsg/ |
| H A D | install_from_ports.rst | 9 The easiest way to get up and running with the DPDK on FreeBSD is to 24 DPDK can be installed on FreeBSD using the command:: 28 After the installation of the DPDK package, instructions will be printed on 70 also be installed on the system. 99 EAL: PCI device 0000:00:19.0 on NUMA socket 0 102 EAL: PCI device 0000:01:00.0 on NUMA socket 0 104 EAL: PCI device 0000:01:00.1 on NUMA socket 0 106 EAL: PCI device 0000:01:00.2 on NUMA socket 0 108 EAL: PCI device 0000:01:00.3 on NUMA socket 0 118 To run a DPDK process as a non-root user, adjust the permissions on
|