Messages in this thread | | | Date | Fri, 07 Nov 2014 11:35:22 -0500 (EST) | Subject | Re: [PATCH net-next 2/2] r8152: adjust rtl_start_rx | From | David Miller <> |
| |
From: Hayes Wang <hayeswang@realtek.com> Date: Fri, 7 Nov 2014 17:55:11 +0800
> Submit all the rx buffers, even though a error occurs. Otherwise > the buffers which are not submitted would be lost until next > rtl_start_rx() is called. Besides, the fail buffer could be > re-submitted later. > > Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Does this even work?
If you leave a hole in the ring, the device is going to stop there anyways.
So better to replenish the next time you call into this function rather than leaving gaps in your receive ring.
| |