From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id A760B5A027E for ; Thu, 29 Feb 2024 09:42:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1709196173; bh=ZwjKvCkcBzuBA2plaZG2Bwlqm7+78h1hUXDcv4vnKp8=; h=From:To:Cc:Subject:Date:From; b=bLwhRL1d9HhHKYoGZGDaD0ogDkQh74yk+K84sfWDhfGoNPCvfWuk8uvoYGix9p/0d FqWPFOK76hvy9g03JcnbGa8L6n7pVhcsqdSngH924BBqd+kZLZPC6rphI0Kk87ulNq 72x9mJtRh8b7Mvz+qOXBQ3dw7c1mwjNwNNfCuGG3NydEnzZL0LPARbM6ulN4vCTJE7 0EV+VS59nbx+Bv/40aTrOuIGl/rwIGlJQYtr/k502A5khszD/ofmTkSpgFOixxsAXe 4jV0En6OJrzUBDauhy1pN7R19UTiQyExhwQbB5XRXDNd17nYFVutOMMOiFzDm+Rhdp WrqDV+UNdu0EQ== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Tll991ZtZz4wyh; Thu, 29 Feb 2024 19:42:53 +1100 (AEDT) From: David Gibson To: Stefano Brivio , Laurent Vivier , passt-dev@passt.top Subject: [PATCH 0/6] udp: Small cleanups Date: Thu, 29 Feb 2024 19:42:44 +1100 Message-ID: <20240229084250.3202450-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.44.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: V6VK47YISGXZA5O6YP2K4WEBP3TN4A6A X-Message-ID-Hash: V6VK47YISGXZA5O6YP2K4WEBP3TN4A6A 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: Following on from the recent set of small fixes for UDP, here are a number of small cleanups to the UDP code, which will simplify later more complex fixes and improvements. Laurent, I expect this will have some conflicts with part 2 of your vhost-user work, sorry. David Gibson (6): udp: Refactor udp_sock[46]_iov_init() udp: Tweak interface to udp_update_hdr[46] udp: Clarify setting of addresses inin udp_update_hdr[46]() udp: Consistent port variable names in udp_update_hdr[46] udp: Avoid unnecessary pointer in udp_update_hdr4() udp: Clean up UDP checksum generation for inbound IPv6 packets udp.c | 235 +++++++++++++++++++++++++++------------------------------- 1 file changed, 108 insertions(+), 127 deletions(-) -- 2.44.0