From 43f1a32859cd75418c2505b66b44aaa3c0061891 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Tue, 29 Jun 2021 15:52:42 +0100 Subject: [PATCH] net_util: queue_pair: Remove -EAGAIN write warning This warning isn't present on on the read case and we now have better handling of the -EAGAIN situation including retries. Signed-off-by: Rob Bradford --- net_util/src/queue_pair.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net_util/src/queue_pair.rs b/net_util/src/queue_pair.rs index d5c6a4816..806a9fa8a 100644 --- a/net_util/src/queue_pair.rs +++ b/net_util/src/queue_pair.rs @@ -92,12 +92,12 @@ impl TxVirtio { iovecs.len() as libc::c_int, ) }; + if result < 0 { let e = std::io::Error::last_os_error(); /* EAGAIN */ if e.kind() == std::io::ErrorKind::WouldBlock { - warn!("net: tx: (recoverable) failed writing to tap: {}", e); queue.go_to_previous_position(); retry_write = true; break;