Project

General

Profile

Feature #12466

Enable IPv6 TSO Support for vioif

Added by Robert Mustacchi 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
networking
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

While coding up 12465, I basically had written most of the code for IPv6 TSO support, but realized that the rest of the stack was mostly wired up for it and would work if MAC could advertise it. As a result, using the vioif driver as an example, I put together and got IPv6 TSO working end to end. With this, throughput between the two VMs I had increased 4-5x over IPv6 (as measured through a naive iperf). With this in place, now any other driver can advertise and implement IPv6 TSO support, though the only one included in this change is vioif.

#1

Updated by Robert Mustacchi 8 months ago

I tested this by going back to back in two HVM VMs in Linux using iperf. I verified that TSO was being used for IPv6. While this was going on I looked for retransmits, etc. through netstat and didn't see anything, at least like was appearing in the case for 12465. With that, TCPv6 performance improved reasonably in this (somewhat constrained) environment.

#2

Updated by Electric Monk 8 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 62366fbbe8edca853fee6c14327d822239ba914f

commit  62366fbbe8edca853fee6c14327d822239ba914f
Author: Robert Mustacchi <rm@fingolfin.org>
Date:   2020-04-08T11:07:18.000Z

    12466 Enable IPv6 TSO Support for vioif
    Reviewed by: Jason King <jason.brian.king@gmail.com>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Reviewed by: Paul Winder <paul@winders.demon.co.uk>
    Approved by: Garrett D'Amore <garrett@damore.org>

Also available in: Atom PDF