git: bge: Reduce the number of dropped frames when flow-control is enabled

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Jun 29 03:39:49 PDT 2012


commit 5fe22f8b362d9e728a2590870275a2372380001f
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Jun 29 18:31:10 2012 +0800

    bge: Reduce the number of dropped frames when flow-control is enabled
    
    Set the number of RX frames to receive after RX MBUF low watermark
    has reached.  Previously it dropped incoming frames once
    RX MBUF low watermark has reached.  The value used in MAC RX MBUF
    low watermark is greater than or equal to 4 so receiving two more
    RX frames should not be a problem.
    
    Obtained-from: OpenBSD via FreeBSD 213255

Summary of changes:
 sys/dev/netif/bge/if_bge.c    |    8 ++++++++
 sys/dev/netif/bge/if_bgereg.h |    1 +
 2 files changed, 9 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5fe22f8b362d9e728a2590870275a2372380001f


-- 
DragonFly BSD source repository





More information about the Commits mailing list