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

git: bnx: In polling mode, force chip update status block for status changes


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 9 May 2013 07:17:03 -0700 (PDT)

commit 24e16e4bbeba80dff6f6424d88762b01b93099d6
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Thu May 9 21:59:11 2013 +0800

    bnx: In polling mode, force chip update status block for status changes
    
    If the status block updating is not forced, we will always see staled
    status changes in polling mode, which causes bunch of unnecessary register
    reading.
    
    For status changes sharing status block with transmission, staled status
    changes probably won't linger for too much time, since any data transmit
    completion will cause status block to be updated.  However, for status
    changes using its own status block, staled status changes will be there
    until the chips are stopped.

Summary of changes:
 sys/dev/netif/bnx/if_bnx.c | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/24e16e4bbeba80dff6f6424d88762b01b93099d6


-- 
DragonFly BSD source repository



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