From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhongliang Shu Subject: Re: DPDK2.1 VF and NIC X552 PF - ixgbe SRIOV works? Date: Sat, 7 Nov 2015 06:03:09 +0000 (UTC) Message-ID: <698156110.1195765.1446876189804.JavaMail.yahoo@mail.yahoo.com> References: <6A0DE07E22DDAD4C9103DF62FEBC0909020AD757@shsmsx102.ccr.corp.intel.com> Reply-To: Zhongliang Shu Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To: "Lu, Wenzhuo" , "dev@dpdk.org" Return-path: Received: from nm35-vm5.bullet.mail.bf1.yahoo.com (nm35-vm5.bullet.mail.bf1.yahoo.com [72.30.238.77]) by dpdk.org (Postfix) with ESMTP id 69E5F5A64 for ; Sat, 7 Nov 2015 07:03:11 +0100 (CET) In-Reply-To: <6A0DE07E22DDAD4C9103DF62FEBC0909020AD757@shsmsx102.ccr.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi,=C2=A0 Wenzhuo: The Dev ID is 15a8 (device_id =3D 5544, vendor_id =3D 32902)About SR-IOV be= tween this NIC and DPDK2.1?=20 Or when DPDK will support SR-IOV for this NIC? Thanks.=20 On Tuesday, November 3, 2015 6:13 PM, "Lu, Wenzhuo" wrote: =20 Hi Zhongliang, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zhongliang Shu > Sent: Wednesday, November 4, 2015 7:07 AM > To: dev@dpdk.org > Subject: [dpdk-dev] DPDK2.1 VF and NIC X552 PF - ixgbe SRIOV works? >=20 > Hi, Guys: > I have developed a VM to use SRIOV VF of DPDK2.1 libraryand its PF NIC is > interl X552 NIC. The VM is deployed on KVM on Linux box. > NIC Inforoot@localhost:~# modinfo ixgbe > filename:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /lib/modules/3.14.49-rt46- > WR7.0.0.5_ovp/kernel/drivers/juniper/x552-nic/ixgbe.ko > version:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 4.2.0.4.1-unreleased > license:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPL > description:=C2=A0=C2=A0=C2=A0 Intel(R) 10 Gigabit PCI Express Network Dr= iver Linux Box > InfoLinux localhost 3.14.49-rt46-WR7.0.0.5_ovp #1 SMP PREEMPT RT Mon Oct > 26 12:24:18 PDT 2015 x86_64 GNU/Linux When the VM start, and its correct > corresponding MAC is pushed into PF. > 4: sxe0: mtu > 1500 qdisc mq master eth1br state UP mode DEFAULT group default qlen > 1000 > =C2=A0=C2=A0=C2=A0 link/ether 88:a2:5e:09:bd:c1 brd ff:ff:ff:ff:ff:ff > =C2=A0=C2=A0=C2=A0 vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-st= ate auto > =C2=A0=C2=A0=C2=A0 vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-st= ate auto > =C2=A0=C2=A0=C2=A0 vf 2 MAC 52:54:00:ba:fa:f7, spoof checking on, link-st= ate auto > =C2=A0=C2=A0=C2=A0 vf 3 MAC 52:54:00:ee:e6:0d, spoof checking on, link-st= ate auto Linux Host > dmesg:root@localhost:/lib# dmesg [62995.451770] pci-stub 0000:03:10.4: > claimed by stub [62995.465783] ixgbe 0000:03:00.0: setting MAC > 52:54:00:ba:fa:f7 on VF 2 [62995.465785] ixgbe 0000:03:00.0: Reload the V= F > driver to make this change effective. > [62995.520671] device vnet4 entered promiscuous mode [62995.520900] > eth0br: port 4(vnet4) entered forwarding state [62995.520911] eth0br: por= t > 4(vnet4) entered forwarding state [62995.666671] pci-stub 0000:03:10.4: > enabling device (0000 -> 0002) [62998.148072] pci-stub 0000:03:10.4: kvm > assign device [63010.548139] eth0br: port 4(vnet4) entered forwarding sta= te > [63050.387806] pci-stub 0000:03:10.4: irq 97 for MSI/MSI-X [63050.399811] > pci-stub 0000:03:10.4: irq 97 for MSI/MSI-X [63289.573419] ixgbe 0000:03:= 00.0 > sxe0: VF Reset msg received from vf 2 [63290.033229] ixgbe 0000:03:00.0 s= xe0: > VF Reset msg received from vf 2 [63953.063867] ixgbe 0000:03:00.0: Malici= ous > event on VF 2 tx:100000 rx:0 Several questions about the log msgs > 1): its keep to see the log msgs:=C2=A0=C2=A0=C2=A0=C2=A0 [63289.573419] = ixgbe 0000:03:00.0 sxe0: VF > Reset msg received from vf 2 > =C2=A0=C2=A0=C2=A0=C2=A0 [63290.033229] ixgbe 0000:03:00.0 sxe0: VF Reset= msg received from vf > 2=C2=A0=C2=A0=C2=A0 what reason cause these msg? > 2): When try ping from the VM,=C2=A0=C2=A0 it fails and there has msg: > =C2=A0=C2=A0 =C2=A0=C2=A0 [63953.063867] ixgbe 0000:03:00.0: Malicious ev= ent on VF 2 tx:100000 > rx:0 > =C2=A0=C2=A0=C2=A0 what reason causes this msg? > 3): Does DPDK2.1 VF and X552 PF is tested and supported? > By the way, the SRIOV of this VM work fine for X550 NIC and=C2=A0 82580 N= IC, > Thanks. I'm afraid x552 is not supported yet. Would you like to give me the device = id to confirm that?