-
Notifications
You must be signed in to change notification settings - Fork 61
fix(HSR_Offload): changed introduction.rst #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kathrynsuraya
wants to merge
1
commit into
TexasInstruments:master
Choose a base branch
from
kathrynsuraya:Update-HSR-Offload
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -4,15 +4,27 @@ HSR Offload | |||||||||||||||||
|
||||||||||||||||||
.. rubric:: **Introduction** | ||||||||||||||||||
|
||||||||||||||||||
HSR framework in linux allows offloading below functionalities to the | ||||||||||||||||||
device | ||||||||||||||||||
hsr-fwd-offload: For forwarding HSR frames one port to another i.e port-to-port | ||||||||||||||||||
forwarding | ||||||||||||||||||
|
||||||||||||||||||
hsr-dup-offload: Duplicate the outgoing HSR frame | ||||||||||||||||||
|
||||||||||||||||||
The ICSSG HSR firmware supports port-to-port forwarding, Tx packet duplication | ||||||||||||||||||
and this allows to offload these capabilities from HSR driver in software to the PRU-ICSSG. | ||||||||||||||||||
Redundant and reliable communication is necessary for the highly critical nature of grid infrastructure where network | ||||||||||||||||||
failures can lead to a disruption in electricity distribution. The international standard IEC 61850 addresses this importance and | ||||||||||||||||||
defines communication protocols that provide this redundancy and reliability needed within these grid substations. High-availability Seamless Redundancy (HSR) | ||||||||||||||||||
and Parallel Redundancy Protocol (PRP) are communication protocols defined by this standard, and they are the preferred protocols in today’s | ||||||||||||||||||
industry because there is no downtime or packet loss when a link failure occurs. In terms of current offload support, HSR will be the main focus. | ||||||||||||||||||
As mentioned in the HSR PRP Non-offload Section of these release notes, HSR is a protocol that supports redundant network connections, usually configured | ||||||||||||||||||
as a ring with Ethernet frames being sent in both directions. If one path around the ring fails, the other duplicated packet will still reach the intended destination. | ||||||||||||||||||
|
||||||||||||||||||
When implementing HSR solutions in grid substations, traditionally, FPGAs and ASICs were used to support the HSR standard, but with modern | ||||||||||||||||||
processors and hardware accelerators, the AM64x provides a more cost-effective solution for implementing substation requirements, including HSR. | ||||||||||||||||||
Offloading is the process of transferring tasks away from the CPU to another processing unit. In the case of the AM64x Sitara Processor, | ||||||||||||||||||
HSR tasks can be offloaded from the A53 cores to the PRU_ICSSG. | ||||||||||||||||||
|
||||||||||||||||||
.. rubric:: **Linux HSR Offload Support** | ||||||||||||||||||
HSR framework in Linux allows offloading below functionalities to the device: | ||||||||||||||||||
• hsr-fwd-offload: For forwarding HSR frames one port to another i.e. port-to-port forwarding | ||||||||||||||||||
• hsr-dup-offload: Duplicate the outgoing HSR frame | ||||||||||||||||||
• hsr-tag-ins-offload: Unique tag to identify HSR frames | ||||||||||||||||||
• hsr-tag-rm-offload: Removes the HSR tags | ||||||||||||||||||
Comment on lines
+22
to
+25
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||
|
||||||||||||||||||
The ICSSG HSR firmware supports these features which offloads these capabilities from the HSR driver in software to the PRU-ICSSG. Cut-through switching improves HSR latency but would need to be implemented separately. | ||||||||||||||||||
|
||||||||||||||||||
To enable offloading using below commands | ||||||||||||||||||
To enable port-to-port offload | ||||||||||||||||||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a newline after a directive.