Skip to content
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

Ethernet PRP (IDFGH-13730) #14597

Open
sramrajkar opened this issue Sep 17, 2024 · 0 comments
Open

Ethernet PRP (IDFGH-13730) #14597

sramrajkar opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
Status: Selected for Development Issue is selected for development Type: Feature Request Feature request for IDF

Comments

@sramrajkar
Copy link

Is your feature request related to a problem?

We have a dual ethernet custom board based on ESP32S3. It uses w5500 for the two interfaces. We now have a requirement to support profinet and IEC61850 on this platform. Both need PRP (Parallel Redundancy Protocol). This is another feature I thought might be worth adding to the lwip port for ESP IDF. As more and more industrial applications are using esp32, this is a good feature to support officially from expressif if possible.

Describe the solution you'd like.

Idea would be to may be play with netif input and output functions.

  1. In the output function of one netif send data to the other one as well. This is also where the PRP tag should be added. Max packet length will have to be reduced to accommodate the tag.
  2. In the rx of the two interfaces we will have to keep a packet cache and deduplicate the packet.
  3. To make the two interfaces abstracted to the application maybe we need a third virtual interface? This is the part I am confused about as the application should see transparent redundancy.

Describe alternatives you've considered.

Currently there are not real alternatives for this.

Additional context.

No response

@sramrajkar sramrajkar added the Type: Feature Request Feature request for IDF label Sep 17, 2024
@github-actions github-actions bot changed the title Ethernet PRP Ethernet PRP (IDFGH-13730) Sep 17, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Sep 17, 2024
@espressif-bot espressif-bot added Status: Selected for Development Issue is selected for development and removed Status: Opened Issue is new labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Selected for Development Issue is selected for development Type: Feature Request Feature request for IDF
Projects
None yet
Development

No branches or pull requests

3 participants