<?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: How to stop / (re)start a MAC? in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1642738#M12366</link>
    <description>&lt;P&gt;Hello tmoos,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;please develop&amp;nbsp; the next command, I need to have an idea what is missing in your configuration, please let me know the command output&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$ ifconfig&lt;/PRE&gt;</description>
    <pubDate>Mon, 01 May 2023 18:08:53 GMT</pubDate>
    <dc:creator>LFGP</dc:creator>
    <dc:date>2023-05-01T18:08:53Z</dc:date>
    <item>
      <title>How to stop / (re)start a MAC?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1639610#M12324</link>
      <description>&lt;P&gt;I wrote code to reconfigure the SerDes lane used by MAC9 (I'm switching from XFI to SGMII), but I can't send or receive network packets. Is suspect that MAC9 is not running properly after reconfiguration.&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How can I properly disable the MAC?&lt;UL&gt;&lt;LI&gt;In particular: How to "Disable FM_BMI proper port etc" as stated in LS1046A DPAA Manual)?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;How can I properly enable the MAC again?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Additional information:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Before reconfiguring SerDes I stop the MAC as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;COMMAND_CONFIG[RXSTP] = 1
Wait until IEVENT[RX_EMPTY] == 1
COMMAND_CONFIG[RX_EN] = 0
Wait until IEVENT[TX_EMPTY] == 1
COMMAND_CONFIG[TX_EN] = 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;After reconfiguration I start the MAC as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;COMMAND_CONFIG[SWR] = 1, COMMAND_CONFIG[RXSTP] = 1
IF_MODE = 0x9002
STATN_CONFIG[CLR] = 1
Wait 1 µs
IEVENT = 0x0
IMASK = 0x0
COMMAND_CONFIG[RX_EN] = 1, COMMAND_CONFIG[TX_EN] = 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 08:50:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1639610#M12324</guid>
      <dc:creator>tmoos</dc:creator>
      <dc:date>2023-04-25T08:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop / (re)start a MAC?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1642738#M12366</link>
      <description>&lt;P&gt;Hello tmoos,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;please develop&amp;nbsp; the next command, I need to have an idea what is missing in your configuration, please let me know the command output&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$ ifconfig&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 May 2023 18:08:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1642738#M12366</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2023-05-01T18:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop / (re)start a MAC?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1643074#M12370</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I'm currently working with U-Boot, not with Linux. U-Boot has no "ifconfig" command.&lt;/P&gt;&lt;P&gt;But my primary question is currently: Is it even possible to switch the SerDes protocol at runtime? I asked this here:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.nxp.com/t5/Layerscape/Can-I-switch-SerDes-protocol-at-runtime/m-p/1640345#M12340" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Layerscape/Can-I-switch-SerDes-protocol-at-runtime/m-p/1640345#M12340&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would be grateful if that question could be answered before I continue with other implementation details.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 May 2023 13:06:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1643074#M12370</guid>
      <dc:creator>tmoos</dc:creator>
      <dc:date>2023-05-02T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop / (re)start a MAC?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1643725#M12379</link>
      <description>to reconfigure the SerDes lane protocol at strict runtime it is not possible, because that configuration must be write in the RCW and you can't rewrite the RCW at runtime.</description>
      <pubDate>Wed, 03 May 2023 15:54:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1643725#M12379</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2023-05-03T15:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop / (re)start a MAC?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1651068#M12484</link>
      <description>&lt;P&gt;I got different reaction to my questions. A NXP employee said it is possible, but other NXP employees said it is not.&lt;/P&gt;&lt;P&gt;Howsoever, the question is discussed in another topic, see &lt;LI-MESSAGE title="Can I switch SerDes protocol at runtime?" uid="1640345" url="https://community.nxp.com/t5/Layerscape/Can-I-switch-SerDes-protocol-at-runtime/m-p/1640345#U1640345" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 10:22:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1651068#M12484</guid>
      <dc:creator>tmoos</dc:creator>
      <dc:date>2023-05-16T10:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop / (re)start a MAC?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1652162#M12504</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Two NXP employees have said it is NOT possible. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please review the post&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 14:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-stop-re-start-a-MAC/m-p/1652162#M12504</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2023-05-17T14:59:03Z</dc:date>
    </item>
  </channel>
</rss>

