Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
devices: af_packet, fix tx stall by retrying failed sendto
[vpp.git]
/
src
/
vnet
/
devices
/
af_packet
/
af_packet.c
diff --git
a/src/vnet/devices/af_packet/af_packet.c
b/src/vnet/devices/af_packet/af_packet.c
index
83c1068
..
ec65bf6
100644
(file)
--- a/
src/vnet/devices/af_packet/af_packet.c
+++ b/
src/vnet/devices/af_packet/af_packet.c
@@
-437,6
+437,7
@@
af_packet_queue_init (vlib_main_t *vm, af_packet_if_t *apif,
tx_queue->next_tx_frame = 0;
tx_queue->queue_id = queue_id;
+ tx_queue->is_tx_pending = 0;
clib_spinlock_init (&tx_queue->lockp);
}