From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id C5FA65A026D for ; Wed, 8 Nov 2023 04:18:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1699413479; bh=mdFxfdqHDq0vyVsV6ZnXfQy3gpOhJ4hCZccSs3J+7ag=; h=From:To:Cc:Subject:Date:From; b=V1uoQKZKyfol/tTNkpOAe1GNQuJcIqZByj1aaJY+evJMSiHPNwOiL+SjGBoqHd8Sk zoGaOV0VJ/Ajs5uQ95JdaEnHbLct1tzoZ9KrK4pTqWXhpeTF0SbupCnkJwNpROS9/5 642pdaRcMRqY2J3+HHNtBfyE9Nluq8Th1+NCl8/8= Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4SQ9JR05x0z4xGQ; Wed, 8 Nov 2023 14:17:59 +1100 (AEDT) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/2] Handle incomplete tap writes for pasta Date: Wed, 8 Nov 2023 14:17:52 +1100 Message-ID: <20231108031754.2670078-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.41.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: RDV7BWIBTX4KOTAD4KOMFLEX7XKJAJHW X-Message-ID-Hash: RDV7BWIBTX4KOTAD4KOMFLEX7XKJAJHW X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: passt can handle various cases where we're unable to write all the data we want to to the tap side. The same logic would make sense for pasta, however right now we don't properly report incomplete writes with the tuntap device of pasta, rather than the qemu socket of passt. I come across these as possible issues with the various stall bugs we've been investigating. It doesn't look like they're relevant there after all, but they should be correct changes nonetheless. David Gibson (2): tap, pasta: Handle incomplete tap sends for pasta too tap, pasta: Handle short writes to /dev/tap tap.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) -- 2.41.0