public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: Laurent Vivier <lvivier@redhat.com>
Cc: David Gibson <david@gibson.dropbear.id.au>, passt-dev@passt.top
Subject: Re: [PATCH v2 1/2] vhost_user: Offer VIRTIO_NET_F_GUEST_CSUM
Date: Tue, 26 May 2026 18:36:48 +0200 (CEST)	[thread overview]
Message-ID: <20260526183648.270bfcc5@elisabeth> (raw)
In-Reply-To: <cc9a73de-5ed1-4331-9b01-7f08bd036ccd@redhat.com>

On Tue, 26 May 2026 16:50:30 +0200
Laurent Vivier <lvivier@redhat.com> wrote:

> On 5/26/26 16:48, Stefano Brivio wrote:
> > On Tue, 26 May 2026 16:00:55 +0200
> > Laurent Vivier <lvivier@redhat.com> wrote:
> >   
> >> On 5/26/26 15:48, Stefano Brivio wrote:  
> >>> On Tue, 26 May 2026 14:58:16 +0200
> >>> Laurent Vivier <lvivier@redhat.com> wrote:
> >>>      
> >>>> Hi Stefano,
> >>>>
> >>>> could you apply this one too?  
> >>>
> >>> Wait, sorry, I skipped the whole series as I thought Anshu was
> >>> anyway working on a more general approach for 2/2.
> >>>
> >>> I should just apply 1/2 instead, right?  
> >>
> >> Yes, Anshu's series cover 2/2 but patch 1/2 fixes a problem between iPXE and passt
> >> vhost-user implementation.  
> > 
> > ...so I tried applying this one but it has quite a few conflicts with
> > your own series that I just applied.
> > 
> > Do you happen to have a rebased version at hand? Otherwise I'll go
> > ahead and solve the conflicts myself, they're not complicated.
> >   
> 
> No, I don't have something already rebased.

Applying now. Due to commit dec66c02b5e4 ("udp: Pass iov_tail to
udp_update_hdr4()/udp_update_hdr6()"), merged meanwhile, this part
in udp_vu_sock_to_tap():

			if (!vu_has_feature(vdev, VIRTIO_NET_F_GUEST_CSUM) ||
			    *c->pcap)
				udp_vu_csum(toside, &data, dlen);

became, in udp_vu_prepare():

	no_csum = vu_has_feature(c->vdev, VIRTIO_NET_F_GUEST_CSUM) && !*c->pcap;

[...]

		udp_update_hdr4(&iph, &uh, payload, toside, dlen, no_csum);

[...]

		udp_update_hdr6(&ip6h, &uh, payload, toside, dlen, no_csum);

-- 
Stefano


  reply	other threads:[~2026-05-26 16:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-16 16:21 [PATCH v2 0/2] vhost-user, dhcp: Fix iPXE network boot over vhost-user Laurent Vivier
2026-04-16 16:21 ` [PATCH v2 1/2] vhost_user: Offer VIRTIO_NET_F_GUEST_CSUM Laurent Vivier
2026-05-26 12:58   ` Laurent Vivier
2026-05-26 13:48     ` Stefano Brivio
2026-05-26 14:00       ` Laurent Vivier
2026-05-26 14:48         ` Stefano Brivio
2026-05-26 14:50           ` Laurent Vivier
2026-05-26 16:36             ` Stefano Brivio [this message]
2026-04-16 16:21 ` [PATCH v2 2/2] dhcp: Add --dhcp-boot option to set boot filename in DHCP replies Laurent Vivier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260526183648.270bfcc5@elisabeth \
    --to=sbrivio@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=lvivier@redhat.com \
    --cc=passt-dev@passt.top \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).