<?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: Query regarding MAC address configuration for S32G PFE in S32G</title>
    <link>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/1999251#M11811</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243602"&gt;@Sandeep_ME&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I apologize for not clarifying , all the EMACs (in GMAC or PFE) use the same register interface.&lt;/P&gt;
&lt;P&gt;Let me know if you have more questions about this topic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Alejandro&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 18:11:36 GMT</pubDate>
    <dc:creator>alejandro_e</dc:creator>
    <dc:date>2024-11-21T18:11:36Z</dc:date>
    <item>
      <title>Query regarding MAC address configuration for S32G PFE</title>
      <link>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/1998126#M11788</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are using S32G in our project with M7 as PFE Master and A53 as Slave.&lt;BR /&gt;I would like to know, when we configure a MAC address in Tresos&amp;nbsp;EthCtrlPhyAddress parameter, where it is associated to - for a given EMAC configured in&amp;nbsp;EthCtrlHwPort OR just an M7/A53's instance of the EMAC2? For example, if&amp;nbsp;EthCtrlHwPort is set as EMAC2, then will&amp;nbsp;EMAC2 be having this address, irrespective of which core is using this controller?&lt;BR /&gt;&lt;BR /&gt;Subsequent question: If I want to use the same EMAC2 from M7 as well as A53 using a L2 Bridge on the same VLAN, can I associate different MAC addresses for the same&amp;nbsp;EMAC2, one in M7 and one in A53? Will PFE be able to gateway the traffic based on respective MAC?&lt;BR /&gt;&lt;BR /&gt;From the documentation, its a bit confusing how the MAC addresses are handled.&lt;BR /&gt;Hence can you please clarify?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;MCAL user manual 6.1.1.:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandeep_ME_0-1732119947962.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311482iFD00FC20C7033D3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sandeep_ME_0-1732119947962.png" alt="Sandeep_ME_0-1732119947962.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tresos:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandeep_ME_1-1732120042715.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311484iE862A13195CFF3D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sandeep_ME_1-1732120042715.png" alt="Sandeep_ME_1-1732120042715.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 16:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/1998126#M11788</guid>
      <dc:creator>Sandeep_ME</dc:creator>
      <dc:date>2024-11-20T16:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding MAC address configuration for S32G PFE</title>
      <link>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/1998181#M11790</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243602"&gt;@Sandeep_ME&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;According to the GMAC Reference manual [page 3, GMAC Subsystem RM, Rev. 2, 03/2021] the MAC address is saved in the following registers:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_0-1732126996504.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311498i27C0A6E70BCE5A7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alejandro_e_0-1732126996504.png" alt="alejandro_e_0-1732126996504.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can check the details starting in page 149:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_1-1732127030941.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311499i8CEA6302ED909570/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alejandro_e_1-1732127030941.png" alt="alejandro_e_1-1732127030941.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The logic of which MAC address is used is given in pages 37 and 38:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_2-1732127084678.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311501i4D3D97B7E27944C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alejandro_e_2-1732127084678.png" alt="alejandro_e_2-1732127084678.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The value being in a register means all cores will use the same MAC address when using the module unless the configuration is change during runtime.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this information solved your question.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 18:26:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/1998181#M11790</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2024-11-20T18:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding MAC address configuration for S32G PFE</title>
      <link>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/1998744#M11800</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238460"&gt;@alejandro_e&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;AFAIK S32G has 4 Ethernet MAC - 3 inside PFE and one GMAC.&lt;BR /&gt;My query is regarding EMACs inside PFE and not the GMAC which you have mentioned in the reply.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please check the query and provide a feedback from PFE point of view&lt;/STRONG&gt;, as the MAC address handling is different between GMAC and PFE.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandeep_ME_0-1732180809225.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311673iEB6D9B0EA18B9DCE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sandeep_ME_0-1732180809225.png" alt="Sandeep_ME_0-1732180809225.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandeep_ME_1-1732180858489.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311674iE88A2EC2B9AD69DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sandeep_ME_1-1732180858489.png" alt="Sandeep_ME_1-1732180858489.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 09:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/1998744#M11800</guid>
      <dc:creator>Sandeep_ME</dc:creator>
      <dc:date>2024-11-21T09:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding MAC address configuration for S32G PFE</title>
      <link>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/1999251#M11811</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243602"&gt;@Sandeep_ME&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I apologize for not clarifying , all the EMACs (in GMAC or PFE) use the same register interface.&lt;/P&gt;
&lt;P&gt;Let me know if you have more questions about this topic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Alejandro&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 18:11:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/1999251#M11811</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2024-11-21T18:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding MAC address configuration for S32G PFE</title>
      <link>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/2000224#M11834</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238460"&gt;@alejandro_e&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Unfortunately it still doesn't answer my question &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;The manual screenshot which you shared doesn't explain which MAC address is taken when two cores use the same EMAC.&lt;/P&gt;&lt;P&gt;From the configuration point of view, for the &lt;STRONG&gt;same EMAC2&lt;/STRONG&gt; we can configure in NXP's MCAL on M7(PFE master) one static MAC address and from A53(PFE Slave) &lt;STRONG&gt;we can configure a totally different static MAC address in the same build &lt;/STRONG&gt;, as shown in below screenshot.&lt;BR /&gt;There is no error raised.&lt;/P&gt;&lt;P&gt;In this case how do we find out(without testing), where and how each of this MAC address is associated to and taken during runtime?&amp;nbsp;&lt;BR /&gt;Is it that M7 traffic will use the MAC address configured in Tresos and A53 traffic will use its MAC address as in the patch file, inspite of using the same EMAC?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandeep_ME_0-1732288482477.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312066i3A98C91190A8A7AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sandeep_ME_0-1732288482477.png" alt="Sandeep_ME_0-1732288482477.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandeep_ME_1-1732288498355.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312067i6FBCE49A170E042E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sandeep_ME_1-1732288498355.png" alt="Sandeep_ME_1-1732288498355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandeep_ME_2-1732288538156.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312068iE4637F10DF13D5B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sandeep_ME_2-1732288538156.png" alt="Sandeep_ME_2-1732288538156.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 15:19:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/2000224#M11834</guid>
      <dc:creator>Sandeep_ME</dc:creator>
      <dc:date>2024-11-22T15:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding MAC address configuration for S32G PFE</title>
      <link>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/2000379#M11837</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243602"&gt;@Sandeep_ME&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I understand your question better now, the logic of which MAC address is used when configuring a devices as a master-slave is defined in the PFE MCAL User Manual [page 150, User Manual for S32G PFE MCAL 4.4 Driver, Rev0000R1.4.0 Rev. 2.5]:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_0-1732307929484.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312105i3F72DF7B4E0C2F01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alejandro_e_0-1732307929484.png" alt="alejandro_e_0-1732307929484.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more details please check &lt;STRONG&gt;Chapter 6&lt;/STRONG&gt;, particularly subsection&amp;nbsp;&lt;STRONG&gt;6.1.1.1 Running multiple PFE drivers&lt;/STRONG&gt; of the mentioned document.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this information answers your questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 21:19:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Query-regarding-MAC-address-configuration-for-S32G-PFE/m-p/2000379#M11837</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2024-11-22T21:19:37Z</dc:date>
    </item>
  </channel>
</rss>

