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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Jun 16 06:28:27 PDT 2012


commit be922da60ada7aac0ea5e29003f96fc49a58eb06
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list