Avatar Blogs during GSoC-2025 period at RTEMS for the project - Providing SPARC GRETH Network Drivers for lwIP

Week-14 @RTEMS-GSoC-2025

Overview


This week, I completed the following tasks :

  • Work on GRETH RX Mechanism

Work completed this week


  1. Completing RX mechanism
    • This week and till end of submission deadline, I worked on ensuring the RX mechanism of the driver works successfully.
    • After experimenting with several ideas, I observed that the best way to implement RX mechanism is to have the function greth_rx_pbuf_refill() refills exactly a single pbuf. This comes with an advantage, that whenever the pbuf is freed, a single pbuf is freed, so that we can dereference a pbuf chain of a single pbuf.
    • However I fell seriously ill during this period, due to which I faced a bit of a lag in my work But, I was able to ensure RX and TX (Non-GBit) worked.
    • I cleaned up the code and created the final MR which can be found here
  2. Creating documentation
    • During this period, I also worked on creating elaborate documentation for this project.
    • The documentation can be found here