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 547F65A026F for ; Wed, 6 Mar 2024 05:18:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1709698705; bh=fhHYvI7OTG+k2b7rZQwHPGSDdnhk4y8P4VShknn8YQU=; h=From:To:Cc:Subject:Date:From; b=BA8dCQDPv8k2UZDf8IaYEB5jd0K0bgpNVe+g845xRM7rgQSxh8od6bovETp/yXsP3 KrwcTFis/ajKPTeky/SeCC+m6WHC7doWIvVOuFCJJy74xfh2ACx4QXxS3COwRfWKnd HPKKhqOaLZhqTA+MrSzK/9sopbB/1juEI/KwKWPhNB05zxrz4Olcchj1ItEmLQgVQ/ u7ZNvrKf1OYOC3Fc0p/yuXi4rT+dxHC7iWP5eTjtggXKq3Ma5pIA6QspC5cQDaUl5U dyPmTy8PQuiZ0EYnLsgac9UuVUA9XNp9IJgnTGcTy4llY3bxG0ts5BbsS7wuZj4RK0 yTmuqHGIHpb3w== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4TqK1F4R6zz4wcJ; Wed, 6 Mar 2024 15:18:25 +1100 (AEDT) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/9] vhost-user part 1, v5 + static checker fixes Date: Wed, 6 Mar 2024 15:18:14 +1100 Message-ID: <20240306041823.569903-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: ZR2RP3RQKBNM72M6NP7QBIFGWJISTRAK X-Message-ID-Hash: ZR2RP3RQKBNM72M6NP7QBIFGWJISTRAK 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: Stefano, you may have already done this, but I hit the same issue trying to rebase my own code on the vhost-user stuff. This is Laurent's most recent vhost-user part 1 series, but with fixes applied for the cppcheck and clang-tidy regressions introduced. 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 ipv4_fill_headers()/ipv6_fill_headers() 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