<?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: Phy configuration with KNI interface in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1793456#M20860</link>
    <description>&lt;P&gt;I am discussing this issue with NXP DPDK development team, please refer to my update later.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2024 05:30:05 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2024-01-23T05:30:05Z</dc:date>
    <item>
      <title>Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1790793#M20823</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Iam using a NXP LS1046A based custom board,&lt;/P&gt;&lt;P&gt;I am connected the Fm1-mac5 interface to Marvell 88E1512 Phy which supports both optical and Electrical Ethernet interface,&lt;/P&gt;&lt;P&gt;Also at the Kernel level (when the OS boots up) iam able to use Electrical ethernet by default, however while changing to optical Interface iam changing the page to optical in 88E1512 (i used this link to configure Marvell phy &lt;A href="https://community.nxp.com/t5/Other-NXP-Products/Read-Modify-Phy-registers-at-Linux-in-custom-board-based-on/m-p/1779403#M20592" target="_blank"&gt;https://community.nxp.com/t5/Other-NXP-Products/Read-Modify-Phy-registers-at-Linux-in-custom-board-based-on/m-p/1779403#M20592&lt;/A&gt; ) and also fixing the interface to 1G with Autoneg Disabled using ethtool, and the optical interfcace is working fine in Kernel also.&lt;/P&gt;&lt;P&gt;Now, in my application iam using Fm1-mac5 for dpdk operation with KNI enabled for Fm1-mac5.&lt;/P&gt;&lt;P&gt;With KNI enabled, how can i access the Phy register (to read/modify) also how can i Disable Autoneg and Fix the speed to 1G ??&lt;/P&gt;&lt;P&gt;For disabling Autoneg i tried using ethtool, but iam not able to disable Autoneg using ethtool with KNI interface.&lt;/P&gt;&lt;P&gt;Please let me know what can be done to&lt;/P&gt;&lt;P&gt;1) read/modify phy registers for a KNI interface?&lt;/P&gt;&lt;P&gt;2) Disable Auto Neg and Fix the Speed to 1G of a KNI interface?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please provide your help/support&lt;/P&gt;&lt;P&gt;Thank u&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 06:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1790793#M20823</guid>
      <dc:creator>Ghouse</dc:creator>
      <dc:date>2024-01-18T06:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1793417#M20857</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Please provide your support for the above topic.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 04:06:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1793417#M20857</guid>
      <dc:creator>Ghouse</dc:creator>
      <dc:date>2024-01-23T04:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1793456#M20860</link>
      <description>&lt;P&gt;I am discussing this issue with NXP DPDK development team, please refer to my update later.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 05:30:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1793456#M20860</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-01-23T05:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1797570#M20924</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Any update on the issue mentioned above?&lt;/P&gt;&lt;P&gt;Please provide your help/support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 08:20:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1797570#M20924</guid>
      <dc:creator>Ghouse</dc:creator>
      <dc:date>2024-01-30T08:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1798462#M20939</link>
      <description>&lt;P&gt;&lt;SPAN&gt;From "dpdk/kernel/linux/kni/kni_net.c", I do not see ethtool support in kni driver to access PHY registers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an 'ethtool" example in DPDK package, you can check it if it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And for Linux PHY driver of DPDP Port, phy device is registered in "drivers/staging/fsl_qbman/fsl_usdpaa.c", &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 08:18:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1798462#M20939</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-01-31T08:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1800380#M20974</link>
      <description>&lt;P&gt;&amp;nbsp;KNI (&lt;A href="https://doc.dpdk.org/guides-21.11/prog_guide/kernel_nic_interface.html" target="_blank"&gt;https://doc.dpdk.org/guides-21.11/prog_guide/kernel_nic_interface.html&lt;/A&gt;) &amp;nbsp;is nothing but a pseudo soft network interface with kernel for exchanging DPDK traffic with kernel. It do not connect with the hardware based FMAN interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to support both kernel traffic and DPDK traffic on the same physical ethernet interface – you can better use the VSP (Packet Split) mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/NXP/dpdk/blob/22.11-qoriq/nxp/README_dpaa1_shared_mac" target="_blank"&gt;https://github.com/NXP/dpdk/blob/22.11-qoriq/nxp/README_dpaa1_shared_mac&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/NXP/dpdk/blob/22.11-qoriq/nxp/README_pkt_split_app_demo" target="_blank"&gt;https://github.com/NXP/dpdk/blob/22.11-qoriq/nxp/README_pkt_split_app_demo&lt;/A&gt;&amp;nbsp; (without FMAN microcode)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 01:44:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1800380#M20974</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-02-02T01:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1800773#M20990</link>
      <description>&lt;P&gt;Hi &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;Thank u very much for the reply.&lt;/P&gt;&lt;P&gt;Please note that in our application, all the traffic is handled by DPDK, &lt;STRONG&gt;only some management traffic&lt;/STRONG&gt; that should be exchanged among the devices is only exchanged using the KNI interface using Socket based application code.&lt;/P&gt;&lt;P&gt;Our application is almost completed and migrating now to VSP will be difficult.&lt;/P&gt;&lt;P&gt;So, kindly let me know if in KNI is there a provision to&lt;/P&gt;&lt;P&gt;1) use Ethtool to disable Auto Neg and set speed to 1G&lt;/P&gt;&lt;P&gt;2) modify phy registers accessed by the KNI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank u.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 10:15:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1800773#M20990</guid>
      <dc:creator>Ghouse</dc:creator>
      <dc:date>2024-02-02T10:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1801511#M21006</link>
      <description>&lt;P&gt;&lt;SPAN&gt;That is what NXP share MAC does to direct management traffic to kernel directly, customer doesn't need modify any socket-based application upon VSP/shareMAC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;KNI interface has nothing to do with HW DPAA ports, dpdk DPAA ports are supposed to support phy change directly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 02:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1801511#M21006</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-02-05T02:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1801669#M21009</link>
      <description>&lt;P&gt;Please refer to the following update from the DPDK development team.&lt;/P&gt;
&lt;P&gt;KNI is not the proper place to do the physical port control. It is just a pseudo/logical/soft interface. They can very well use the Tun/Tap interface as well for management traffic.&lt;/P&gt;
&lt;P&gt;However, if they want to control the physical link properties, they can try doing from the DPDK based DPAA driver directly.&lt;/P&gt;
&lt;P&gt;W.r.t. link control: &amp;nbsp;They can either change the DTS file to set the property as fix link&amp;nbsp; or use the following API to set the link speed as 1G in application&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;dpaa_update_link_speed&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 07:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1801669#M21009</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-02-05T07:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1801730#M21011</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;thank u for the reply,&lt;/P&gt;&lt;P&gt;Your Comment : if they want to control the physical link properties, they can try doing from the DPDK based DPAA driver directly.&lt;/P&gt;&lt;P&gt;Can u explain how this can be done.&lt;/P&gt;&lt;P&gt;Your Comment :W.r.t. link control: They can either change the DTS file to set the property as fix link or use the following API to set the link speed as 1G in application. dpaa_update_link_speed&lt;/P&gt;&lt;P&gt;Plz can u explain in detail, how this can be done (preferably with some example).&lt;/P&gt;&lt;P&gt;Thank u very much.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 08:26:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1801730#M21011</guid>
      <dc:creator>Ghouse</dc:creator>
      <dc:date>2024-02-05T08:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Phy configuration with KNI interface</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1801756#M21013</link>
      <description>&lt;P&gt;Please refer to the following in&amp;nbsp;fsl-ls1046a-rdb.dts.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ethernet@f2000 { /* 10GEC2 */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&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; fixed-link = &amp;lt;0 1 1000 0 0&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&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; phy-connection-type = "xgmii";&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please refer to Documentation/devicetree/bindings/net/ethernet-controller.yaml&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 08:52:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Phy-configuration-with-KNI-interface/m-p/1801756#M21013</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-02-05T08:52:26Z</dc:date>
    </item>
  </channel>
</rss>

