Re: How can i configure IEEE802.1CB Frame Replication and Elimination for Redundancy (FRER) in SJA11 Hello @PavelL, @alejandro_e I am Trying to Implement VLAN for Sending Two different Streams such as stream1, stream 2 so for that on top of Existing Configuration I am trying to include VLAN for that General Parameters Table TPID = 34984 TPID2 = 33024 L2 Lookup Table I changed the MASK to 0x1FFFFFFFFFFFFFFFF for including VLAN, IOTAG MACADDR = 0x4C4C36454143 SRCPORT = 3 DSTPORT = 1,2,5 CB Sequence Generation and Individual Recovery Table REPLACE_PORT = 1,2 TAG_PORT = 1,2 CB Tag Replacement Table REPLACEVLANID - ENABLE VLANID = 1 RTAG_RESERVED = ENABLE Second VLAN Integration L2 Lookup Table I changed the MASK to 0x1FFFFFFFFFFFFFFFF for including VLAN, IOTAG MACADDR = 0x112233445566 SRCPORT = 4 DSTPORT = 1,2,3 CB Sequence Generation and Individual Recovery Table REPLACE_PORT = 1,2 TAG_PORT = 1,2 CB Tag Replacement Table REPLACEVLANID - ENABLE VLANID = 2 RTAG_RESERVED = ENABLE Added VLAN Lookup Table for both stream VMEMB_PORT = 1,2,3,5 BC_DOMAIN = 1,2,3,5 TYPE_ENTRY[0] = ENABLE TYPE_ENTRY[1] = ENABLE This was the change I was planning to have a Separate VLAN ID for this Two Different MAC Address Computation for that I am trying to Implement VLAN? whether this configuration Satisfy the configuration of VLAN or what are the other changes need to be made for Configuring VLAN ? Re: How can I configure IEEE802.1CB Frame Replication and Elimination for Redundancy (FRER) in SJA11 Hello @PavelL SWITCH - 1 Initially Created a Default VLANID VLANID = 0 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Disable all Ports BC_DOMAIN = Disable all Ports TAG_PORT = Disable all Ports TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 0 VLANID = 1 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Port 1,2,3,4 -- ENABLE BC_DOMAIN = Port 1,2,3,4 -- ENABLE TAG_PORT = Port 1,2 TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 1 VLANID = 2 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Port 1,2,3,4,5 -- ENABLE BC_DOMAIN = Port 1,2,3,4,5 -- ENABLE TAG_PORT = Port 1,2 TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 2 MAC Configuration Table Port 1 --> VLANPRIO = 7 VLANID = 1 Port 2 --> VLANPRIO = 7 VLANID = 2 Port 3 --> VLANPRIO = 7 VLANID = 3 Port 4 --> VLANPRIO = 7 VLANID = 4 Port 7 --> VLANPRIO = 3 VLANID = 2 SWITCH - 2 VLANID = 0 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Disable all Ports BC_DOMAIN = Disable all Ports TAG_PORT = Disable all Ports TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 0 VLANID = 1 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Port 1,2,3,4 -- ENABLE BC_DOMAIN = Port 1,2,3,4 -- ENABLE TAG_PORT = Port 1,2 TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 1 VLANID = 2 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Port 1,2,3,4,7 -- ENABLE BC_DOMAIN = Port 1,2,3,4,7 -- ENABLE TAG_PORT = Port 1,2 TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 2 MAC Configuration Table Port 1 --> VLANPRIO = 7 VLANID = 1 Port 2 --> VLANPRIO = 7 VLANID = 2 Port 3 --> VLANPRIO = 7 VLANID = 3 Port 4 --> VLANPRIO = 7 VLANID = 4 Port 5 --> VLANPRIO = 3 VLANID = 2 I made the configuration changes above my CAN packets are getting Lost and CAMERA packets are getting streamed so what would be the root cause for packet loss even after configuring VLANID So what would be the ideal scenario to overcome the issue of Packet loss i understand CAMERA packets are flooding How to overcome this issue Regards Abrar Re: How can I configure IEEE802.1CB Frame Replication and Elimination for Redundancy (FRER) in SJA11 Hello @Abrar_23 ,
UDP is fine for traffic testing. 30Mbps is also fine. Up to ~90% of max traffic load (in this case - egress queue) there should be no traffic drop.
I apologize for late responses, I have to prioritize my tasks.
Due to limited resources, customers which are using generic email accounts such as gmail.com or qq.com or similar have lower priorities. Please ensure that you use your company email address when communicating with NXP so that we can prioritize your question accordingly. Thank you for your understanding.
Best regards,
Pavel Re: How can I configure IEEE802.1CB Frame Replication and Elimination for Redundancy (FRER) in SJA11 Hello @PavelL SWITCH - 1 Initially Created a Default VLANID VLANID = 0 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Disable all Ports BC_DOMAIN = Disable all Ports TAG_PORT = Disable all Ports TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 0 VLANID = 1 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Port 1,2,3,4 -- ENABLE BC_DOMAIN = Port 1,2,3,4 -- ENABLE TAG_PORT = Port 1,2 TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 1 VLANID = 2 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Port 1,2,3,4,5 -- ENABLE BC_DOMAIN = Port 1,2,3,4,5 -- ENABLE TAG_PORT = Port 1,2 TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 2 MAC Configuration Table Port 1 --> VLANPRIO = 7 VLANID = 1 Port 2 --> VLANPRIO = 7 VLANID = 2 Port 3 --> VLANPRIO = 7 VLANID = 3 Port 4 --> VLANPRIO = 7 VLANID = 4 Port 7 --> VLANPRIO = 3 VLANID = 2 SWITCH - 2 VLANID = 0 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Disable all Ports BC_DOMAIN = Disable all Ports TAG_PORT = Disable all Ports TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 0 VLANID = 1 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Port 1,2,3,4 -- ENABLE BC_DOMAIN = Port 1,2,3,4 -- ENABLE TAG_PORT = Port 1,2 TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 1 VLANID = 2 VING_MIRR = Disable all Ports VEGR_MIRR = Disable all Ports VMEMB_PORT = Port 1,2,3,4,7 -- ENABLE BC_DOMAIN = Port 1,2,3,4,7 -- ENABLE TAG_PORT = Port 1,2 TYPE_ENTRY[1] = ENABLE TYPE_ENTRY[0] = ENABLE VLANID = 2 MAC Configuration Table Port 1 --> VLANPRIO = 7 VLANID = 1 Port 2 --> VLANPRIO = 7 VLANID = 2 Port 3 --> VLANPRIO = 7 VLANID = 3 Port 4 --> VLANPRIO = 7 VLANID = 4 Port 5 --> VLANPRIO = 3 VLANID = 2 can you give me a right way for the above one what are the VLANID need to be configured in MAC Configuration table and VLAN Lookup table Same VLANID can be mentioned in MAC Configuration Table and the VLANID also need to be configured in L2 Lookup table These VLANID are used in L2 lookup table were for some MAC Address we utilized VLANID = 1 and for other MAC Addresses used VLANID = 2 in this configuration with respect to stream of VLANID = 1 is working fine able to Transmit and receive Message whatever the VLANID getting mentioned in Port 3 & Port 4 is configured that Configuration of Message is working fine Say suppose when i configure VLANID = 1 in Port 3 at the time the configuration with respect to that is working but the configuration with respect to VLANID = 2 is not working when i do vice versa its working fine The stream 2 is an UDP stream, which is coming around 30Mbps speed what is the root cause of the issue ? Re: How can I configure IEEE802.1CB Frame Replication and Elimination for Redundancy (FRER) in SJA11 Hello @Abrar_23 ,
let's start with the CB. If you want to isolate the CB traffic from the other traffic by adding a VLAN tag to it, you have to do the following:
Add VLAN entry to VLAN Lookup Table
// no mirroring
VING_MIRR = 0x0
VEGR_MIRR = 0x0
// vlan port membership, add ports used for CB
// for switch 1 this would be e.g. port 2, 3 and 4
VMEMB_PORT = 0x1C
VLAN_BC = 0x1C
// keep the VLAN tag at egress
TAG_PORT = 0x1C
// VLAN type this entry is eligible for
TYPE_ENTRY[1] = 1
TYPE_ENTRY[0] = 1
// VLAN ID
VLANID = 100
Edit the respective L2 Lookup Table entry
// add VLAN ID 100 to the lookup
VLANID = 100
VLANIDMASK = 0xfff
where VLANIDMASK is a part of MASK, you already have set up.
If you want to keep VLAN tag on egress, select port in TAG_PORT (VLAN lookup table).
If you want to add VLAN tag on ingress, VLANID shall be set on MAC configuration table for the requested port.
I think that L2 policing table shall be also set - please check AN12925, chapter 5.3.1 L2 policing.
Your idea with VLAID priority as the flow shaper might work.
BTW, how do you generate your streams? How much traffic (Mbps) do you generate?
Bets regards,
Pavel Re: How can I configure IEEE802.1CB Frame Replication and Elimination for Redundancy (FRER) in SJA11 Hello @PavelL So, for my setup I am having two Stream say stream 1 & stream 2 when i enable both the stream same time i am losing the stream 1 Packets so, in order to overcome this issue i am planning to add VLAN to overcome this issue by the reference from document i read when VLAN is added we will have a Separate queue for Processing each stream since separate VLANID is assigned I want to add tag on the Egress Yes, I want to Isolate the CB Stream Traffic from other traffic by adding VLAN tag to it I tried the above implementation i checked the ethernet Frame where the VLAN ID is tagged but its unable to overcome the issue of Packet loss of Stream 1 when both the stream is append running assigned different VLANID and VLAN(Priority) different but the still packet loss is happening How to overcome this issue Regards Abrar Re: How can i configure IEEE802.1CB Frame Replication and Elimination for Redundancy (FRER) in SJA11 Hello @Abrar_23 ,
I went through your setup. I apologize but I'm not sure what do you want. Could you please be more specific?
Do you want to tag ingress? Keep tag on egress? Do you want to isolate the CB traffic from the other traffic by adding a VLAN tag to it?
Thank you.
Best regards,
Pavel Re: How can i configure IEEE802.1CB Frame Replication and Elimination for Redundancy (FRER) in SJA11 Hello @Abrar_23 ,
I moved the post to the thread. I hope I will come with answer this week.
Thank you for your understanding.
Best regards,
Pavel
記事全体を表示