sfxge(4): compact the first hot part of RxQ control

buf_base_id is used on RxQ control operations only and not used on
datapath.

Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
This commit is contained in:
Andrew Rybchenko 2017-01-27 11:59:02 +00:00
parent ecfb79144f
commit 2fb1df8fe0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312885

View File

@ -155,7 +155,6 @@ struct sfxge_rxq {
struct sfxge_softc *sc __aligned(CACHE_LINE_SIZE);
unsigned int index;
efsys_mem_t mem;
unsigned int buf_base_id;
enum sfxge_rxq_state init_state;
unsigned int entries;
unsigned int ptr_mask;
@ -175,6 +174,7 @@ struct sfxge_rxq {
unsigned int refill_delay;
volatile enum sfxge_flush_state flush_state __aligned(CACHE_LINE_SIZE);
unsigned int buf_base_id;
};
/*