Ethernet switch SJA1105 frame tagging

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet switch SJA1105 frame tagging

529 Views
lukaszzemla
Contributor II

Hello,

I am thinking about usage of SJA1105 switch to increase number of available independent ports on my CPU. Port 1 is connected to the CPU and the 4 others are presented to the world.

In past designs we use switches from other vendors, which supported frame 'tail tagging' understood as:

- every incoming frame on ports 2-5 gets is always forwarded to port 1. Before that it has automatically some 'tag' added by switch to identify ingress port.

- Ethernet driver at CPU reads that tag and is able to recognize the ingress port. E.g. it reads the tag and knows that frame was received on port 2. Next it skips tag and forwards frame to virtual interface eth2.

- if OS wants to send some frame to eth3 then Ethernet driver adds that tag to the frame and sends it to port 1. Switch sees tag for eth3, removes it and forwards that frame only to port 3.

Is it possible to implement described functionality using SJA1105?

 

0 Kudos
1 Reply

521 Views
bpe
NXP Employee
NXP Employee

SJA1105 family switches assign a VLAN tag to each frame on ingress. This tag can be be configured to be removed or not removed on egress. Refer to the Software Manual of the model of your preference, section "Functional Description" for details.

 

Hope this helps,
Platon

 

 

0 Kudos