DPDK patches and discussions
 help / color / mirror / Atom feed
From: James Yu <ypyu2011@gmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] Any benefit of using DPDK's makefiles instead of using
Date: Fri, 17 Jan 2014 00:40:26 -0800	[thread overview]
Message-ID: <CAFMB=kCaeOi3nz9orC+X9ZnFOMq7DcGG02d38-HD=tWhyer1Jg@mail.gmail.com> (raw)

Anyone knows how to turn off TSO in DPDK+SR-IOV in KVM guest VM ? I want
the packets sending out of the KVM host not to have TSO by the hardware.

I imagine that I need to do the following:
1. turn off TSO in the guest before starting DPDK using ethtool -K ethX tso
off
    After DPDK is started, the device will be removed.
    I think the command ethtool will call ethtool function in the
ixgbevf.ko in the kernel to turn TSO off. Am I correct ?
2. turn off TSO on the host using ethtool -K ethX tso off

Do I need to do the second one ? Would the first one propagate down to the
host ?

James

             reply	other threads:[~2014-01-17  8:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17  8:40 James Yu [this message]
2014-01-17  8:43 ` James Yu

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='CAFMB=kCaeOi3nz9orC+X9ZnFOMq7DcGG02d38-HD=tWhyer1Jg@mail.gmail.com' \
    --to=ypyu2011@gmail.com \
    --cc=dev@dpdk.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;
as well as URLs for NNTP newsgroup(s).