<?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>S32GのトピックRe: PFE Bridge MAC Learning Behavior and Static Entry Requirement on S32G3</title>
    <link>https://community.nxp.com/t5/S32G/PFE-Bridge-MAC-Learning-Behavior-and-Static-Entry-Requirement-on/m-p/2332618#M16117</link>
    <description>Thank you for your response.&lt;BR /&gt;The issue was resolved after I removed the --bs NORMAL option from the command:&lt;BR /&gt;libfci_cli phyif-update --i emac0 -E --promisc OFF --mode VLAN_BRIDGE.</description>
    <pubDate>Fri, 13 Mar 2026 11:35:49 GMT</pubDate>
    <dc:creator>minJ</dc:creator>
    <dc:date>2026-03-13T11:35:49Z</dc:date>
    <item>
      <title>PFE Bridge MAC Learning Behavior and Static Entry Requirement on S32G3</title>
      <link>https://community.nxp.com/t5/S32G/PFE-Bridge-MAC-Learning-Behavior-and-Static-Entry-Requirement-on/m-p/2322815#M16051</link>
      <description>&lt;H3&gt;1. Test Environment &amp;amp; Commands&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;S32G3 board, using PFE bridge&lt;/LI&gt;&lt;LI&gt;Bridge and port setup as follows:&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;libfci_cli bd-flush --static&lt;BR /&gt;&lt;BR /&gt;# 1. IP configuration&lt;BR /&gt;ifconfig pfe0 192.168.0.20&lt;BR /&gt;ifconfig pfe1 192.168.1.20&lt;BR /&gt;ifconfig pfe2 192.168.2.20&lt;BR /&gt;&lt;BR /&gt;# 2. Register ports to bridge domain&lt;BR /&gt;libfci_cli bd-insif --vlan 1 --i emac0 --tag OFF&lt;BR /&gt;libfci_cli bd-insif --vlan 1 --i emac1 --tag OFF&lt;BR /&gt;libfci_cli bd-insif --vlan 1 --i emac2 --tag OFF&lt;BR /&gt;&lt;BR /&gt;# 3. Bridge policy setup&lt;BR /&gt;libfci_cli bd-update --vlan 1 --ucast-hit FORWARD --ucast-miss FLOOD --mcast-hit FORWARD --mcast-miss FLOOD&lt;BR /&gt;&lt;BR /&gt;# 4. Port FW_ONLY mode setup&lt;BR /&gt;libfci_cli phyif-update --i emac0 -E --promisc OFF --mode VLAN_BRIDGE --bs NORMAL&lt;BR /&gt;libfci_cli phyif-update --i emac1 -E --promisc OFF --mode VLAN_BRIDGE --bs NORMAL&lt;BR /&gt;libfci_cli phyif-update --i emac2 -E --promisc OFF --mode VLAN_BRIDGE --bs NORMAL&lt;BR /&gt;&lt;BR /&gt;# 5. Static entry creation&lt;BR /&gt;libfci_cli bd-stent-add --vlan 1 --mac &amp;lt;MAC Address0&amp;gt; --i emac0&lt;BR /&gt;libfci_cli bd-stent-add --vlan 1 --mac &amp;lt;MAC Address1&amp;gt; --i emac1&lt;BR /&gt;libfci_cli bd-stent-add --vlan 1 --mac &amp;lt;MAC Address2&amp;gt; --i emac2&lt;BR /&gt;&lt;BR /&gt;# 6. Egress port setup&lt;BR /&gt;libfci_cli bd-stent-update --vlan 1 --mac &amp;lt;MAC Address0&amp;gt; --egress emac0&lt;BR /&gt;libfci_cli bd-stent-update --vlan 1 --mac &amp;lt;MAC Address1&amp;gt; --egress emac1&lt;BR /&gt;libfci_cli bd-stent-update --vlan 1 --mac &amp;lt;MAC Address2&amp;gt;--egress emac2&lt;BR /&gt;&lt;BR /&gt;# For ping test, additionally:&lt;BR /&gt;libfci_cli bd-insif --vlan 1 --i hif0 --tag OFF&lt;BR /&gt;libfci_cli logif-update --i hif0 --egress emac0&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;2. Test Results&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;Sending packets with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;tx_raw&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(direct MAC assignment) is received correctly on pfe0.&lt;/LI&gt;&lt;LI&gt;Sending packets with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ping&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(standard Windows/Linux) does not work—no reply is received (100% loss).&lt;/LI&gt;&lt;LI&gt;With identical bridge/port options and bs=NORMAL, ping does not work.&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;H3&gt;3. Analysis&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;ARP requires knowing the peer’s MAC address for communication.&lt;/LI&gt;&lt;LI&gt;Only after manually registering the PC’s MAC as a static entry can the board send packets to the PC.&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;H3&gt;4. Questions&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Does the PFE bridge support automatic MAC learning with just the bs=NORMAL option?&lt;/LI&gt;&lt;LI&gt;If dynamic MAC learning is not supported, is it mandatory to register the PC’s MAC as a static entry for packet forwarding?&lt;/LI&gt;&lt;LI&gt;Is it required to add the PC’s MAC as a static entry for ARP and ping replies to work correctly?&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Feb 2026 02:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-Bridge-MAC-Learning-Behavior-and-Static-Entry-Requirement-on/m-p/2322815#M16051</guid>
      <dc:creator>minJ</dc:creator>
      <dc:date>2026-02-26T02:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: PFE Bridge MAC Learning Behavior and Static Entry Requirement on S32G3</title>
      <link>https://community.nxp.com/t5/S32G/PFE-Bridge-MAC-Learning-Behavior-and-Static-Entry-Requirement-on/m-p/2322988#M16054</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/260071"&gt;@minJ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the post.&lt;/P&gt;
&lt;P&gt;1. The PFE L2 Bridge is capable of automatically adding new MAC table entries from ingress frames with new source MAC addresses.&lt;SPAN&gt;&amp;nbsp;the NORMAL state is l&lt;SPAN class="fontstyle0"&gt;earning and forwarding enabled&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. May I know if you had done similar ping test with promisc=ON?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Chenyin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 09:13:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-Bridge-MAC-Learning-Behavior-and-Static-Entry-Requirement-on/m-p/2322988#M16054</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2026-02-26T09:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: PFE Bridge MAC Learning Behavior and Static Entry Requirement on S32G3</title>
      <link>https://community.nxp.com/t5/S32G/PFE-Bridge-MAC-Learning-Behavior-and-Static-Entry-Requirement-on/m-p/2332618#M16117</link>
      <description>Thank you for your response.&lt;BR /&gt;The issue was resolved after I removed the --bs NORMAL option from the command:&lt;BR /&gt;libfci_cli phyif-update --i emac0 -E --promisc OFF --mode VLAN_BRIDGE.</description>
      <pubDate>Fri, 13 Mar 2026 11:35:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-Bridge-MAC-Learning-Behavior-and-Static-Entry-Requirement-on/m-p/2332618#M16117</guid>
      <dc:creator>minJ</dc:creator>
      <dc:date>2026-03-13T11:35:49Z</dc:date>
    </item>
  </channel>
</rss>

