You are on page 1of 14

Create Redundant

Networks with TSN


802.1CB
Jeff Steinheider
Director, Product Marketing Industrial Applications Processors
MARCH 2020

EXTERNAL
NXP, THE NXP LOGO AND NXP SECURE CONNECTIONS FOR A SMARTER W ORLD ARE TRADEMARKS OF NXP B.V.
ALL OTHER PRODUCT OR SERVICE NAMES ARE THE PROPERTY OF THEIR RES PECTIVE OW NERS. © 2020 NXP B.V.
EMBEDDED TIME-SENSITIVE NETWORKING (TSN)

• Converge OT and IT traffic in a single network


EdgeLock Arm®
• Determinist Ethernet at gigabit speeds Cortex-M7/M4 QSPI/
HyperRAM
Interface
• Reduce network delays, improve robustness Display TCM SRAM

• Embedded in multi-processor and crossover MCUs Camera


Input TSN
Eth
Eth IO
Cont.
Motor Cont.
Ctrl

Fieldbus
Protocols TSN Arm
Cortex-A72
Arm
Cortex-A72
SEC
Proprietary L2 Cache
Industrial D
Ethernet D
4 Port R
Standard TSN
Eth TSN
GPU Eth
IP Traffic Cont.
Cont.
Ethernet
Switch
Gigabit Ethernet
EXTERNAL 1
T S N S TA N D A R D S F O R I N D U S T RY

Standard Description
802.1Qbv Scheduled Traffic
802.1Qav Forwarding and Queuing Enhancements
802.1Qbu,
802.3BR Frame Preemption
802.1CB Frame Replication and Elimination for Reliability
802.1Qci Per-stream filtering and policing
802.1AS Timing and synchronization for Time-Sensitive Applications

EXTERNAL 2
8 0 2 . 1 C B – F R A M E R E P L I C AT I O N AN D E L I M I N AT I O N F O R R E L I A B I L I T Y

• TSN hardware performs


B’ A’ replication/elimination
• Zero time failover if 1 path fails
Talker Listener • No need for upper level retry
mechanisms
• Simpler code base with reliability
B’’ A’’

Talker replicates Ethernet • Listener provides first Ethernet


frames and sends over frame that arrives to application
multiple paths to Listener • Listener removes duplicates

EXTERNAL 3
L AY E R S C A P E L S 1 0 2 8 A – I N D U S T RY R E AD Y

Dual core Arm® Cortex®-A72


64 bit processors

Trust Arm Arm


Architecture V8 A72 V8 A72
SEC

L2 Cache
Integrated ECC
DDR
DDR4/DDR3L

GPU and LCD TSN 4 Port TSN


Ethernet
Controller GPU
Controller
Ethernet Ethernet
DisplayPort PHY Controller Switch
4K Display

Next Generation Ethernet Integrated TSN


Controllers with TSN Switch
(TSN Endpoint)
EXTERNAL 4
OPENIL
OPEN INDUSTRIAL LINUX
LS1028A

• Deterministic Computing
Xenomai Linux
Bare Metal Framework

• Open Source support for


TSN

• Open source support for


timing synchronization
(PTP, gPTP)

EXTERNAL 5
I E E E 8 0 2 . 1 C B - S T R E A M I D E N T I F I C AT I O N

• Clause 6 of 802.1CB defines 4 stream identification functions:


Stream identification Examines Overwrites
function
Null DMAC, VLAN ID None
Source MAC and VLAN SMAC, VLAN ID None
Active Destination MAC and DMAC, VLAN ID DMAC, VLAN ID, VLAN PCP
VLAN
IP DMAC, VLAN ID, IP SRC, IP None
DST, DSCP, IP Next Proto,
Source Port, Destination Port

• The LS1028A switch supports the Null Stream Identification.


− Thismeans that based on the MAC table (FDB rules), the switch may perform a lookup and
associate {DMAC, VLAN} pairs with a Seamless Stream ID (SSID).
EXTERNAL 6
IEEE 802.1CB - USAGE EXAMP LE

LS1028ARDB Board 1 • Use 802.1CB to create redundant


MAC 0 SWP0 SWP1 SWP2 SWP3
streams between 2 LS1028A devices
• Instant failover if one of the links fails
• Use Cases:
− Wireless links
▪ (microwave, point-to-point)
− Critical control and data paths
LS1028ARDB Board 2
▪ (automotive, data center, industrial)
MAC 0 SWP0 SWP1 SWP2 SWP3

EXTERNAL 7
T R A F F I C G E N E R AT I O N

• tsntool cbstreamidset –device swp0 –nullstreamid –nulldmac


<receive_board eno2 macaddr> --nullvid <vid1> --streamhandle
<ssid> --index <ssid> --enable
• tsntool cbgen –device swp0 –index <ssid> --iport_mask 0x10 –
split_mask 0x03 –seq_length 16 –seq_num 0

Identify stream to replicate (Using null stream ID)


Specify rules to split traffic

EXTERNAL 8
T R A F F I C T E R M I N AT I O N

• tsntool cbstreamidset –device swp4 –nullstreamid –nulldmac


<receive_board eno2 macaddr> --nullvid <vid1> --streamhandle
<ssid>
• tsntool cbrec –device swp0 –index <ssid> –seq_length 16 –his_len
31 –rtag_pop_en

NXP has scripts to perform switch configuration and vlan Ethernet device.

Identify stream to join (Using null stream ID)


Specify rules to perform sequence recovery

EXTERNAL 9
L S 1 0 2 8 A 8 0 2 . 1 C B D E M O N S T R AT I O N

EXTERNAL 10
B E N E F I T S F O R F R A M E R E P L I C AT I O N AN D TSN AT NXP
E L I M I N AT I O N

• Instant failover for redundant


communication paths

• Available on NXP LS1028A

• Open source software support

EXTERNAL 11 EXTERNAL 11
AD D I T I O N A L R E S O U R C E S

Product Pages
• LS1028A https://www.nxp.com/LS1028A
• LS1028ARDB (Reference Design Board) https://www.nxp.com/LS1028ARDB
• Layerscape SDK https://www.nxp.com/LSDK

EXTERNAL 12
NXP, THE NXP LOGO AND NXP SECURE CONNECTIONS FOR A SMARTER WORLD ARE TRADEMARKS OF NXP B.V. ALL OTHER PRODUCT OR SERVICE NAMES ARE THE PROPERTY OF THEIR RESPECTIVE OWNERS. © 2020 NXP B.V.

You might also like