From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qe0-x233.google.com (mail-qe0-x233.google.com [IPv6:2607:f8b0:400d:c02::233]) by dpdk.org (Postfix) with ESMTP id 57BEC690F for ; Fri, 17 Jan 2014 09:41:59 +0100 (CET) Received: by mail-qe0-f51.google.com with SMTP id d4so2959074qej.10 for ; Fri, 17 Jan 2014 00:43:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=up8eztnbaONYErCSf9diqmPMkpNNnHv7EWzLMFjdPuo=; b=A7a72rF7jdpHqbiGxNvBukcC2c67ow8annS9wnIq04DF5oM+3subZQFiAP87h+5byn YhQGKpFoI4Ypno2ETK4Rnc0LTRVyAo184w8ucCytjq/JwPTgFMCSX1dcv3r1XSkcTTqf smXIydp91qEVzwUvEg5/zvZW5wjNsy79jm9e6A8SiLFoX2S74QdXru6QSnWvCUyPrMwp 9dcMxp1iK3fd8hCJ6NBNHfgqyWipiU4mtsPXvPCNalgzPQXzEV+9n6tggbrTsukBERXm PHAcBU5ZaYtVrFwfUszVAL/46Mf7aX+my540srInb40eyZJ06DR5sgT84IkpFtaoO0pD v/Dg== MIME-Version: 1.0 X-Received: by 10.224.46.8 with SMTP id h8mr940511qaf.49.1389948194014; Fri, 17 Jan 2014 00:43:14 -0800 (PST) Received: by 10.96.63.166 with HTTP; Fri, 17 Jan 2014 00:43:13 -0800 (PST) In-Reply-To: References: Date: Fri, 17 Jan 2014 00:43:13 -0800 Message-ID: From: James Yu To: "dev@dpdk.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Any benefit of using DPDK's makefiles instead of using X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 08:41:59 -0000 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 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 >