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. The last one fixes the buffer exhaustion case. With this series Q800 networking card is fully functionnal. Laurent Vivier (3): dp8393x: put the DMA buffer in the state structure dp8393x: fix dp8393x_receive() dp8393x: fix receiving buffer exhaustion hw/net/dp8393x.c | 136 +++++++++++++++++++++++------------------------ 1 file changed, 66 insertions(+), 70 deletions(-) -- 2.21.0