DragonFly BSD
DragonFly commits List (threaded) for 2012-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: jme: Fix the race on the RX path against hardware for jumbo frames


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Jun 2012 01:04:39 -0700 (PDT)

commit 9d4f763dc4015db4724632fe3242f081a37882e9
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Tue Jun 12 14:22:13 2012 +0800

    jme: Fix the race on the RX path against hardware for jumbo frames
    
    Hardware will not clear OWN bit except the first RX desc, so its
    following RX desc's OWN bit should be cleared before set the OWN
    bit on the first RX desc again, i.e. before the first RX desc get
    reused.

Summary of changes:
 sys/dev/netif/jme/if_jme.c |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9d4f763dc4015db4724632fe3242f081a37882e9


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]