CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2009/04/21 18:38:04

Modified files:
        sys/dev/pci    : if_bnxreg.h if_bnx.c 

Log message:
replace arrays of dmamaps and mbuf pointers used to manage packets
on the tx rings (one mbuf ptr/dmamap array entry was created for
every tx descriptor slot at attach time) with a dynamically grown
list of mbuf pointers and dmamaps.

bnx used to have 512 dmamaps/mbuf pointers for the tx ring, now my
system is running with 8 under moderate load.

the big bonus from this is that the dmamap handling is greatly
simplified.

reyk@ likes this a lot

Reply via email to