commit 089301c240f0aa570def475283b186dbbdd4ffef
Author: Sepherosa Ziehau <[email protected]>
Date:   Tue Oct 22 20:45:50 2013 +0800

    mxge: Record RX slot count instead of its size
    
    Original code assumes that the total size of RX slots is same as one RX
    descriptor ring size.  This assumption could easily be broken if we ask
    chip to deliver RSS hash (RX slot size will be changed from 4 bytes to 8
    bytes).  RX slot count is recorded now.

Summary of changes:
 sys/dev/netif/mxge/if_mxge.c     | 23 ++++++++++++++---------
 sys/dev/netif/mxge/if_mxge_var.h |  2 +-
 2 files changed, 15 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/089301c240f0aa570def475283b186dbbdd4ffef


-- 
DragonFly BSD source repository

Reply via email to