[Bug 2011] New: GRETH: potential deadlock, one bugfix, performance improvements

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Feb 2 16:47:24 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2011

           Summary: GRETH: potential deadlock, one bugfix, performance
                    improvements
           Product: RTEMS
           Version: HEAD
          Platform: sparc
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: networking
        AssignedTo: norume at aps.anl.gov
        ReportedBy: daniel at gaisler.com


Created attachment 1414
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1414
patch1 for HEAD

GRETH: Moved print to remove potential deadlock

Deadlock may arise when the EDCL bug link is used to tunnel
console output over Ethernet, when Ethernet is down one should
avoid using console (only during debugging of LEON targets)

Author: Marko Isomaki <marko at gaisler.com>
Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>

 c/src/libchip/network/greth.c |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)




GRETH: performance improvements and one bugfix

GRETH driver updated, 10-15% performance improvements for GBIT MAC,
unnecessary RX interrupts not taken which under heavy load saves approx.
1500 interrupts/s, one task removed saving about 5kb memory and 1 bug
solved.

BUG: RX interrupt was enabled before the RX-daemon was created which could
result in a faulty call to rtems_event_send.

Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>

 c/src/libchip/network/greth.c |  497 ++++++++++++++++++++++++++---------------
 1 files changed, 317 insertions(+), 180 deletions(-)

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list