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

git: igb: Allow used RX rings less than allocated ones


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Jun 2012 06:28:27 -0700 (PDT)

commit be922da60ada7aac0ea5e29003f96fc49a58eb06
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Jun 16 19:24:38 2012 +0800

    igb: Allow used RX rings less than allocated ones
    
    If MSI-X interrupt is not used or polling is used, two RX rings are
    enabled:
    - Packets' RSS hash still could be extracted
    - Avoid extra memory reading of RX ring, thus avoid unnecessary cache
      trashing

Summary of changes:
 sys/dev/netif/igb/if_igb.c |   60 +++++++++++++++++++++++++++++++++----------
 sys/dev/netif/igb/if_igb.h |    2 +
 2 files changed, 48 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/be922da60ada7aac0ea5e29003f96fc49a58eb06


-- 
DragonFly BSD source repository



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