Page MenuHomeFreeBSD

Increasing Virtio driver TX scatter gather segments (VTNET_MIN_TX_SEGS) to support JUMBO MTU frames.
ClosedPublic

Authored by lohithbsd_gmail.com on Dec 15 2016, 5:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 7 2024, 4:44 AM
Unknown Object (File)
Nov 7 2024, 4:10 AM
Unknown Object (File)
Oct 6 2024, 11:10 PM
Unknown Object (File)
Oct 2 2024, 2:07 PM
Unknown Object (File)
Sep 27 2024, 10:11 AM
Unknown Object (File)
Sep 15 2024, 10:26 PM
Unknown Object (File)
Sep 14 2024, 7:10 PM
Unknown Object (File)
Aug 18 2024, 3:35 PM
Subscribers

Details

Summary

Currently in Virtio driver without TSO/GSO features enabled, the max scatter gather segments for the TX path can be 4, which limits the support for 9K JUMBO frames. 9K JUMBO frames results in more than 4 scatter gather segments and virtio driver fails to send the frame down to host OS. With TSO/GSO feature enabled max scatter gather segments can be 64, then 9K JUMBO frames are fine, this is making virtio driver to support JUMBO frames only with TSO/GSO. Increasing the VTNET_MIN_TX_SEGS which is the case for non TSO/GSO to 32 to support upto 64K JUMBO frames to Host.

Test Plan

Verified the 64K JUMBO frames transmission between FreeBSD guest OS and Yocto Linux Host OS.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lohithbsd_gmail.com retitled this revision from to Increasing Virtio driver TX scatter gather segments (VTNET_MIN_TX_SEGS) to support JUMBO MTU frames..
lohithbsd_gmail.com updated this object.
lohithbsd_gmail.com edited the test plan for this revision. (Show Details)
adrian edited edge metadata.

looks good! do you need this committed?

This revision is now accepted and ready to land.Dec 30 2016, 2:48 PM

looks good! do you need this committed?

Hi, I've got a few concerns so please hold off for now. Thanks.

looks good! do you need this committed?

Thanks a lot Adrian. I am waiting for Bryan's comments. Yes, need your help in committing.

Cheers,
Lohith

@bryanv do you have time to look at this now?

This revision was automatically updated to reflect the committed changes.