Opened 3 years ago
Closed 3 years ago
#17728 closed enhancement (fixed)
No jumbo frames?
Reported by: | kallisti5 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | Network & Internet/Stack | Version: | R1/beta3 |
Keywords: | jumbo mtu | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
See attached screenshot. The server running this VM has a 10Gbe card installed and functioning with a jumbo-frame enabled bridge.
The 10Gbe shows through to the virtio nic driver within Haiku... however haiku refuses to set an MTU larger than 1500
Attachments (1)
Change History (5)
by , 3 years ago
Attachment: | nojumbo.png added |
---|
comment:1 by , 3 years ago
comment:3 by , 3 years ago
The virtio driver seems to "take" the MTU from qemu instead of set it.
using the following flags to qemu, you can adjust the MTU qemu presents:
qemu-system-x86_64 --cdrom haiku-nightly-anyboot.iso -m 4G --enable-kvm -netdev user,id=net0 -device virtio-net-pci,netdev=net0,mq=on,vectors=32,host_mtu=1500
When you provide "host_mtu", you get "mtu feature" in our syslog from virtio. When you don't provide "host_mtu" you get "no mtu feature" in our syslod.
comment:4 by , 3 years ago
Milestone: | Unscheduled → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Type: | bug → enhancement |
Jumbo frames now work as of hrev56139.
https://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/network/stack/datalink.cpp#n883
It looks like our network stack only allows MTU between 500 and the "currently set mtu" on the interface?
It also looks like the virtio driver doesn't include code for setting the MTU?