<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ls1043 run dpdk l2fwd sample error in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940609#M4617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ls1043 run dpdk &lt;SPAN&gt;l2fwd&amp;nbsp;&lt;/SPAN&gt;sample error&lt;/P&gt;&lt;P&gt;#l2fwd -c 0x2 -n 1 -- -p 0x1 -q 1 -T 0&lt;/P&gt;&lt;P&gt;EAL: Detected 2 lcore(s)&lt;BR /&gt;EAL: Detected 1 NUMA nodes&lt;BR /&gt;EAL: Multi-process socket /var/run/dpdk/rte/mp_socket&lt;BR /&gt;EAL: Probing VFIO support...&lt;BR /&gt;EAL: VFIO support initialized&lt;BR /&gt;EAL: DPAA Bus Detected&lt;BR /&gt;PMD: Using FMC script mode,Make sure to use DPDK supported FMC scripts only.&lt;BR /&gt;l2fwd: process_portal_map(): Unknown error -19&lt;BR /&gt;dpaa: bman_thread_init failed on core 1 (lcore=1) with ret: -19&lt;BR /&gt;rte_dpaa_probe(): Unable to initialize portal&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;l2fwd: process_portal_map(): Unknown error -19&lt;BR /&gt;dpaa: bman_thread_init failed on core 1 (lcore=1) with ret: -19&lt;BR /&gt;rte_dpaa_probe(): Unable to initialize portal&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;l2fwd: process_portal_map(): Unknown error -19&lt;BR /&gt;dpaa: bman_thread_init failed on core 1 (lcore=1) with ret: -19&lt;BR /&gt;rte_dpaa_probe(): Unable to initialize portal&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;l2fwd: process_portal_map(): Unknown error -19&lt;BR /&gt;dpaa: bman_thread_init failed on core 1 (lcore=1) with ret: -19&lt;BR /&gt;rte_dpaa_probe(): Unable to initialize portal&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;l2fwd: process_portal_map(): Unknown error -19&lt;BR /&gt;dpaa: bman_thread_init failed on core 1 (lcore=1) with ret: -19&lt;BR /&gt;rte_dpaa_probe(): Unable to initialize portal&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;dpaa_sec: qman_create_fq failed&lt;BR /&gt;dpaa_sec: config tx of queue pair 0&lt;BR /&gt;dpaa_sec: driver dpaa_sec-5: create failed&lt;/P&gt;&lt;P&gt;EAL: Error: Invalid memory&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;dpaa_sec: qman_create_fq failed&lt;BR /&gt;dpaa_sec: config tx of queue pair 0&lt;BR /&gt;dpaa_sec: driver dpaa_sec-5: create failed&lt;/P&gt;&lt;P&gt;EAL: Error: Invalid memory&lt;BR /&gt;CRYPTODEV: rte_cryptodev_close() line 909: Invalid dev_id=0&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;dpaa_sec: qman_create_fq failed&lt;BR /&gt;dpaa_sec: config tx of queue pair 0&lt;BR /&gt;dpaa_sec: driver dpaa_sec-5: create failed&lt;/P&gt;&lt;P&gt;EAL: Error: Invalid memory&lt;BR /&gt;CRYPTODEV: rte_cryptodev_close() line 909: Invalid dev_id=0&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;dpaa_sec: qman_create_fq failed&lt;BR /&gt;dpaa_sec: config tx of queue pair 0&lt;BR /&gt;dpaa_sec: driver dpaa_sec-5: create failed&lt;/P&gt;&lt;P&gt;EAL: Error: Invalid memory&lt;BR /&gt;CRYPTODEV: rte_cryptodev_close() line 909: Invalid dev_id=0&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;MAC updating enabled&lt;BR /&gt;EAL: Error - exiting with code: 1&lt;BR /&gt; Cause: No Ethernet ports - bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2019 08:31:37 GMT</pubDate>
    <dc:creator>lixiaofan</dc:creator>
    <dc:date>2019-09-18T08:31:37Z</dc:date>
    <item>
      <title>ls1043 run dpdk l2fwd sample error</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940609#M4617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ls1043 run dpdk &lt;SPAN&gt;l2fwd&amp;nbsp;&lt;/SPAN&gt;sample error&lt;/P&gt;&lt;P&gt;#l2fwd -c 0x2 -n 1 -- -p 0x1 -q 1 -T 0&lt;/P&gt;&lt;P&gt;EAL: Detected 2 lcore(s)&lt;BR /&gt;EAL: Detected 1 NUMA nodes&lt;BR /&gt;EAL: Multi-process socket /var/run/dpdk/rte/mp_socket&lt;BR /&gt;EAL: Probing VFIO support...&lt;BR /&gt;EAL: VFIO support initialized&lt;BR /&gt;EAL: DPAA Bus Detected&lt;BR /&gt;PMD: Using FMC script mode,Make sure to use DPDK supported FMC scripts only.&lt;BR /&gt;l2fwd: process_portal_map(): Unknown error -19&lt;BR /&gt;dpaa: bman_thread_init failed on core 1 (lcore=1) with ret: -19&lt;BR /&gt;rte_dpaa_probe(): Unable to initialize portal&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;l2fwd: process_portal_map(): Unknown error -19&lt;BR /&gt;dpaa: bman_thread_init failed on core 1 (lcore=1) with ret: -19&lt;BR /&gt;rte_dpaa_probe(): Unable to initialize portal&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;l2fwd: process_portal_map(): Unknown error -19&lt;BR /&gt;dpaa: bman_thread_init failed on core 1 (lcore=1) with ret: -19&lt;BR /&gt;rte_dpaa_probe(): Unable to initialize portal&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;l2fwd: process_portal_map(): Unknown error -19&lt;BR /&gt;dpaa: bman_thread_init failed on core 1 (lcore=1) with ret: -19&lt;BR /&gt;rte_dpaa_probe(): Unable to initialize portal&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;l2fwd: process_portal_map(): Unknown error -19&lt;BR /&gt;dpaa: bman_thread_init failed on core 1 (lcore=1) with ret: -19&lt;BR /&gt;rte_dpaa_probe(): Unable to initialize portal&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;dpaa_sec: qman_create_fq failed&lt;BR /&gt;dpaa_sec: config tx of queue pair 0&lt;BR /&gt;dpaa_sec: driver dpaa_sec-5: create failed&lt;/P&gt;&lt;P&gt;EAL: Error: Invalid memory&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;dpaa_sec: qman_create_fq failed&lt;BR /&gt;dpaa_sec: config tx of queue pair 0&lt;BR /&gt;dpaa_sec: driver dpaa_sec-5: create failed&lt;/P&gt;&lt;P&gt;EAL: Error: Invalid memory&lt;BR /&gt;CRYPTODEV: rte_cryptodev_close() line 909: Invalid dev_id=0&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;dpaa_sec: qman_create_fq failed&lt;BR /&gt;dpaa_sec: config tx of queue pair 0&lt;BR /&gt;dpaa_sec: driver dpaa_sec-5: create failed&lt;/P&gt;&lt;P&gt;EAL: Error: Invalid memory&lt;BR /&gt;CRYPTODEV: rte_cryptodev_close() line 909: Invalid dev_id=0&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;dpaa_sec: qman_create_fq failed&lt;BR /&gt;dpaa_sec: config tx of queue pair 0&lt;BR /&gt;dpaa_sec: driver dpaa_sec-5: create failed&lt;/P&gt;&lt;P&gt;EAL: Error: Invalid memory&lt;BR /&gt;CRYPTODEV: rte_cryptodev_close() line 909: Invalid dev_id=0&lt;BR /&gt;dpaa: Unable to probe.&lt;/P&gt;&lt;P&gt;MAC updating enabled&lt;BR /&gt;EAL: Error - exiting with code: 1&lt;BR /&gt; Cause: No Ethernet ports - bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 08:31:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940609#M4617</guid>
      <dc:creator>lixiaofan</dc:creator>
      <dc:date>2019-09-18T08:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: ls1043 run dpdk l2fwd sample error</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940610#M4618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="348201" data-username="lixiaofan@inspur.com" href="https://community.nxp.com/people/lixiaofan@inspur.com"&gt;Xiaofan Lee&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the following procedure to set up DPDK &lt;SPAN&gt;l2fwd&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;1. Please boot up the target board with DPDK&lt;SPAN style="font-size: 12.0pt;"&gt; specific Device Tree file &lt;STRONG&gt;fsl-ls1043a-rdb-usdpaa.dtb&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;2. Please configure bootargs as the following.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;setenv bootargs "console=ttyS0,115200 root=/dev/mmcblk0p3 rw rootwait earlycon=uart8250,mmio,0x21c0500 d&lt;STRONG&gt;efault_hugepagesz=2MB hugepagesz=2MB hugepages=448 isolcpus=1-3 bportals=s0 qportals=s0 iommu.passthrough=1&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;3. Setup DPAA environment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;# fmc -x&lt;BR /&gt;# fmc -c ./usdpaa_config_ls1043.xml -p ./usdpaa_policy_hash_ipv4_1queue.xml -a&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;4. # l2fwd -c 0x2 -n 1 -- -p 0x1 -q 1 -T 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;If your problem remains, please provide more detailed information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Which version LSDK are you using?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Would you please attach your Linux console log including Linux Kernel booting up log and all your operations?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Yiping&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 05:58:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940610#M4618</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-09-19T05:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: ls1043 run dpdk l2fwd sample error</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940611#M4619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yipingwang"&gt;yipingwang&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Hi YiPing,&lt;/P&gt;&lt;P&gt;Thanks for your help, now I can setup l2fwd dpdk sample, next step I want to use vpp, according&amp;nbsp;LSDK-KC-REV18.12.pdf 9.3.4,&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;LS1046 and LS1043 Board setup:&lt;BR /&gt;— mkdir /mnt/hugepages&lt;BR /&gt;— mount -t hugetlbfs none /mnt/hugepages&lt;BR /&gt;— echo 256 &amp;gt; /proc/sys/vm/nr_hugepages&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;root@localhost:/usr/local/nxp/dpaa# vpp -c /etc/startup.conf &lt;BR /&gt;vlib_plugin_early_init:361: plugin path /usr/local/lib/vpp_plugins&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): abf_plugin.so&lt;BR /&gt;load_one_plugin:189: Loaded plugin: acl_plugin.so (Access Control Lists)&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): avf_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): cdp_plugin.so&lt;BR /&gt;load_one_plugin:189: Loaded plugin: dpdk_plugin.so (Data Plane Development Kit (DPDK))&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): flowprobe_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): gbp_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): gtpu_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): igmp_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): ila_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): ioam_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): ixge_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): l2e_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): lacp_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): lb_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): mactime_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): map_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): memif_plugin.so&lt;BR /&gt;load_one_plugin:189: Loaded plugin: nat_plugin.so (Network Address Translation)&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): nsh_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): nsim_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): perfmon_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): pppoe_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): srv6ad_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): srv6am_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): srv6as_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): stn_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): svs_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): tlsopenssl_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): unittest_plugin.so&lt;BR /&gt;load_one_plugin:117: Plugin disabled (default): vmxnet3_plugin.so&lt;BR /&gt;vpp[3106]: clib_elf_parse_file: open `/usr/local/bin/vpp': No such file or directory&lt;BR /&gt;vpp[3106]: clib_elf_parse_file: open `linux-vdso.so.1': No such file or directory&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: stn_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: memif_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: cdp_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: vmxnet3_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: flowprobe_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: avf_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: acl_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: gtpu_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: pppoe_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: nsh_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: dpdk_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: lacp_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: ioam_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: mactime_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: lb_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: nat_test_plugin.so&lt;BR /&gt;vpp[3106]: load_one_vat_plugin:67: Loaded plugin: nsim_test_plugin.so&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;vpp[3106]: received signal SIGSEGV, PC unsupported, faulting address 0x80000&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Aborted&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my startup.conf as below:&lt;/P&gt;&lt;P&gt;root@localhost:/usr/local/nxp/dpaa# cat /etc/startup.conf &lt;BR /&gt;heapsize 128M&lt;/P&gt;&lt;P&gt;unix {&lt;BR /&gt; nodaemon&lt;BR /&gt; log /tmp/vpp.log&lt;BR /&gt; full-coredump&lt;BR /&gt; cli-listen /run/vpp/cli.sock&lt;BR /&gt; exec ./cmd.txt&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;api-trace {&lt;BR /&gt;## This stanza controls binary API tracing. Unless there is a very strong reason,&lt;BR /&gt;## please leave this feature enabled.&lt;BR /&gt; on&lt;BR /&gt;## Additional parameters:&lt;BR /&gt;##&lt;BR /&gt;## To set the number of binary API trace records in the circular buffer, configure nitems&lt;BR /&gt;##&lt;BR /&gt;## nitems &amp;lt;nnn&amp;gt;&lt;BR /&gt;##&lt;BR /&gt;## To save the api message table decode tables, configure a filename. Results in /tmp/&amp;lt;filename&amp;gt;&lt;BR /&gt;## Very handy for understanding api message changes between versions, identifying missing&lt;BR /&gt;## plugins, and so forth.&lt;BR /&gt;##&lt;BR /&gt;## save-api-table &amp;lt;filename&amp;gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;#api-segment {&lt;BR /&gt;# gid vpp&lt;BR /&gt;#}&lt;/P&gt;&lt;P&gt;#socksvr {&lt;BR /&gt;# default&lt;BR /&gt;#}&lt;/P&gt;&lt;P&gt;cpu {&lt;BR /&gt; ## In the VPP there is one main thread and optionally the user can create worker(s)&lt;BR /&gt; ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically&lt;/P&gt;&lt;P&gt;## Manual pinning of thread(s) to CPU core(s)&lt;/P&gt;&lt;P&gt;## Set logical CPU core where main thread runs, if main core is not set&lt;BR /&gt; ## VPP will use core 1 if available&lt;BR /&gt; main-core 0&lt;/P&gt;&lt;P&gt;## Set logical CPU core(s) where worker threads are running&lt;BR /&gt; # corelist-workers 2-3,18-19&lt;/P&gt;&lt;P&gt;## Automatic pinning of thread(s) to CPU core(s)&lt;/P&gt;&lt;P&gt;## Sets number of CPU core(s) to be skipped (1 ... N-1)&lt;BR /&gt; ## Skipped CPU core(s) are not used for pinning main thread and working thread(s).&lt;BR /&gt; ## The main thread is automatically pinned to the first available CPU core and worker(s)&lt;BR /&gt; ## are pinned to next free CPU core(s) after core assigned to main thread&lt;BR /&gt; # skip-cores 4&lt;/P&gt;&lt;P&gt;## Specify a number of workers to be created&lt;BR /&gt; ## Workers are pinned to N consecutive CPU cores while skipping "skip-cores" CPU core(s)&lt;BR /&gt; ## and main thread's CPU core&lt;BR /&gt; workers 1&lt;/P&gt;&lt;P&gt;## Set scheduling policy and priority of main and worker threads&lt;/P&gt;&lt;P&gt;## Scheduling policy options are: other (SCHED_OTHER), batch (SCHED_BATCH)&lt;BR /&gt; ## idle (SCHED_IDLE), fifo (SCHED_FIFO), rr (SCHED_RR)&lt;BR /&gt; # scheduler-policy fifo&lt;/P&gt;&lt;P&gt;## Scheduling priority is used only for "real-time policies (fifo and rr),&lt;BR /&gt; ## and has to be in the range of priorities supported for a particular policy&lt;BR /&gt; # scheduler-priority 50&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;dpdk {&lt;BR /&gt; ## Change default settings for all intefaces&lt;BR /&gt; huge-dir /mnt/hugepages&lt;BR /&gt; no-pci&lt;BR /&gt; num-mem-channels 1&lt;/P&gt;&lt;P&gt;#vdev crypto_armv8&lt;/P&gt;&lt;P&gt;## Crypto Protocol Offload will be Enabled by default&lt;BR /&gt; enable-lookaside-proto-offload&lt;/P&gt;&lt;P&gt;dev default {&lt;BR /&gt; ## Number of receive queues, enables RSS&lt;BR /&gt; ## Default is 1&lt;BR /&gt; num-rx-queues 1&lt;/P&gt;&lt;P&gt;# rss { ipv4 }&lt;/P&gt;&lt;P&gt;## Number of transmit queues, Default is equal&lt;BR /&gt; ## to number of worker threads or 1 if no workers treads&lt;BR /&gt; num-tx-queues 1&lt;/P&gt;&lt;P&gt;## Number of descriptors in transmit and receive rings&lt;BR /&gt; ## increasing or reducing number can impact performance&lt;BR /&gt; ## Default is 1024 for both rx and tx&lt;BR /&gt; # num-rx-desc 512&lt;BR /&gt; # num-tx-desc 512&lt;/P&gt;&lt;P&gt;## VLAN strip offload mode for interface&lt;BR /&gt; ## Default is off&lt;BR /&gt; # vlan-strip-offload on&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;## Whitelist specific interface by specifying PCI address&lt;BR /&gt; # dev 0000:02:00.0&lt;/P&gt;&lt;P&gt;## Blacklist specific device type by specifying PCI vendor:device&lt;BR /&gt; ## Whitelist entries take precedence&lt;BR /&gt; # blacklist 8086:10fb&lt;/P&gt;&lt;P&gt;## Set interface name&lt;BR /&gt; # dev 0000:02:00.1 {&lt;BR /&gt; # name eth0&lt;BR /&gt; # }&lt;/P&gt;&lt;P&gt;## Whitelist specific interface by specifying PCI address and in&lt;BR /&gt; ## addition specify custom parameters for this interface&lt;BR /&gt; # dev 0000:02:00.1 {&lt;BR /&gt; # num-rx-queues 2&lt;BR /&gt; # }&lt;/P&gt;&lt;P&gt;## Specify bonded interface and its slaves via PCI addresses&lt;BR /&gt; ##&lt;BR /&gt; ## Bonded interface in XOR load balance mode (mode 2) with L3 and L4 headers&lt;BR /&gt; # vdev eth_bond0,mode=2,slave=0000:02:00.0,slave=0000:03:00.0,xmit_policy=l34&lt;BR /&gt; # vdev eth_bond1,mode=2,slave=0000:02:00.1,slave=0000:03:00.1,xmit_policy=l34&lt;BR /&gt; ##&lt;BR /&gt; ## Bonded interface in Active-Back up mode (mode 1)&lt;BR /&gt; # vdev eth_bond0,mode=1,slave=0000:02:00.0,slave=0000:03:00.0&lt;BR /&gt; # vdev eth_bond1,mode=1,slave=0000:02:00.1,slave=0000:03:00.1&lt;/P&gt;&lt;P&gt;## Change UIO driver used by VPP, Options are: igb_uio, vfio-pci,&lt;BR /&gt; ## uio_pci_generic or auto (default)&lt;BR /&gt; # uio-driver vfio-pci&lt;/P&gt;&lt;P&gt;## Disable multi-segment buffers, improves performance but&lt;BR /&gt; ## disables Jumbo MTU support&lt;BR /&gt; # no-multi-seg&lt;/P&gt;&lt;P&gt;## Increase number of buffers allocated, needed only in scenarios with&lt;BR /&gt; ## large number of interfaces and worker threads. Value is per CPU socket.&lt;BR /&gt; ## Default is 16384&lt;BR /&gt; num-mbufs 8000&lt;/P&gt;&lt;P&gt;## Change hugepages allocation per-socket, needed only if there is need for&lt;BR /&gt; ## larger number of mbufs. Default is 256M on each detected CPU socket&lt;BR /&gt; # socket-mem 2048,2048&lt;/P&gt;&lt;P&gt;## Disables UDP / TCP TX checksum offload. Typically needed for use&lt;BR /&gt; ## faster vector PMDs (together with no-multi-seg)&lt;BR /&gt; # no-tx-checksum-offload&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;plugins {&lt;BR /&gt; ## Adjusting the plugin path depending on where the VPP plugins are&lt;BR /&gt; # path /ws/vpp/build-root/install-vpp-native/vpp/lib/vpp_plugins&lt;/P&gt;&lt;P&gt;## Disable all plugins by default and then selectively enable specific plugins&lt;BR /&gt; plugin default { disable }&lt;BR /&gt; plugin dpdk_plugin.so { enable }&lt;BR /&gt; plugin acl_plugin.so { enable }&lt;BR /&gt; plugin nat_plugin.so { enable }&lt;/P&gt;&lt;P&gt;## Enable all plugins by default and then selectively disable specific plugins&lt;BR /&gt; # plugin dpdk_plugin.so { disable }&lt;BR /&gt; # plugin acl_plugin.so { disable }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any reply will be very &lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 13px;"&gt;appreciated&lt;/SPAN&gt;, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2019 03:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940611#M4619</guid>
      <dc:creator>lixiaofan</dc:creator>
      <dc:date>2019-09-20T03:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: ls1043 run dpdk l2fwd sample error</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940612#M4620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please create a new thread for your new problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2019 05:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940612#M4620</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-09-20T05:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: ls1043 run dpdk l2fwd sample error</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940613#M4621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have similar problem, tried to start kernel with specified arguments, but still can't resolve the problem =)&lt;/P&gt;&lt;P&gt;Is it possible to get &lt;STRONG&gt;SD-card&lt;/STRONG&gt; image with all necessary things configured ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 09:11:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-run-dpdk-l2fwd-sample-error/m-p/940613#M4621</guid>
      <dc:creator>pavel_meld</dc:creator>
      <dc:date>2019-11-15T09:11:53Z</dc:date>
    </item>
  </channel>
</rss>

