<?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>Other NXP ProductsのトピックRe: Enable Hardware Crypto Engine</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Enable-Hardware-Crypto-Engine/m-p/2245547#M30653</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have enabled CAAM in my kernel module now. Now the problem I am encountering is :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1)&lt;/P&gt;&lt;P&gt;(Last lines of the output &lt;STRONG&gt;dmesg | grep -i caam&lt;/STRONG&gt; )&lt;/P&gt;&lt;P&gt;Device caam-keygen registered&amp;nbsp;&lt;/P&gt;&lt;P&gt;caam_jr 17300000.jr : failed to flush job ring 2.&lt;/P&gt;&lt;P&gt;probe of 17300000.jr failed with error -5.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q2)&amp;nbsp;&lt;/P&gt;&lt;P&gt;for af-xdp the traffic coming on port &lt;STRONG&gt;eno1&lt;/STRONG&gt; is handled like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sudo ethtool -L eno1 combined 2&lt;/P&gt;&lt;P&gt;# Add a flow rule to direct TCP traffic destined for port 443 to RX queue 1&lt;BR /&gt;sudo ethtool -N eno1 flow-type tcp4 dst-port 443 action 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ./dpdk_app ... --&lt;STRONG&gt;vdev="net_af_xdp0,iface=eno1,start_queue=1,queue_count=1&lt;/STRONG&gt;" ...&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;nb_rx = rte_eth_rx_burst(portid, &lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;, pkts_burst, MAX_PKT_BURST);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here I am giving that specific portid on which data is coming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please calrify the queries.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Nov 2025 09:29:37 GMT</pubDate>
    <dc:creator>namanverma</dc:creator>
    <dc:date>2025-11-22T09:29:37Z</dc:date>
    <item>
      <title>Enable Hardware Crypto Engine</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Enable-Hardware-Crypto-Engine/m-p/2219351#M30629</link>
      <description>&lt;P&gt;Hello sir,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I am using NXP Layerscape 1046ARDB kit in which I am executing L2fwd-crypto code with the software crypto-device as INntel IPsec-mb. Also TLS is&amp;nbsp; running parallely to it for key exchange&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to migrate my code to kit with an objective to use Hardware crypto engine. So following are my queries related to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1) How can I enable the hardware crypto engine in the kit.&lt;/P&gt;&lt;P&gt;I'm currently giving command as:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;meson setup build --crossfile config/arm/arm64 -dpaa-linux_gcc -Denabledrivers=bus/dpaa,mempool/dpaa,crypto/dpaa_sec&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But only in Drivers section dma,raw,crypto dpaa is coming but not in enabled drivers section.&lt;/P&gt;&lt;P&gt;How to resolve it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q2) In the earlier version of the DPDK KNI was provided that is not available in newer version. So what is the alternative provided for this?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 09:49:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Enable-Hardware-Crypto-Engine/m-p/2219351#M30629</guid>
      <dc:creator>namanverma</dc:creator>
      <dc:date>2025-11-20T09:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Hardware Crypto Engine</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Enable-Hardware-Crypto-Engine/m-p/2221356#M30631</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;DIV class="container slds-m-bottom_x-small"&gt;
&lt;P&gt;Q1) To enable the hardware crypto engine:&lt;BR /&gt;The issue appears to be with your meson build command. For DPAA crypto acceleration support in DPDK, you need to properly include the DPAA Security driver. Check if you have the required dependencies installed and the correct Linux headers. The syntax in your command looks correct, but you may need to ensure your build environment has all necessary prerequisites.&lt;BR /&gt;&lt;BR /&gt;Try adding the full path to the DPAA SEC driver in your command:&lt;BR /&gt;```&lt;BR /&gt;meson setup build --crossfile config/arm/arm64_dpaa_linux_gcc -Denable_drivers=bus/dpaa,mempool/dpaa,crypto/dpaa_sec&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;If you still don't see it in the enabled drivers section, verify the DPAA crypto accelerator is properly initialized in your kernel and that the required DPDK libraries are properly installed.&lt;BR /&gt;&lt;BR /&gt;Q2) Regarding KNI (Kernel NIC Interface) alternatives:&lt;BR /&gt;In newer DPDK versions, KNI has been deprecated and removed. The recommended alternatives are:&lt;BR /&gt;&lt;BR /&gt;1. AF_XDP (Address Family eXpress Data Path) - Provides a high-performance packet processing interface&lt;BR /&gt;2. AF_PACKET - A standard socket interface for packet processing&lt;BR /&gt;3. Virtio-user - For userspace networking applications&lt;BR /&gt;&lt;BR /&gt;For your specific use case with TLS key exchange running in parallel with L2fwd-crypto, AF_XDP would likely provide the best performance characteristics as a KNI replacement.&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV data-render-key="1"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class="section slds-grid slds-gutters_direct slds-wrap"&gt;
&lt;DIV&gt;
&lt;DIV class="slds-grid slds-wrap slds-gutters_direct"&gt;Regards&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Nov 2025 12:44:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Enable-Hardware-Crypto-Engine/m-p/2221356#M30631</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-11-20T12:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Hardware Crypto Engine</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Enable-Hardware-Crypto-Engine/m-p/2245547#M30653</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have enabled CAAM in my kernel module now. Now the problem I am encountering is :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1)&lt;/P&gt;&lt;P&gt;(Last lines of the output &lt;STRONG&gt;dmesg | grep -i caam&lt;/STRONG&gt; )&lt;/P&gt;&lt;P&gt;Device caam-keygen registered&amp;nbsp;&lt;/P&gt;&lt;P&gt;caam_jr 17300000.jr : failed to flush job ring 2.&lt;/P&gt;&lt;P&gt;probe of 17300000.jr failed with error -5.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q2)&amp;nbsp;&lt;/P&gt;&lt;P&gt;for af-xdp the traffic coming on port &lt;STRONG&gt;eno1&lt;/STRONG&gt; is handled like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sudo ethtool -L eno1 combined 2&lt;/P&gt;&lt;P&gt;# Add a flow rule to direct TCP traffic destined for port 443 to RX queue 1&lt;BR /&gt;sudo ethtool -N eno1 flow-type tcp4 dst-port 443 action 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ./dpdk_app ... --&lt;STRONG&gt;vdev="net_af_xdp0,iface=eno1,start_queue=1,queue_count=1&lt;/STRONG&gt;" ...&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;nb_rx = rte_eth_rx_burst(portid, &lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;, pkts_burst, MAX_PKT_BURST);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here I am giving that specific portid on which data is coming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please calrify the queries.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Nov 2025 09:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Enable-Hardware-Crypto-Engine/m-p/2245547#M30653</guid>
      <dc:creator>namanverma</dc:creator>
      <dc:date>2025-11-22T09:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Hardware Crypto Engine</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Enable-Hardware-Crypto-Engine/m-p/2247445#M30676</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;1)&amp;nbsp;&lt;SPAN data-huuid="9853071603795151521"&gt;CAAM utilizes multiple "job rings" to manage and process cryptographic requests. &lt;SPAN data-huuid="9853071603795150330"&gt;Each job ring acts as a queue where the operating system can submit cryptographic jobs for the CAAM hardware to execute. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;UL data-hveid="CB8QAQ" data-ved="2ahUKEwjRivae-IqRAxWSKUQIHZfFM34Qm_YKegQIHxAB"&gt;
&lt;LI&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;&lt;SPAN data-huuid="9853071603795152044"&gt;&lt;STRONG&gt;"failed to flush job ring 2":&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&lt;SPAN data-huuid="9853071603795150853"&gt;This error suggests that the system attempted to clear or finalize outstanding jobs on Job Ring 2, but the operation failed. &lt;/SPAN&gt;&lt;SPAN data-huuid="9853071603795149662"&gt;This can happen for various reasons, including: &lt;/SPAN&gt;
&lt;UL data-hveid="CBoQAQ" data-ved="2ahUKEwjRivae-IqRAxWSKUQIHZfFM34Qm_YKegQIGhAB"&gt;
&lt;LI&gt;&lt;SPAN data-huuid="9853071603795149517"&gt;Errors in the CAAM driver or other kernel components that manage the job rings. &lt;/SPAN&gt;&lt;SPAN data-huuid="9853071603795152422"&gt;This could involve incorrect handling of scatter-gather lists, memory access issues, or timing problems. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-huuid="9853071603795148849"&gt;In some cases, mismatches between the U-Boot version (which initializes the CAAM) and the Linux kernel version can lead to such errors. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-huuid="9853071603795149372"&gt;Another part of the system might be interfering with the operation of Job Ring 2. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;DIV class="rPeykc pyPiTc" role="heading" aria-level="3" data-hveid="CCUQAQ" data-ved="2ahUKEwjRivae-IqRAxWSKUQIHZfFM34Qo_EKegQIJRAB"&gt;&lt;SPAN data-huuid="12219006101183582631"&gt;Potential Solutions and Troubleshooting: &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;UL data-hveid="CDUQAQ" data-ved="2ahUKEwjRivae-IqRAxWSKUQIHZfFM34Qm_YKegQINRAB"&gt;
&lt;LI&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183586216"&gt;&lt;STRONG&gt;Update U-Boot and Kernel:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183583315"&gt;Ensure that both your U-Boot and Linux kernel versions are compatible and up-to-date, especially if you are using NXP's Software Development Kit (SDK). &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183585705"&gt;&lt;STRONG&gt;Check for Patches:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183582804"&gt;Search for known bugs and patches related to CAAM and job ring flushing on the NXP community forums or relevant mailing lists. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183585194"&gt;&lt;STRONG&gt;Disable or Configure CAAM:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183582293"&gt;If the error is persistent and you don't critically rely on CAAM acceleration for that specific job ring, you might consider disabling it in the device tree or kernel configuration as a temporary workaround or for testing. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183584683"&gt;&lt;STRONG&gt;Examine Kernel Logs:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183585878"&gt;Look for other related error messages or warnings in the kernel logs (&lt;CODE class="mv6bHd"&gt;dmesg&lt;/CODE&gt;) that might provide more context about the failure. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="zMgcWd dSKvsb" data-il=""&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183584172"&gt;&lt;STRONG&gt;Review Device Tree Configuration:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183585367"&gt;Verify that the CAAM and its job rings are correctly configured in your device tree.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183585367"&gt;#&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&lt;SPAN data-huuid="12219006101183585367"&gt;2Here is a breakdown of the command and its prerequisites:&lt;/SPAN&gt;
&lt;DIV class="Y3BBE" data-sfc-cp="" data-hveid="CAIQAA" data-processed="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="Fsg96" data-sfc-cp="" data-processed="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="AdPoic" role="heading" aria-level="3" data-animation-nesting="" data-sfc-cp="" data-processed="true"&gt;Command Breakdown&lt;/DIV&gt;
&lt;DIV class="AdPoic" role="heading" aria-level="3" data-animation-nesting="" data-sfc-cp="" data-processed="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;UL class="KsbFXc U6u95" data-processed="true"&gt;
&lt;LI data-hveid="CAQQAA" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-sfc-cp="" data-processed="true"&gt;&lt;CODE class="o8j0Mc" dir="ltr" data-processed="true"&gt;--vdev="net_af_xdp0,..."&lt;/CODE&gt;: Instructs the DPDK EAL (Environment Abstraction Layer) to create a virtual device using the &lt;CODE class="o8j0Mc" dir="ltr" data-processed="true"&gt;net_af_xdp&lt;/CODE&gt; driver. The name &lt;CODE class="o8j0Mc" dir="ltr" data-processed="true"&gt;net_af_xdp0&lt;/CODE&gt; is a unique identifier for this specific device instance within the DPDK application.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAQQAQ" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-sfc-cp="" data-processed="true"&gt;&lt;CODE class="o8j0Mc" dir="ltr" data-processed="true"&gt;iface=eno1&lt;/CODE&gt;: Specifies the name of the host kernel network interface (&lt;CODE class="o8j0Mc" dir="ltr" data-processed="true"&gt;eno1&lt;/CODE&gt;) that the AF_XDP socket will attach to (this is a required option).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAQQAg" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-sfc-cp="" data-processed="true"&gt;&lt;CODE class="o8j0Mc" dir="ltr" data-processed="true"&gt;start_queue=1&lt;/CODE&gt;: Specifies that the AF_XDP socket should bind to &lt;STRONG class="Yjhzub" data-processed="true"&gt;Rx/Tx queue number 1&lt;/STRONG&gt; of the &lt;CODE class="o8j0Mc" dir="ltr" data-processed="true"&gt;eno1&lt;/CODE&gt; interface (queues are typically 0-indexed).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAQQAw" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-sfc-cp="" data-processed="true"&gt;&lt;CODE class="o8j0Mc" dir="ltr" data-processed="true"&gt;queue_count=1&lt;/CODE&gt;: Specifies that this PMD instance will manage a single queue, starting from &lt;CODE class="o8j0Mc" dir="ltr" data-processed="true"&gt;start_queue&lt;/CODE&gt; (i.e., only queue 1).&lt;/SPAN&gt;&lt;SPAN class="uJ19be notranslate" data-wiz-uids="SSe7X_19,SSe7X_1a,SSe7X_1b" data-processed="true"&gt;&lt;SPAN class="vKEkVd" data-animation-atomic="" data-processed="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL class="KsbFXc U6u95" data-processed="true"&gt;
&lt;LI data-hveid="CAQQAw" data-processed="true"&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV class="Fsg96" data-sfc-cp="" data-processed="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="AdPoic" role="heading" aria-level="3" data-animation-nesting="" data-sfc-cp="" data-processed="true"&gt;Prerequisites and Setup&lt;/DIV&gt;
&lt;DIV class="AdPoic" role="heading" aria-level="3" data-animation-nesting="" data-sfc-cp="" data-processed="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="Y3BBE" data-sfc-cp="" data-hveid="CAYQAA" data-processed="true"&gt;To use this configuration successfully, the following prerequisites must be met on the Linux host system:&lt;/DIV&gt;
&lt;DIV class="Y3BBE" data-sfc-cp="" data-hveid="CAYQAA" data-processed="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;SPAN data-huuid="12219006101183585367"&gt;#&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI data-hveid="CAcQAA" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-sfc-cp="" data-processed="true"&gt;&lt;STRONG class="Yjhzub" data-processed="true"&gt;Kernel Support&lt;/STRONG&gt;: The Linux kernel must be version 4.18 or later and compiled with &lt;SPAN data-processed="true"&gt;&lt;CODE class="o8j0Mc" dir="ltr" data-processed="true"&gt;CONFIG_XDP_SOCKETS=y&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN data-processed="true"&gt; enabled&lt;/SPAN&gt;&lt;SPAN data-processed="true"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;
&lt;UL&gt;
&lt;LI data-hveid="CAcQAQ" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-sfc-cp=""&gt;&lt;STRONG class="Yjhzub"&gt;Libraries&lt;/STRONG&gt;: The &lt;CODE class="o8j0Mc" dir="ltr"&gt;libxdp&lt;/CODE&gt; (version &amp;gt;= 1.2.2) and &lt;CODE class="o8j0Mc" dir="ltr"&gt;libbpf&lt;/CODE&gt; libraries must be installed.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI data-hveid="CAcQAg" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-sfc-cp=""&gt;&lt;STRONG class="Yjhzub"&gt;Interface Configuration&lt;/STRONG&gt;: The target network interface (&lt;CODE class="o8j0Mc" dir="ltr"&gt;eno1&lt;/CODE&gt;) must be configured in the kernel:&lt;/SPAN&gt;
&lt;UL class="KsbFXc U6u95"&gt;
&lt;LI data-hveid="CAcQAw"&gt;&lt;SPAN class="T286Pc" data-sfc-cp=""&gt;&lt;STRONG class="Yjhzub"&gt;Multiple Queues&lt;/STRONG&gt;: The interface's driver must support multiple queues, and the total number of configured queues must be at least &lt;CODE class="o8j0Mc" dir="ltr"&gt;start_queue&lt;/CODE&gt; + &lt;CODE class="o8j0Mc" dir="ltr"&gt;queue_count&lt;/CODE&gt; (i.e., at least 2 queues in this case: queue 0 and queue 1).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAcQBA"&gt;&lt;SPAN class="T286Pc" data-sfc-cp=""&gt;You can set the number of queues using &lt;CODE class="o8j0Mc" dir="ltr"&gt;ethtool&lt;/CODE&gt;, for example:&lt;/SPAN&gt;
&lt;DIV class="r1PmQe" data-wiz-uids="SSe7X_2c,SSe7X_2d,SSe7X_2e" data-hveid="CAcQBQ"&gt;
&lt;DIV&gt;
&lt;DIV class="pHpOfb" data-animation-atomic=""&gt;
&lt;DIV class="vVRw1d"&gt;bash&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI style="list-style-type: none;" data-hveid="CAcQAg" data-processed="true"&gt;
&lt;UL class="KsbFXc U6u95"&gt;
&lt;LI data-hveid="CAcQBA"&gt;
&lt;DIV class="r1PmQe" data-wiz-uids="SSe7X_2c,SSe7X_2d,SSe7X_2e" data-hveid="CAcQBQ"&gt;
&lt;DIV&gt;
&lt;DIV class="pHpOfb" data-animation-atomic=""&gt;
&lt;DIV class="pCTyYe" dir="ltr"&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN class="undefined"&gt;sudo ethtool -L eno1 combined &lt;/SPAN&gt;&lt;SPAN class="tnfcCf"&gt;2&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI data-hveid="CAcQBw"&gt;&lt;SPAN class="T286Pc" data-sfc-cp=""&gt;This ensures that traffic can be directed to queue 1, which the DPDK application is listening on.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI data-hveid="CAcQCA" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-sfc-cp=""&gt;&lt;STRONG class="Yjhzub"&gt;XDP Program&lt;/STRONG&gt;: The AF_XDP PMD typically loads a default XDP program onto the interface to redirect packets to the user-space memory buffer.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI data-hveid="CAcQCQ" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-sfc-cp=""&gt;&lt;STRONG class="Yjhzub"&gt;Permissions&lt;/STRONG&gt;: The application must have sufficient permissions (e.g., run as root or with appropriate capabilities) to access the network interfaces and use AF_XDP sockets.&lt;/SPAN&gt;&lt;SPAN class="uJ19be notranslate" data-wiz-uids="SSe7X_2p,SSe7X_2q,SSe7X_2r"&gt;&lt;SPAN class="vKEkVd" data-animation-atomic=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI data-hveid="CAcQCQ" data-processed="true"&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="Y3BBE" data-sfc-cp="" data-hveid="CAgQAA" data-processed="true"&gt;The command is a valid way to isolate traffic processing to a specific non-default queue using the AF_XDP driver in a DPDK application&lt;/DIV&gt;
&lt;DIV class="Y3BBE" data-sfc-cp="" data-hveid="CAgQAA" data-processed="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="Y3BBE" data-sfc-cp="" data-hveid="CAgQAA" data-processed="true"&gt;Regards&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Nov 2025 14:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Enable-Hardware-Crypto-Engine/m-p/2247445#M30676</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-11-24T14:01:37Z</dc:date>
    </item>
  </channel>
</rss>

