<?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: LX2160ARDB mdio access failed after dpdk initialized in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-mdio-access-failed-after-dpdk-initialized/m-p/2062002#M15497</link>
    <description>&lt;P&gt;After DPDK initialization eth0 connects to&amp;nbsp;&lt;SPAN&gt;dpdmux not DPMAC device.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You need to use mdio to read&amp;nbsp;eth1 before and after DPDK initialization.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Mar 2025 10:07:02 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2025-03-14T10:07:02Z</dc:date>
    <item>
      <title>LX2160ARDB mdio access failed after dpdk initialized</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-mdio-access-failed-after-dpdk-initialized/m-p/2060261#M15488</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We want to use mdio read/write phy register after dpdk initialization, but access failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before dpdk initial:&lt;/P&gt;&lt;P&gt;root@lx2160ardbrev2:~# ls-listni&lt;/P&gt;&lt;P&gt;dprc.1/dpni.1 (interface: eth0, end point: dpmac.3)&lt;/P&gt;&lt;P&gt;dprc.1/dpni.0 (interface: eth1, end point: dpmac.6)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@lx2160ardbrev2:# mdio read eth0 0x3.0x0&lt;/P&gt;&lt;P&gt;phy addr: 0x3&lt;/P&gt;&lt;P&gt;read reg: 0x0 value : 0x2040&lt;/P&gt;&lt;P&gt;After dpdk initialized:&lt;/P&gt;&lt;P&gt;root@lx2160ardbrev2:~# ls-listni&lt;/P&gt;&lt;P&gt;dprc.1/dpni.3 (interface: eth0, end point: dpdmux.0.1)&lt;/P&gt;&lt;P&gt;dprc.1/dpni.0 (interface: eth1, end point: dpmac.6)&lt;/P&gt;&lt;P&gt;dprc.1/dprc.3/dpni.4 (end point: dpni.2)&lt;/P&gt;&lt;P&gt;dprc.1/dprc.2/dpni.2 (end point: dpni.4)&lt;/P&gt;&lt;P&gt;dprc.1/dprc.2/dpni.1 (end point: dpdmux.0.2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@lx2160ardbrev2:# mdio read eth0 0x3.0x0&lt;/P&gt;&lt;P&gt;Operation not supported! "main" : line: 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you let us know how to access phy after dpdk&amp;nbsp;initialization?&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jack&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 08:52:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-mdio-access-failed-after-dpdk-initialized/m-p/2060261#M15488</guid>
      <dc:creator>jackho</dc:creator>
      <dc:date>2025-03-12T08:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB mdio access failed after dpdk initialized</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-mdio-access-failed-after-dpdk-initialized/m-p/2062002#M15497</link>
      <description>&lt;P&gt;After DPDK initialization eth0 connects to&amp;nbsp;&lt;SPAN&gt;dpdmux not DPMAC device.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You need to use mdio to read&amp;nbsp;eth1 before and after DPDK initialization.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 10:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-mdio-access-failed-after-dpdk-initialized/m-p/2062002#M15497</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2025-03-14T10:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB mdio access failed after dpdk initialized</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-mdio-access-failed-after-dpdk-initialized/m-p/2062017#M15499</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way we can access eth0 phy after&amp;nbsp;DPDK initialization?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How to access eth0 phy register after eth0 connect to&amp;nbsp;&lt;SPAN&gt;dpdmux?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jack Ho&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 10:20:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-mdio-access-failed-after-dpdk-initialized/m-p/2062017#M15499</guid>
      <dc:creator>jackho</dc:creator>
      <dc:date>2025-03-14T10:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB mdio access failed after dpdk initialized</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-mdio-access-failed-after-dpdk-initialized/m-p/2066969#M15531</link>
      <description>&lt;P&gt;From the log to see, the dpmac had been changed after customer initialized dpdk, so customer need to check which MAC is connected to eth0, and this can be done by running "ls-listmac" command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my local environment, it can still access the phy after dpdk is initialized if it does not affect the DPMAC of eth interface, which is related to the parameters.&lt;/P&gt;
&lt;P&gt;root@localhost:~# ls-listni&lt;/P&gt;
&lt;P&gt;dprc.1/dpni.1 (interface: eth1, end point: dpmac.2)&lt;/P&gt;
&lt;P&gt;dprc.1/dpni.0 (interface: eth2, end point: dpmac.17)&lt;/P&gt;
&lt;P&gt;dprc.1/dprc.2/dpni.2 (end point: dpmac.5)&lt;/P&gt;
&lt;P&gt;root@localhost:~# ./a.out eth2 0x2.0x0 read phy addr: 0x1 reg: 0x2 value : 0xffff&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 06:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-mdio-access-failed-after-dpdk-initialized/m-p/2066969#M15531</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2025-03-24T06:47:23Z</dc:date>
    </item>
  </channel>
</rss>

