From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m15-113.126.com (m15-113.126.com [220.181.15.113]) by dpdk.org (Postfix) with ESMTP id 190B68D3A for ; Fri, 18 Dec 2015 13:31:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Subject:From:Message-ID:Date:MIME-Version; bh=lOgRG ncF5mlS/Xuf3sG9emkcxTjOdkaKMJ9w6pdPv0w=; b=ThsHa70ABfVSmWgLhjVZ+ PQxlEfU8ut5bdskVUavKDzQygoj5TJEIJDjjmws7bMLByuIvxbW9dKyNoX5hkfAm OViiMAEBwrkqj0mAPtypFLPdh20lrSJoW9bp469hKz7kMF5kQmIcVbyu8KbgbYyW YBXdIdugWwGI9roSjXAsOc= Received: from [10.24.0.239] (unknown [159.226.43.35]) by smtp3 (Coremail) with SMTP id DcmowAAXHj6u_HNWd7nHBA--.10271S2; Fri, 18 Dec 2015 20:31:43 +0800 (CST) To: Zenghui Shi References: <2015121810505506080925@126.com> <953553853.37697245.1450407950520.JavaMail.zimbra@redhat.com> From: Furong Message-ID: <5673FCAD.7090600@126.com> Date: Fri, 18 Dec 2015 20:31:41 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <953553853.37697245.1450407950520.JavaMail.zimbra@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: DcmowAAXHj6u_HNWd7nHBA--.10271S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7WF15ury7Xr1DXF13ur45Wrg_yoW8Xr18pa yxGFWDta1xXwn7AwsrCw1DC34jqr4UKr17W3sIg3sIqa90ka43tr4rtFsxG3sxuF1xGw42 qr4DuF1kuayrXr7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07j-nYrUUUUU= X-Originating-IP: [159.226.43.35] X-CM-SenderInfo: xzedxtxfhuqiyswou0bp/1tbicxDUMFUw0n9TEQAAsN Cc: users@dpdk.org Subject: Re: [dpdk-users] Using DPDK with SR-IOV X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2015 12:31:49 -0000 在 2015/12/18 11:05, Zenghui Shi 写道: > > ----- Original Message ----- >> From: WBAHACER@126.com >> To: "users" >> Sent: Friday, December 18, 2015 10:50:59 AM >> Subject: [dpdk-users] Using DPDK with SR-IOV >> >> Hi everyone: >> I'm facing a problem about using DPDK with SR-IOV. >> My experiment environment: CPU, Intel Xeon E5-4603 v2; NIC, Intel >> dual-port 82599ES; OS, ubuntu 14.04.3. >> I have opened SR-IOV in my server, and i have configured two VFs (belong >> to different physical port) -- VF1 (mac: aa:aa:aa:aa:aa:bb vlan:5 belong >> to eth1), VF2(mac: aa:aa:aa:aa:aa:bb vlan:5 belong to eth2). >> And i ran a pktgen-2.9.1 in another server, which connected to this >> server by eth1 & eth2. >> I started the pktgen-2.9.1 to send packets (packet format --- mac: >> ff:ff:ff:ff:ff:ff, vlan: 5). >> Then When i ran tcpdump to listen VF1 & VF2, I can receive packets sended >> by pktgen. (eth1 & eth2 already up) >> But When i bound VF1 & VF2 to igb_uio, and ran a pktgen with these two >> VFs, i could neither receive packets nor send packets with pktgen. > did you try vfio-pci to bind VF1&VF2 ? > btw, what driver library are you using when running pktgen on VF side ,is it librte_pmd_ixgbe.so ? Thank for this, I can recv & send packets by binding VF1 & VF2 to vfio-pci. The driver library is librte_pmd_ixgbe.so. > > Regards, > zenghui > >> Is anybody face the same problem ? Thanks a lot! >> >> Furong >> >> >> WBAHACER@126.com