#2011 closed defect (fixed)

GRETH: potential deadlock, one bugfix, performance improvements

Reported by: Daniel Hellstrom Owned by: Eric Norum
Priority: normal Milestone: 4.11
Component: network/legacy Version: 4.11
Severity: normal Keywords:
Cc: joel.sherrill@… Blocked By:


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@…>
Signed-off-by: Daniel Hellstrom <daniel@…>

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

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@…>

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

Attachments (2)

0007-GRETH-Moved-print-to-remove_HEAD.patch (2.4 KB) - added by Daniel Hellstrom on Feb 2, 2012 at 3:47:23 PM.
patch1 for HEAD
0008-GRETH-performance-improvements_HEAD.patch (24.2 KB) - added by Daniel Hellstrom on Feb 2, 2012 at 3:48:42 PM.
patch2 for HEAD

Download all attachments as: .zip

Change History (5)

Changed on Feb 2, 2012 at 3:47:23 PM by Daniel Hellstrom

patch1 for HEAD

Changed on Feb 2, 2012 at 3:48:42 PM by Daniel Hellstrom

patch2 for HEAD

comment:1 Changed on Feb 2, 2012 at 3:49:24 PM by Daniel Hellstrom

Cc: Joel Sherrill added

comment:2 Changed on Feb 2, 2012 at 6:25:53 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

Applied to 4.10 branch and head.


comment:3 Changed on Nov 24, 2014 at 6:58:28 PM by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.