From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Meneghel Rodrigues Subject: Re: [Autotest] [PATCH 18/18] KVM test: Add subtest of testing offload by ethtool Date: Thu, 23 Sep 2010 10:47:30 -0300 Message-ID: <1285249650.2619.45.camel@freedom> References: <1284503143-5993-1-git-send-email-lmr@redhat.com> <1284503143-5993-19-git-send-email-lmr@redhat.com> <20100923191127.767e7e3c@skywalker> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: autotest@test.kernel.org, kvm@vger.kernel.org To: pradeep Return-path: Received: from mx1.redhat.com ([209.132.183.28]:60997 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751177Ab0IWNrk (ORCPT ); Thu, 23 Sep 2010 09:47:40 -0400 In-Reply-To: <20100923191127.767e7e3c@skywalker> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2010-09-23 at 19:11 +0530, pradeep wrote: > 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? > Yes, please verify http://patchwork.test.kernel.org/patch/2540/ Cheers! Lucas