diff options
| author | Vincenzo Maffione <v.maffione@gmail.com> | 2018-12-06 17:59:05 +0100 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2019-03-05 11:27:40 +0800 |
| commit | cc599ed6d46250b2178eca1a06a4602acd83b706 (patch) | |
| tree | ee79baf42dcbfb4675532c3c674db8f704adb98c /include/qemu/typedefs.h | |
| parent | 6d3aaa5b255ffc55a0561d359159fdaaccf09b31 (diff) | |
| download | focaccia-qemu-cc599ed6d46250b2178eca1a06a4602acd83b706.tar.gz focaccia-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/qemu/typedefs.h')
0 files changed, 0 insertions, 0 deletions