Index | Thread | Search

From:
Dave Voutila <dv@sisu.io>
Subject:
Re: vmd: add checksum offload for guests
To:
Jan Klemkow <jan@openbsd.org>
Cc:
Klemens Nanni <kn@openbsd.org>, Alexander Bluhm <bluhm@openbsd.org>, tech@openbsd.org
Date:
Thu, 15 Jan 2026 10:45:24 -0500

Download raw body.

Thread
  • Dave Voutila:

    vmd: add checksum offload for guests

  • Jan Klemkow <jan@openbsd.org> writes:
    
    > On Sat, May 24, 2025 at 06:14:38AM +0000, Klemens Nanni wrote:
    >> 24.05.2025 06:33, Jan Klemkow пишет:
    >> Still breaks:
    >>
    >> May 24 09:12:25 atar vmd[44493]: vionet_tx: bad source address 22:8d:47:b5:88:f6
    >> May 24 09:12:56 atar last message repeated 25 time
    >>
    >> Linux VM is completely offline.
    >
    > There was a bug in the csum_start and csum_offset calculation which is fixed in
    > the following diff.  I tested it successfully with Debian/Linux and OpenBSD
    > guests.
    >
    > This diff introduces optional checksum offloading for VMM guests.
    >
    > Tests are welcome.
    
    So far this seems to break using local interface mode with the built-in
    dhcp. What network configs have been tested so far?
    
    Just boot a ramdisk image like:
    
    # vmctl start -Lc -b /bsd.rd test
    
    Then drop into the shell from the installer and try getting autoconf to
    work on vio0.
    
    I see dhcp requests hitting the vionet device, but the guest isn't
    getting assigned an address.
    
    
  • Dave Voutila:

    vmd: add checksum offload for guests