<?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 Re: Issue with dpdk-l2fwd-crypto Application SW on Ubuntu 20.04 PC in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1857201#M22446</link>
    <description>&lt;P&gt;&lt;STRONG&gt;The step which i followed is below :&lt;/STRONG&gt;&lt;BR /&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08$ export PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig:$PKG_CONFIG_PATH&lt;/P&gt;&lt;P&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08$ cd build/&lt;BR /&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build$ sudo ninja install&lt;/P&gt;&lt;P&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build$ cd examples/&lt;BR /&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build/examples$ sudo modprobe cryptodev&lt;BR /&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build/examples$ ls /dev/crypto&lt;BR /&gt;/dev/crypto&lt;BR /&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build/examples$ openssl engine&lt;BR /&gt;(rdrand) Intel RDRAND engine&lt;BR /&gt;(dynamic) Dynamic engine loading support&lt;/P&gt;&lt;P&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build/examples$ sudo ./dpdk-l2fwd-crypto -l 1 -n 2 --vdev "crypto_openssl0" --vdev "crypto_openssl1" -- -p 0x3 --chain CIPHER_ONLY --cdev_type SW --cipher_algo aes-cbc --cipher_op ENCRYPT --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --no-mac-updating&lt;/P&gt;&lt;P&gt;EAL: Detected 4 lcore(s)&lt;BR /&gt;EAL: Detected 1 NUMA nodes&lt;BR /&gt;EAL: Detected static linkage of DPDK&lt;BR /&gt;EAL: failed to parse device "crypto_openssl0"&lt;BR /&gt;EAL: Unable to parse device 'crypto_openssl0'&lt;BR /&gt;EAL: Error - exiting with code: 1&lt;BR /&gt;Cause: Invalid EAL arguments&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Still same issue &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 05:10:52 GMT</pubDate>
    <dc:creator>sheikfaaruk</dc:creator>
    <dc:date>2024-04-30T05:10:52Z</dc:date>
    <item>
      <title>Issue with dpdk-l2fwd-crypto Application SW on Ubuntu 20.04 PC</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1854492#M22374</link>
      <description>&lt;P&gt;I am testing dpdk application in PC with PCI-E Dual-RJ45 gigabit NIC card to develop a network based application. I have started my project with dpdk 21.08 and Codewarrior IDE.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PC details :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;uname -a&lt;BR /&gt;Linux mglocadmin-ThinkCentre-M73 5.15.0-105-generic #115~20.04.1-Ubuntu SMP Mon Apr 15 17:33:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The following steps to install DPDK (Data Plane Development Kit) on Ubuntu 20.04:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;sudo apt update&lt;BR /&gt;sudo apt install build-essential meson python3-pyelftools libnuma-dev pkgconf&lt;BR /&gt;wget &lt;A href="https://fast.dpdk.org/rel/dpdk-21.08.tar.xz" target="_blank" rel="noopener"&gt;https://fast.dpdk.org/rel/dpdk-21.08.tar.xz&lt;/A&gt;&lt;BR /&gt;tar -xf dpdk-21.08.tar.xz&lt;BR /&gt;meson build&lt;BR /&gt;ninja -C build&lt;BR /&gt;meson -Dexamples=all build&lt;BR /&gt;sudo ninja install&lt;BR /&gt;sudo ldconfig&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Setup hugepage in PC:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;mkdir -p /dev/hugepages&lt;BR /&gt;mountpoint -q /dev/hugepages || mount -t hugetlbfs nodev /dev/hugepages&lt;BR /&gt;echo 64 &amp;gt; /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Setup NIC card in PC:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sudo ifconfig enp2s0f1 down&lt;BR /&gt;sudo ifconfig enp2s0f0 down&lt;/P&gt;&lt;P&gt;cd /&amp;lt;Path&amp;gt;/dpdk-21.08/usertools/&lt;BR /&gt;sudo modprobe uio&lt;BR /&gt;sudo modprobe uio_pci_generic&lt;BR /&gt;sudo dpdk-devbind.py -b uio_pci_generic 02:00.0&lt;BR /&gt;sudo dpdk-devbind.py -b uio_pci_generic 02:00.1&lt;BR /&gt;dpdk-devbind.py -s&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Log "dpdk-devbind.py -s":&lt;/STRONG&gt;&lt;BR /&gt;Network devices using DPDK-compatible driver&lt;BR /&gt;0000:02:00.0 '82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) 105e' drv=uio_pci_generic unused=e1000e,vfio-pci&lt;BR /&gt;0000:02:00.1 '82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) 105e' drv=uio_pci_generic unused=e1000e,vfio-pci&lt;BR /&gt;Network devices using kernel driver&lt;BR /&gt;0000:03:00.0 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 8168' if=enp3s0 drv=r8169 unused=vfio-pci,uio_pci_generic *Active*&lt;BR /&gt;&lt;BR /&gt;cd /&amp;lt;PATH&amp;gt;/dpdk-21.08/build/examples&lt;BR /&gt;sudo ./dpdk-l2fwd -c 0x3 -n 4 -- -p 0x3 -q 8 --no-mac-updating&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Openssl and cryptodev details:&lt;/STRONG&gt;&lt;BR /&gt;mglocadmin@mglocadmin$ sudo modprobe cryptodev&lt;BR /&gt;[sudo] password for mglocadmin:&lt;BR /&gt;mglocadmin@mglocadmin$ openssl version&lt;BR /&gt;OpenSSL 1.1.1f 31 Mar 2020&lt;BR /&gt;mglocadmin@mglocadmin$ ls /dev/crypto&lt;BR /&gt;/dev/crypto&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE : DPDK-L2fwd application is working&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But ,I am unable to get dpdk-l2fwd-crypto to function properly on my Ubuntu 20.04 system. I've checked the dependencies, ensured that DPDK is properly configured, and attempted various troubleshooting steps, but to no avail.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR log:&lt;/STRONG&gt;&lt;BR /&gt;sudo ./dpdk-l2fwd-crypto -l 1 -n 2 --vdev "crypto_openssl0" --vdev "crypto_openssl1" -- -p 0x3 --chain CIPHER_ONLY --cdev_type SW --cipher_algo aes-cbc --cipher_op ENCRYPT --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --no-mac-updating&lt;BR /&gt;EAL: Detected 4 lcore(s)&lt;BR /&gt;EAL: Detected 1 NUMA nodes&lt;BR /&gt;EAL: Detected static linkage of DPDK&lt;BR /&gt;EAL: failed to parse device "crypto_openssl0"&lt;BR /&gt;EAL: Unable to parse device 'crypto_openssl0'&lt;BR /&gt;EAL: Error - exiting with code: 1&lt;BR /&gt;Cause: Invalid EAL arguments&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;kindly help us to resolve this issue.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 08:02:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1854492#M22374</guid>
      <dc:creator>sheikfaaruk</dc:creator>
      <dc:date>2024-04-25T08:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dpdk-l2fwd-crypto Application SW on Ubuntu 20.04 PC</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1856406#M22425</link>
      <description>&lt;P style="background: white; margin: 7.5pt 0cm 0cm 0cm;"&gt;&lt;SPAN&gt;Can you please check whether DPDK is being compiled with "openssl" library.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0cm 0cm 0cm;"&gt;&lt;SPAN&gt;Below path is must to compile DPDK with openssl:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0cm 0cm 0cm;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0cm 0cm 0cm;"&gt;&lt;SPAN&gt;export PKG_CONFIG_PATH=&amp;lt;OpenSSL lib path&amp;gt;/lib/pkgconfig:$PKG_CONFIG_PATH&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0cm 0cm 0cm;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0cm 0cm 0cm;"&gt;&lt;SPAN&gt;Please refer to the following line in&amp;nbsp;flexbuild_lsdk2108_github/packages/apps/networking/dpdk.mk&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0cm 0cm 0cm;"&gt;&lt;SPAN&gt;&lt;CODE data-application="com.atlassian.bitbucket-server" data-language="plain text"&gt;export PKG_CONFIG_PATH=$(DESTDIR)/usr/local/lib/pkgconfig:$(PKG_CONFIG_PATH) &amp;amp;&amp;amp; \&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 03:36:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1856406#M22425</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-04-29T03:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dpdk-l2fwd-crypto Application SW on Ubuntu 20.04 PC</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1856425#M22426</link>
      <description>&lt;P&gt;Thank you for reply &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;...&lt;BR /&gt;&lt;BR /&gt;But I was tried to build and run dpdk-l2fwd-crypto application in PC .so I am directly install DPDK not with flex-builder.&lt;BR /&gt;&lt;BR /&gt;Is there any configuration in DPDK i need to change or modify for enable openssl ?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 09:19:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1856425#M22426</guid>
      <dc:creator>sheikfaaruk</dc:creator>
      <dc:date>2024-04-29T09:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dpdk-l2fwd-crypto Application SW on Ubuntu 20.04 PC</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1857181#M22444</link>
      <description>&lt;P&gt;As I mentioned previously, please execute the following before building DPDK.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;export PKG_CONFIG_PATH=&amp;lt;OpenSSL lib path&amp;gt;/lib/pkgconfig:$PKG_CONFIG_PATH&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 03:54:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1857181#M22444</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-04-30T03:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dpdk-l2fwd-crypto Application SW on Ubuntu 20.04 PC</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1857201#M22446</link>
      <description>&lt;P&gt;&lt;STRONG&gt;The step which i followed is below :&lt;/STRONG&gt;&lt;BR /&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08$ export PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig:$PKG_CONFIG_PATH&lt;/P&gt;&lt;P&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08$ cd build/&lt;BR /&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build$ sudo ninja install&lt;/P&gt;&lt;P&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build$ cd examples/&lt;BR /&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build/examples$ sudo modprobe cryptodev&lt;BR /&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build/examples$ ls /dev/crypto&lt;BR /&gt;/dev/crypto&lt;BR /&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build/examples$ openssl engine&lt;BR /&gt;(rdrand) Intel RDRAND engine&lt;BR /&gt;(dynamic) Dynamic engine loading support&lt;/P&gt;&lt;P&gt;mglocadmin@mglocadmin-ThinkCentre-M73:~/NIC/dpdk-21.08/build/examples$ sudo ./dpdk-l2fwd-crypto -l 1 -n 2 --vdev "crypto_openssl0" --vdev "crypto_openssl1" -- -p 0x3 --chain CIPHER_ONLY --cdev_type SW --cipher_algo aes-cbc --cipher_op ENCRYPT --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --no-mac-updating&lt;/P&gt;&lt;P&gt;EAL: Detected 4 lcore(s)&lt;BR /&gt;EAL: Detected 1 NUMA nodes&lt;BR /&gt;EAL: Detected static linkage of DPDK&lt;BR /&gt;EAL: failed to parse device "crypto_openssl0"&lt;BR /&gt;EAL: Unable to parse device 'crypto_openssl0'&lt;BR /&gt;EAL: Error - exiting with code: 1&lt;BR /&gt;Cause: Invalid EAL arguments&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Still same issue &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 05:10:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1857201#M22446</guid>
      <dc:creator>sheikfaaruk</dc:creator>
      <dc:date>2024-04-30T05:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dpdk-l2fwd-crypto Application SW on Ubuntu 20.04 PC</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1857208#M22447</link>
      <description>&lt;P&gt;After configuring&amp;nbsp;PKG_CONFIG_PATH, you need to recompiling DPDK with "meson arm64-build" command.&lt;/P&gt;
&lt;P&gt;For details, please refer to section "Compiling DPDK using meson" in LSDK 21.08 user manual.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 05:26:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Issue-with-dpdk-l2fwd-crypto-Application-SW-on-Ubuntu-20-04-PC/m-p/1857208#M22447</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-04-30T05:26:08Z</dc:date>
    </item>
  </channel>
</rss>

