DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Any benefit of using DPDK's makefiles instead of using
@ 2014-01-17  8:40 James Yu
  2014-01-17  8:43 ` James Yu
  0 siblings, 1 reply; 2+ messages in thread
From: James Yu @ 2014-01-17  8:40 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] Any benefit of using DPDK's makefiles instead of using
  2014-01-17  8:40 [dpdk-dev] Any benefit of using DPDK's makefiles instead of using James Yu
@ 2014-01-17  8:43 ` James Yu
  0 siblings, 0 replies; 2+ messages in thread
From: James Yu @ 2014-01-17  8:43 UTC (permalink / raw)
  To: dev

Please ignore this post. I re-post it with the right subject. Sorry about
this.


On Fri, Jan 17, 2014 at 12:40 AM, James Yu <ypyu2011@gmail.com> wrote:

> 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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-17  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-17  8:40 [dpdk-dev] Any benefit of using DPDK's makefiles instead of using James Yu
2014-01-17  8:43 ` James Yu

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).