Hi,
Thanks for your feedback. We have received the following update:
"To create a fastpath bridge between pfe0 and pfe2 with mirroring to aux0, boot as before and execute the following commands
ifconfig aux0 up
ifconfig pfe0 up
ifconfig pfe2 up
libfci_cli bd-update --vlan=1 --uh=FORWARD --um=FLOOD --mh=FORWARD --mm=FLOOD
libfci_cli bd-update --vlan=0 --uh=FORWARD --um=FLOOD --mh=FORWARD --mm=FLOOD
libfci_cli bd-insif --vlan=1 -i emac0 --tag=OFF
libfci_cli bd-insif --vlan=1 -i emac2 --tag=OFF
libfci_cli bd-insif --vlan=1 -i hif1 --tag=OFF
libfci_cli bd-insif --vlan=0 -i emac0 --tag=ON
libfci_cli bd-insif --vlan=0 -i emac2 --tag=ON
libfci_cli bd-insif --vlan=0 -i hif1 --tag=ON
libfci_cli phyif-update -i emac0 --E --mode=VLAN_BRIDGE --P=ON --bs=NORMAL
libfci_cli phyif-update -i emac2 --E --mode=VLAN_BRIDGE --P=ON --bs=NORMAL
libfci_cli phyif-update -i hif1 --E --mode=VLAN_BRIDGE --P=ON --bs=NORMAL
libfci_cli mirror-add --mirror="toHif1" -i hif1
libfci_cli phyif-update -i emac0 --rxmirr0="toHif1"
libfci_cli phyif-update -i emac2 --rxmirr0="toHif1"
This will bridge traffic between pfe0 and pfe2 while mirroring the rx traffic on both ports to aux0.
For more information on this I suggest looking at the FCI API reference manual in the PFE driver docs.
Slowpath just refers to Linux based bridging and forwarding, while fastpath refers to FCI API setup of the PFE. There is nothing specific to PFE when configuring slowpath and there are many examples of how to do this in Linux available.
You cannot get the PFE to mirror traffic that is not seen at a PFE physical interface. I assume that by PFE port2 & port3 you are referring to traffic that is bridged by an external switch. If the board you are using is an RDB then you would need to get the SJA1110 SDK and setup mirroring to the host port on the switch itself."
We understand that you are now looking into the SJA1110 SDK, if so, we don't handle this SDK under the S32G community. Since SJA1110 documentation seems to be confidential, help us contacting your local NXP FAE, since they should be able to provide further support on this part. We do apologize.
Please, let us know.