git: netif: Configure mbuf clusters/jclusters limits

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Jul 25 06:21:03 PDT 2015


commit 149299793f827f46e583a944e1732010317ac923
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Jul 25 20:58:08 2015 +0800

    netif: Configure mbuf clusters/jclusters limits
    
    Default mbuf clusters limit work for most of the network device
    drivers.  The drivers modified by this commit:
    - Use mbuf jclusters.
    - Size of the reception queues could be configured.
    - Support multiple reception queues.
    
    et(4) and mxge(4) are special; they use non-cluster mbuf for small
    packets reception, so we adjust non-cluster mbuf limit manually in
    these two drivers.

Summary of changes:
 sys/dev/netif/ath/ath/if_ath.c |  4 ++++
 sys/dev/netif/bce/if_bce.c     |  2 ++
 sys/dev/netif/bge/if_bge.c     |  1 +
 sys/dev/netif/bnx/if_bnx.c     |  2 ++
 sys/dev/netif/em/if_em.c       |  1 +
 sys/dev/netif/emx/if_emx.c     |  2 ++
 sys/dev/netif/et/if_et.c       |  7 +++++++
 sys/dev/netif/igb/if_igb.c     |  2 ++
 sys/dev/netif/iwn/if_iwn.c     |  1 +
 sys/dev/netif/ix/if_ix.c       |  3 +++
 sys/dev/netif/jme/if_jme.c     |  2 ++
 sys/dev/netif/mxge/if_mxge.c   | 10 ++++++++++
 sys/dev/netif/nfe/if_nfe.c     |  1 +
 sys/dev/netif/oce/oce_if.c     |  2 ++
 sys/dev/netif/re/if_re.c       |  1 +
 sys/dev/netif/wpi/if_wpi.c     |  1 +
 16 files changed, 42 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/149299793f827f46e583a944e1732010317ac923


-- 
DragonFly BSD source repository


More information about the Commits mailing list