net/cadence_gem: Update DMA rx descriptors as we process them
commit3b2c97f9916e15ef630e3f8449b1b10902bf9407
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Wed, 4 Dec 2013 05:55:05 +0000 (3 21:55 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 10 Dec 2013 13:28:49 +0000 (10 13:28 +0000)
tree51a0b4dd8d1b9ddd10994748433d5cb337ac2149
parent24e822ea4669145c94552cef67751fbd9a42b4c8
net/cadence_gem: Update DMA rx descriptors as we process them

We were updating the ownership bit of all descriptors if packets
get split and written through several descriptors.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: d61b7847b51487118783c93765a485bc5c66d272.1386136219.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/cadence_gem.c