From mboxrd@z Thu Jan 1 00:00:00 1970 From: pradeep Subject: Re: [Autotest] [PATCH 18/18] KVM test: Add subtest of testing offload by ethtool Date: Thu, 23 Sep 2010 19:11:27 +0530 Message-ID: <20100923191127.767e7e3c@skywalker> References: <1284503143-5993-1-git-send-email-lmr@redhat.com> <1284503143-5993-19-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: autotest@test.kernel.org, kvm@vger.kernel.org To: Lucas Meneghel Rodrigues Return-path: Received: from e8.ny.us.ibm.com ([32.97.182.138]:40142 "EHLO e8.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985Ab0IWNln (ORCPT ); Thu, 23 Sep 2010 09:41:43 -0400 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by e8.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o8NDMf6T006041 for ; Thu, 23 Sep 2010 09:22:41 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o8NDfX6l107748 for ; Thu, 23 Sep 2010 09:41:34 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o8NDfWv8016720 for ; Thu, 23 Sep 2010 10:41:33 -0300 In-Reply-To: <1284503143-5993-19-git-send-email-lmr@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, 14 Sep 2010 19:25:43 -0300 Lucas Meneghel Rodrigues wrote: > The latest case contains TX/RX/SG/TSO/GSO/GRO/LRO test. > RTL8139 NIC doesn't support TSO, LRO, it's too old, so > drop offload test from rtl8139. LRO, GRO are only > supported by latest kernel, virtio nic doesn't support > receive offloading function. > > Initialize the callbacks first and execute all the sub > tests one by one, all the result will be check at the > end. When execute this test, vhost should be enabled, > then most of new features can be used. Vhost doesn't > support VIRTIO_NET_F_MRG_RXBUF, so do not check large > packets in received offload test. > > Transfer files by scp between host and guest, match > new opened TCP port by netstat. Capture the packages > info by tcpdump, it contains package length. > > TODO: Query supported offload function by 'ethtool' > Hi Lucas/AMos Thanks for the patches. Please find below error, when i try to run ethtool test on my guest (kernel: 2.6.32-71.el6.i386) which is on host (Kernel 2.6.32-71.el6.x86_64). 'module' object has no attribute 'get_linux_ifname'.. 04:23:59 DEBUG| Got shell prompt -- logged in 04:23:59 INFO | Logged into guest 'vm1' 04:23:59 ERROR| Test failed: AttributeError: 'module' object has no attribute 'get_linux_ifname' 04:23:59 DEBUG| Postprocessing VM 'vm1'... Ethtool is trying to access get_linux_ifname which is not present in kvm_test_utils.py. AM i missing any patches? Thanks Pradeep