diff options
| author | Vincenzo Maffione | 2018-12-06 17:59:05 +0100 |
|---|---|---|
| committer | Jason Wang | 2019-03-05 04:27:40 +0100 |
| commit | cc599ed6d46250b2178eca1a06a4602acd83b706 (patch) | |
| tree | ee79baf42dcbfb4675532c3c674db8f704adb98c /include | |
| parent | net/colo-compare.c: Remove duplicated code (diff) | |
| download | qemu-cc599ed6d46250b2178eca1a06a4602acd83b706.tar.gz qemu-cc599ed6d46250b2178eca1a06a4602acd83b706.tar.xz qemu-cc599ed6d46250b2178eca1a06a4602acd83b706.zip | |
net: netmap: small improvements netmap_send()
This change improves the handling of incomplete multi-slot packets
(e.g. with the NS_MOREFRAG set), by advancing ring->head only on
complete packets. The ring->cur pointer is advanced in any case in
order to acknowledge the kernel and move the wake-up point (thus
avoiding repeated wake-ups).
Also don't be verbose when incomplete packets are found.
Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
