[intelxl] Allow for arbitrary placement of ring tail registers

The virtual function transmit and receive ring tail register offsets
do not match those of the physical function.  Allow the tail register
offsets to be specified separately.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2019-04-24 16:36:24 +01:00
parent f460a436ca
commit 9907fd54d3
2 changed files with 9 additions and 7 deletions

View File

@@ -680,6 +680,8 @@ struct intelxl_ring {
/** Register block */
unsigned int reg;
/** Tail register */
unsigned int tail;
/** Length (in bytes) */
size_t len;
/** Program queue context