CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/02/04 03:59:24
Modified files:
sys/dev/pci : if_em.c if_em_hw.c if_em_hw.h if_em_osdep.h
Log message:
Refactoring to prepare multi-queues support, no intended behavior change:
- Abstract the allocation/freeing of TX/RX ring into em_dma_malloc().
This will ease the introduction of multiple rings.
- Split the 82576 variant out of 82575. The distinction is necessary
when it comes to setting multiple queues.
- Change multiple TX/RX related macro to take an index argument
corresponding to a ring. Currently only the index 0 and 1 are used.
- Gather and print more stats counters
- Switch to using a function, like FreeBSD, to translate 82542
registers and get rid of a set of defines.
Tested by many, thanks! ok mlarkin@, jmatthew@