diff options
author | Mohammed Hawari <mohammed@hawari.fr> | 2022-02-24 15:19:01 +0100 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-08-08 14:36:32 +0000 |
commit | 8a419d5b5dd3da5d3d8597cd65ac74f191fb7da7 (patch) | |
tree | 5116dd8178f594873226dfdf5b1788185af4e334 /src/vnet/devices/af_packet/af_packet.h | |
parent | ce91af8ad27e5ddef1e1f8316129bfcaa3de9ef6 (diff) |
devices: af_packet, fix tx stall by retrying failed sendto
Change-Id: I6bed66f740b34673a4883eda1c7f7310c57e131b
Type: fix
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/devices/af_packet/af_packet.h')
-rw-r--r-- | src/vnet/devices/af_packet/af_packet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.h b/src/vnet/devices/af_packet/af_packet.h index 10a7aafda56..e5dc6151361 100644 --- a/src/vnet/devices/af_packet/af_packet.h +++ b/src/vnet/devices/af_packet/af_packet.h @@ -82,6 +82,7 @@ typedef struct u32 rx_frame_offset; u16 num_rx_pkts; u8 is_rx_pending; + u8 is_tx_pending; vnet_hw_if_rx_mode mode; } af_packet_queue_t; |