From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202410 header.b=UnMMU9YG; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id F34CB5A061B for ; Mon, 04 Nov 2024 09:40:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202410; t=1730709607; bh=d+zr/LpwqLHIDjxyERn/yN5iE+39kUQUXF0pOXm4vfU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UnMMU9YGfGBCBRkF2blxxiIChz9yMDX1W5Kw6lxUKDIBTaROLL3CT7nEQN2BtBpOA iLbI+yjHP1RpY+zgzXn4iTFanil8Kxi/ThJlh6aeurLTQLp2DPA98w7Tlu6eqjHhHb uBJ2NvMZxpRzclOv0Ku9H4JTXTFwTuI/TSiIYvyTPVSVIRJU62qmbaMOkDH59/iz50 wOW1buzVMr0jUX1IWgxUFgPGWRNfDxykE4ay5f+6VnTAuCRu4FZ7rFe5quHvX9rKOZ i4dA6m4ZhxMQYDmqXVKUhoZJiQDdtAJbBLNQ41MWq9SBKrgwbpySj2Uv5v7c4Mb8CU am/euvCSZYbdA== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4XhlK3486Dz4x9G; Mon, 4 Nov 2024 19:40:07 +1100 (AEDT) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v9 09/20] vhost-user: Fix some trivial errors in comments. Date: Mon, 4 Nov 2024 19:39:52 +1100 Message-ID: <20241104084004.3544294-10-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241104084004.3544294-1-david@gibson.dropbear.id.au> References: <20241104084004.3544294-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 3TOB5JLDIV3Z7DFJ4N5FLE6Y4KXYCANU X-Message-ID-Hash: 3TOB5JLDIV3Z7DFJ4N5FLE6Y4KXYCANU 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: - s/TDP/TCP/ in one place - Incorrect parameter name in function comment - Remove accidental reversion of tap_backend_init() comment Signed-off-by: David Gibson --- tap.c | 3 ++- tcp_vu.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tap.c b/tap.c index 7e91f52..9278430 100644 --- a/tap.c +++ b/tap.c @@ -1381,7 +1381,8 @@ void tap_sock_update_pool(void *base, size_t size) } /** - * tap_sock_init() - Create and set up AF_UNIX socket or tuntap file descriptor + * tap_backend_init() - Create and set up AF_UNIX socket or + * tuntap file descriptor * @c: Execution context */ void tap_backend_init(struct ctx *c) diff --git a/tcp_vu.c b/tcp_vu.c index 339c4d1..2415118 100644 --- a/tcp_vu.c +++ b/tcp_vu.c @@ -37,7 +37,7 @@ static struct iovec iov_vu[VIRTQUEUE_MAX_SIZE + 1]; static struct vu_virtq_element elem[VIRTQUEUE_MAX_SIZE]; /** - * tcp_vu_l2_hdrlen() - return the size of the header in level 2 frame (TDP) + * tcp_vu_l2_hdrlen() - return the size of the header in level 2 frame (TCP) * @v6: Set for IPv6 packet * * Return: Return the size of the header @@ -206,7 +206,7 @@ int tcp_vu_send_flag(const struct ctx *c, struct tcp_tap_conn *conn, int flags) * @conn: Connection pointer * @v4: Set for IPv4 connections * @fillsize: Number of bytes we can receive - * @datalen: Size of received data (output) + * @dlen: Size of received data (output) * * Return: Number of iov entries used to store the data */ -- 2.47.0