[intelxl] Split out ring creation from context programming
authorMichael Brown <mcb30@ipxe.org>
Wed, 24 Apr 2019 15:47:16 +0000 (16:47 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sat, 27 Apr 2019 19:26:18 +0000 (20:26 +0100)
commit2dbd9c0a3ca37e90a7e570acec35f02e54bba4aa
tree1f81c74e8368ab724eb9070b8375be07442dc819
parent9907fd54d358a993cbc389d6d956c1a2da923df9
[intelxl] Split out ring creation from context programming

The virtual function driver will use the same transmit and receive
descriptor ring structures, but will not itself construct and program
the ring context.  Split out ring creation and destruction from the
programming of the ring context, to allow code to be shared between
physical and virtual function drivers.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/intelxl.c