From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) by dpdk.org (Postfix) with ESMTP id 325BC68F0 for ; Fri, 17 Jan 2014 09:41:09 +0100 (CET) Received: by mail-qc0-f171.google.com with SMTP id n7so3328822qcx.2 for ; Fri, 17 Jan 2014 00:42:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2TQ+N9RWR3Gq6pgMDC9UpDcnmd7bCpCaKqrJgTFOpeA=; b=yJ6C7sL7cd8aH9jBOUkTqpBsW53pClRSqlyoU5YFJt9fsVgXBVtpgvtwuT5Cuc7btH wxRARZydoWs3ntWRK08kyg+zXKv7WCC2+a8l1lZTUKPSwtEzzANfirfXAeKIIsH3M2KD IX+ZVqfA8Bx65dDznQTEwcRmDsA2ZDFP6zpNG934+JA9JcrcnZfps7xjSllLKVEfl8Fe 5vH4zkKBL/3dFZMux7E1pMv6cyxOUqYw+4AdxMBu8sMQnB6PxRX9NUTR5cih1r2yVByg CYsV172qgRCYvk5E6MQTBo5leN1oEftaXZDwwKvNbBIDaX9g2mGVmgn/TbArIlNR7Pwz q72Q== MIME-Version: 1.0 X-Received: by 10.140.49.130 with SMTP id q2mr824577qga.83.1389948144009; Fri, 17 Jan 2014 00:42:24 -0800 (PST) Received: by 10.96.63.166 with HTTP; Fri, 17 Jan 2014 00:42:23 -0800 (PST) Date: Fri, 17 Jan 2014 00:42:23 -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: [dpdk-dev] turn off TSO in DPDK+SR-IOV in KVM guest VM 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:09 -0000 I mistakenly posted with wrong subject earlier. Repost it here. 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