public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 219161] New: VM with virtio-net doesn't receive large UDP packets (e.g 65507 bytes) from host
Date: Thu, 15 Aug 2024 07:45:18 +0000	[thread overview]
Message-ID: <bug-219161-28872@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=219161

            Bug ID: 219161
           Summary: VM with virtio-net doesn't receive large UDP packets
                    (e.g 65507 bytes) from host
           Product: Virtualization
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: wquan@redhat.com
        Regression: No

Description:
Large UDP packets (e.g 65507 bytes) are not received in VM using virtio-net
when sent from host to VM, while smaller packets are received successfully. 

The issue occurs with or without vhost enabled, and can be reproduce with
6.5.0-rc5+

Build Date & Hardware:
   6.11.0-rc2+ (d4560686726f7a357922f300fc81f5964be8df04 Merge tag 'for_linus'
of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost) 

Steps to Reproduce:

1. boot a vm from kvm

 -device '{"id": "pcie-root-port-3", "port": 3, "driver": "pcie-root-port",
"addr": "0x1.0x3", "bus": "pcie.0", "chassis": 4}' \
 -device '{"driver": "virtio-net-pci", "mac": "9a:59:9c:26:c7:52", "id":
"id1GUehY", "netdev": "idIlyxUy", "bus": "pcie-root-port-3", "addr": "0x0"}' \
 -netdev '{"id": "idIlyxUy", "type": "tap", "vhost": true}'  \

2. on vm, disable iptables and nftables. then run "netserver"
3. on host
 # netperf -H 192.168.58.21 -t UDP_STREAM -- -m  65507
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.58.21
() port 0 AF_INET : interval : demo
Socket  Message  Elapsed      Messages
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

212992   65507   10.00      385575      0    20206.13
212992           10.00          86              4.51

# netperf -H 192.168.58.21 -t UDP_STREAM -- -m  2800
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.58.21
() port 0 AF_INET : interval : demo
Socket  Message  Elapsed      Messages
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

212992    2800   10.00     5125735      0    11481.60
212992           10.00     3562544           7980.07

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2024-08-15  7:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15  7:45 bugzilla-daemon [this message]
2024-08-15 15:35 ` [Bug 219161] New: VM with virtio-net doesn't receive large UDP packets (e.g 65507 bytes) from host Sean Christopherson
2024-08-15 15:35 ` [Bug 219161] " bugzilla-daemon
2024-08-16  3:26 ` bugzilla-daemon

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=bug-219161-28872@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=kvm@vger.kernel.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox