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 /hw/char/sclpconsole.c | |
parent | 6d3aaa5b255ffc55a0561d359159fdaaccf09b31 (diff) |
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 'hw/char/sclpconsole.c')
0 files changed, 0 insertions, 0 deletions