This series starts with a cleanup of the DMA buffer, moving it from the stack to the state structure.
The following patch allows to negociate the IP address with the DHCP server. v2: remove PATCH 3 (will be reworked later) modifies PATCH 2 to adjust the offset of the field, not the size, added R-b, T-b from Hervé Laurent Vivier (2): dp8393x: put the DMA buffer in the state structure dp8393x: fix dp8393x_receive() hw/net/dp8393x.c | 113 ++++++++++++++++++++++++----------------------- 1 file changed, 57 insertions(+), 56 deletions(-) -- 2.21.0