<?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 SJA1110 Linux DSA driver in S32G</title>
    <link>https://community.nxp.com/t5/S32G/SJA1110-Linux-DSA-driver/m-p/1990863#M11646</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Can you give me the CLI command to set SJA1110's port mode base on SJA1110's Linux DSA driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I can see that it provides support for other features of the switch like VLAN and PTP, but can't see how to config port-mode in the Linux-BSP UM file.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Example of network interfaces when the SJA1110 DSA driver is loaded:&lt;BR /&gt;root@s32g274aevb:~# ip addr show&lt;BR /&gt;...&lt;BR /&gt;7: pfe2: &amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1504 qdisc noop state DOWN group default qlen 1000&lt;BR /&gt;link/ether 00:01:be:be:ef:33 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;8: enet_p1@pfe2: &amp;lt;BROADCAST,MULTICAST,M-DOWN&amp;gt; mtu 1500 qdisc noop state DOWN group default qlen 1000&lt;BR /&gt;link/ether 00:01:be:be:ef:33 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;9: enet_p3@pfe2: &amp;lt;BROADCAST,MULTICAST,M-DOWN&amp;gt; mtu 1500 qdisc noop state DOWN group default qlen 1000&lt;BR /&gt;link/ether 00:01:be:be:ef:33 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;10: enet_p4@pfe2: &amp;lt;BROADCAST,MULTICAST,M-DOWN&amp;gt; mtu 1500 qdisc noop state DOWN group default qlen 1000&lt;BR /&gt;link/ether 00:01:be:be:ef:33 brd ff:ff:ff:ff:ff:ff&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2024 07:20:00 GMT</pubDate>
    <dc:creator>yangjinzhuang</dc:creator>
    <dc:date>2024-11-08T07:20:00Z</dc:date>
    <item>
      <title>SJA1110 Linux DSA driver</title>
      <link>https://community.nxp.com/t5/S32G/SJA1110-Linux-DSA-driver/m-p/1990863#M11646</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Can you give me the CLI command to set SJA1110's port mode base on SJA1110's Linux DSA driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I can see that it provides support for other features of the switch like VLAN and PTP, but can't see how to config port-mode in the Linux-BSP UM file.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Example of network interfaces when the SJA1110 DSA driver is loaded:&lt;BR /&gt;root@s32g274aevb:~# ip addr show&lt;BR /&gt;...&lt;BR /&gt;7: pfe2: &amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1504 qdisc noop state DOWN group default qlen 1000&lt;BR /&gt;link/ether 00:01:be:be:ef:33 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;8: enet_p1@pfe2: &amp;lt;BROADCAST,MULTICAST,M-DOWN&amp;gt; mtu 1500 qdisc noop state DOWN group default qlen 1000&lt;BR /&gt;link/ether 00:01:be:be:ef:33 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;9: enet_p3@pfe2: &amp;lt;BROADCAST,MULTICAST,M-DOWN&amp;gt; mtu 1500 qdisc noop state DOWN group default qlen 1000&lt;BR /&gt;link/ether 00:01:be:be:ef:33 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;10: enet_p4@pfe2: &amp;lt;BROADCAST,MULTICAST,M-DOWN&amp;gt; mtu 1500 qdisc noop state DOWN group default qlen 1000&lt;BR /&gt;link/ether 00:01:be:be:ef:33 brd ff:ff:ff:ff:ff:ff&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 07:20:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/SJA1110-Linux-DSA-driver/m-p/1990863#M11646</guid>
      <dc:creator>yangjinzhuang</dc:creator>
      <dc:date>2024-11-08T07:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: SJA1110 Linux DSA driver</title>
      <link>https://community.nxp.com/t5/S32G/SJA1110-Linux-DSA-driver/m-p/1991263#M11657</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210110"&gt;@yangjinzhuang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Good to read you again.&amp;nbsp; About your question, there are no specific terminal commands to interact with the SJA1110, there are several software abstraction layers between the SJA1110 driver and the command line utilities. With that said, I recommend you checking the Linux kernel documentation where you can see the following [&lt;A href="https://docs.kernel.org/networking/dsa/dsa.html" target="_blank"&gt;https://docs.kernel.org/networking/dsa/dsa.html&lt;/A&gt;]:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_0-1731099043049.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309480i7F33830EACE8E7F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alejandro_e_0-1731099043049.png" alt="alejandro_e_0-1731099043049.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this case the "switch" mentioned in the docs, is the SJA1110. This means that you can interact with it with the generally supported network commands.&lt;/P&gt;
&lt;P&gt;You can learn more about them by using the "--help" argument, for example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;root@s32g399ardb3:~# ip --help
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
       ip [ -force ] -batch filename
where  OBJECT := { link | address | addrlabel | route | rule | neigh | ntable |
                   tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                   netns | l2tp | fou | macsec | tcp_metrics | token | netconf | ila |
                   vrf | sr | nexthop | mptcp }
       OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
                    -h[uman-readable] | -iec | -j[son] | -p[retty] |
                    -f[amily] { inet | inet6 | mpls | bridge | link } |
                    -4 | -6 | -I | -D | -M | -B | -0 |
                    -l[oops] { maximum-addr-flush-attempts } | -br[ief] |
                    -o[neline] | -t[imestamp] | -ts[hort] | -b[atch] [filename] |
                    -rc[vbuf] [size] | -n[etns] name | -N[umeric] | -a[ll] |
                    -c[olor]}
root@s32g399ardb3:~# bridge --help
Usage: bridge [ OPTIONS ] OBJECT { COMMAND | help }
       bridge [ -force ] -batch filename
where   OBJECT := { link | fdb | mdb | vlan | monitor }
        OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] |
                     -o[neline] | -t[imestamp] | -n[etns] name |
                     -c[ompressvlans] -color -p[retty] -j[son] }
root@s32g399ardb3:~# ifconfig --help
Usage:
  ifconfig [-a] [-v] [-s] &amp;lt;interface&amp;gt; [[&amp;lt;AF&amp;gt;] &amp;lt;address&amp;gt;]
  [add &amp;lt;address&amp;gt;[/&amp;lt;prefixlen&amp;gt;]]
  [del &amp;lt;address&amp;gt;[/&amp;lt;prefixlen&amp;gt;]]
  [[-]broadcast [&amp;lt;address&amp;gt;]]  [[-]pointopoint [&amp;lt;address&amp;gt;]]
  [netmask &amp;lt;address&amp;gt;]  [dstaddr &amp;lt;address&amp;gt;]  [tunnel &amp;lt;address&amp;gt;]
  [outfill &amp;lt;NN&amp;gt;] [keepalive &amp;lt;NN&amp;gt;]
  [hw &amp;lt;HW&amp;gt; &amp;lt;address&amp;gt;]  [mtu &amp;lt;NN&amp;gt;]
  [[-]trailers]  [[-]arp]  [[-]allmulti]
  [multicast]  [[-]promisc]
  [mem_start &amp;lt;NN&amp;gt;]  [io_addr &amp;lt;NN&amp;gt;]  [irq &amp;lt;NN&amp;gt;]  [media &amp;lt;type&amp;gt;]
  [txqueuelen &amp;lt;NN&amp;gt;]
  [[-]dynamic]
  [up|down] ...

  &amp;lt;HW&amp;gt;=Hardware Type.
  List of possible hardware types:
    loop (Local Loopback) slip (Serial Line IP) cslip (VJ Serial Line IP)
    slip6 (6-bit Serial Line IP) cslip6 (VJ 6-bit Serial Line IP) adaptive (Adaptive Serial Line IP)
    ether (Ethernet) netrom (AMPR NET/ROM) tunnel (IPIP Tunnel)
    ppp (Point-to-Point Protocol) arcnet (ARCnet) dlci (Frame Relay DLCI)
    frad (Frame Relay Access Device) irda (IrLAP)
  &amp;lt;AF&amp;gt;=Address family. Default: inet
  List of possible address families:
    unix (UNIX Domain) inet (DARPA Internet) inet6 (IPv6)
    netrom (AMPR NET/ROM)
root@s32g399ardb3:~#&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other resources that you might find useful related to this topic:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://wiki.linuxfoundation.org/networking/iproute2" target="_blank"&gt;https://wiki.linuxfoundation.org/networking/iproute2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.policyrouting.org/iproute2.doc.html#ss9.1" target="_blank"&gt;http://www.policyrouting.org/iproute2.doc.html#ss9.1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://wiki.linuxfoundation.org/networking/bridge" target="_blank"&gt;https://wiki.linuxfoundation.org/networking/bridge&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://man7.org/linux/man-pages/man8/ifconfig.8.html" target="_blank"&gt;https://man7.org/linux/man-pages/man8/ifconfig.8.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this information answers your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 21:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/SJA1110-Linux-DSA-driver/m-p/1991263#M11657</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2024-11-08T21:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: SJA1110 Linux DSA driver</title>
      <link>https://community.nxp.com/t5/S32G/SJA1110-Linux-DSA-driver/m-p/2089215#M13341</link>
      <description>&lt;P&gt;Hello, I have read the three posts you posted. Can you provide the download address of dsa for sja1110? I would be very grateful if you can provide some other tips on compiling or using dsa&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 09:18:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/SJA1110-Linux-DSA-driver/m-p/2089215#M13341</guid>
      <dc:creator>xiaoshumiao</dc:creator>
      <dc:date>2025-04-29T09:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: SJA1110 Linux DSA driver</title>
      <link>https://community.nxp.com/t5/S32G/SJA1110-Linux-DSA-driver/m-p/2089679#M13343</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231689"&gt;@xiaoshumiao&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Since this post was already solved, I will answer your question in the post you last opened:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32G/config-sja1110-gptp-based-on-switch-config-s32-vnp-rdb/td-p/2088290" target="_blank"&gt;2088290&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 21:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/SJA1110-Linux-DSA-driver/m-p/2089679#M13343</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2025-04-29T21:39:59Z</dc:date>
    </item>
  </channel>
</rss>

