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 148315A0274 for ; Wed, 6 Mar 2024 06:58:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1709704722; bh=ReeS3sJ+MFl8FOglE6j5tjKMhJT5KR4kUovo2r55XSo=; h=From:To:Cc:Subject:Date:From; b=hwW8lb537/NWiPKiJveGygRCNzs3yNMgaoLjac3i7+xRBb56A2j7e8k9eShBhY0Kq 3EAYZY8mZ3cMJvDNyoLazDv9AcXyfuOwNt/tCs5x8af5rI421faYmORcdGX8dAPKbh juQp6Sf4+yUhr4pWSfF9JvH5i/CosAWce4OdOf8aIpH7Nroy5l1WDx355fUWCOsRQj DUtjqCg2NAqhnjvc19COuw0yd222n4/6aBBhfTv+ap6Ctre70mm7KNIwjEpW0L4hh2 Xm9wmUEn99xjKHWvWo1ILxDUR/91fTvQK0CF98gcxqQyqNUOR6M+uD299XHvVOHWXV YqpOPKC5jQRZg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4TqMDy1cDDz4wcF; Wed, 6 Mar 2024 16:58:42 +1100 (AEDT) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v2 0/9] vhost-user part 1, v6 Date: Wed, 6 Mar 2024 16:58:29 +1100 Message-ID: <20240306055838.1180477-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: 3O3466CD2JIT2FFZUTKTFTISTKW6CNR4 X-Message-ID-Hash: 3O3466CD2JIT2FFZUTKTFTISTKW6CNR4 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: lvivier@redhat.com, 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: When I rebased by own code, I hit the problems Stefano mentioned with static checker regressions in the vhost-user series. Laurent's most recent vhost-user part 1 series, but with fixes applied for the cppcheck and clang-tidy regressions introduced. Changes since 'v5 + static checker fixes' * Added my own alteration notes and S-o-b Changes since v5: * Fixed a number of static checker regressions Laurent Vivier (9): pcap: add pcap_iov() checksum: align buffers checksum: add csum_iov() util: move IP stuff from util.[ch] to ip.[ch] udp: little cleanup in udp_update_hdrX() to prepare future changes checksum: use csum_ip4_header() in udp.c and tcp.c checksum: introduce functions to compute the header part checksum for TCP/UDP tap: make tap_update_mac() generic tcp: Introduce tcp_fill_headers4()/tcp_fill_headers6() Makefile | 10 +-- checksum.c | 173 ++++++++++++++++++++++++++++++---------- checksum.h | 12 ++- conf.c | 1 + dhcp.c | 1 + flow.c | 1 + fwd.c | 1 + icmp.c | 1 + inany.c | 1 + iov.c | 1 - ip.c | 72 +++++++++++++++++ ip.h | 86 ++++++++++++++++++++ ndp.c | 1 + pcap.c | 27 ++++++- pcap.h | 1 + qrap.c | 1 + tap.c | 13 +-- tap.h | 2 +- tcp.c | 221 +++++++++++++++++++++++++++++---------------------- tcp_splice.c | 1 + udp.c | 82 ++++++++----------- util.c | 55 ------------- util.h | 76 ------------------ 23 files changed, 505 insertions(+), 335 deletions(-) create mode 100644 ip.c create mode 100644 ip.h -- 2.44.0