From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1446876190; bh=N5D6XtN/eprvmFt5/XFh9aFvzUP+LvlcmwPwz0x9v64=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=bAhCQzXcqeQjcQKsWW3cSNFSbOUIFQmFgF/T9HwfskAo42xX96xeVHXnkD7ixww19HTObdsn8hPDMGiHN6lV6TvgRst352nxeMrHMOKFKC9dv9tuofnXr1CBWmnPASX7Z7n06w/9z7m/QromGhs783VcoQM1UviZ7lozyOUIQj8ghLqZi+e1Fmyk8Tbi8dAEBzdMdo9/XZM5Gxlxvb/HWBY3N3kA0vOIpLn9Rr0UmL8bCGRJ+hOY0+uYgoGNwE76mzlsghe+g7tZfWGgeLOjQHV1R4pt+Bj/R5euRtlgCRJufLo+VeEJwLyrEOfOqhwdbPBwB8KY5fmBzJEKhi4tTA== Received: from [98.139.214.32] by nm35.bullet.mail.bf1.yahoo.com with NNFMP; 07 Nov 2015 06:03:10 -0000 Received: from [98.139.215.253] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 07 Nov 2015 06:03:10 -0000 Received: from [127.0.0.1] by omp1066.mail.bf1.yahoo.com with NNFMP; 07 Nov 2015 06:03:10 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 611812.69599.bm@omp1066.mail.bf1.yahoo.com X-YMail-OSG: KGUw9XkVM1l2gYviYihbgtHNOcsRykG8hnP8IatV78bQR9EPw14bZ3JhHMRFMkX UKJ9GdSukk0uHDfShgNt5n2XQi5FUPd7VyzCOm4M9JNKwDZCmh5sSj5xHneTvrSjQJeZPawJS.SO iB485gG3ZTDltNCrdwyixb2lqmCxrdUSH6sq0e1YfOFcRlShlpZ9Dl23_P3E2qe5opVEBbUoIKHx M1adlOrgZzaz9RY7YNqyCKXI5caFfIIYOJgleIDRd8N.7F.JJxoeWeQBjL7UFsYecdKlQFl4HnUx WXuQ2yvE.a3aAtQ2HhCJhwmYRApgNXsHX7YX5RUi204vaOOdGCrFSq0m95.pL.xLG4FkeqJ.p7a4 NSX.LZ3pSejXsX_H9qFeJehbN85PMXik3W8YF6qwcEKSIqMhoi753Xo6b_zMA5yqUEwoxsro_T73 TPlgt3Gfk881Ly3hPdVpujDVkQV477Q2_IdU0R0i6T4QxPLQBAjDqF_sB5OF.8EmdxGaGBZcxWcL sLC1L Received: by 76.13.27.50; Sat, 07 Nov 2015 06:03:10 +0000 Date: Sat, 7 Nov 2015 06:03:09 +0000 (UTC) From: Zhongliang Shu To: "Lu, Wenzhuo" , "dev@dpdk.org" Message-ID: <698156110.1195765.1446876189804.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <6A0DE07E22DDAD4C9103DF62FEBC0909020AD757@shsmsx102.ccr.corp.intel.com> References: <6A0DE07E22DDAD4C9103DF62FEBC0909020AD757@shsmsx102.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] DPDK2.1 VF and NIC X552 PF - ixgbe SRIOV works? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Zhongliang Shu List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 06:03:12 -0000 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? >From thomas.monjalon@6wind.com Sat Nov 7 22:54:44 2015 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 61D145A53 for ; Sat, 7 Nov 2015 22:54:44 +0100 (CET) Received: by wmww144 with SMTP id w144so5451081wmw.0 for ; Sat, 07 Nov 2015 13:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=E9ubLGufIJ+5LQnqb7P6f6AiVqj7q0K7tmcWbr6iDO4=; b=Z4tNC50UIZzA/xN5yayjP/tsQHAFLiULbxLt3piH/EAsVgcHnlQOeEP5gablv/PeCa Yvk1N2aapDBnkrX3e5R2YBkRKgXgAMVEuk7n7ayHz7YjiEnazTWqHmmlFwDemahmllcX QIGJtsLT0yooYvpOg1vB/BMGCt6qWRaK6bRfMuZ31yzdERClvZ/EhDPb/jbDhT3PA8iQ BIr0ThsvGYWmZ3KJdYVzNBBpO++pdUPfeAnDtGStaNMI1atSu7fMvBzCd/U8MAR61Ou5 jtozeMqvbSY8Exv/bH/4ovxIGTlF5tROcRNxLVmy43HJNqQY9vv5PFyk6Vvhi1jzqndM 2aSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=E9ubLGufIJ+5LQnqb7P6f6AiVqj7q0K7tmcWbr6iDO4=; b=i41ShqdeQn+8LbCSN1nG6rCjbMsvI4yUlQlm+msx1HJW1X3GAa1Lc44lo7F26JmSCV nD3w+hkWY9JbRgw23MMCZrdErhpp0DN9jh3ua5C+NyL9fxcyoBxk01hw5P8WS8/G7FET rQsFr7bYIDZ5Nda8Rf4AcLskqbD5LdLUOeT7c7/ZJD6uymhFy2G+FS5xISx1UXG5ZZk5 0D3q2tZ5dg0SlriIPrK8ZUbGmUQ0EIsY3ofxtedE+xOzBUFUaw5DoPHpespTL/s9J5Sg At14cZbLWf2TR7qFJfBzGo1SJdLc+AfymlL5+r++u1/uGgYju0wZcl1MD3vUuFbq3DuK BklA== X-Gm-Message-State: ALoCoQmf98sVTZ9sIk6sM+Ettdei/zXosp/3kYQvUOB6XHZQOrunSEgMucQUDFXuN00C8aHXyLqo X-Received: by 10.28.19.65 with SMTP id 62mr16922472wmt.35.1446933284199; Sat, 07 Nov 2015 13:54:44 -0800 (PST) Received: from xps13.localnet ([2a01:e35:2e5e:ee00:7e7a:91ff:fe14:f0d2]) by smtp.gmail.com with ESMTPSA id v9sm6946775wjv.45.2015.11.07.13.54.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Nov 2015 13:54:43 -0800 (PST) From: Thomas Monjalon To: Harish Patil Date: Sat, 07 Nov 2015 22:53:33 +0100 Message-ID: <5600189.IfZWYQEBpk@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1442018576-19981-1-git-send-email-rasesh.mody@qlogic.com> <6673500.WzqtfFB45U@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Sony Chacko Subject: Re: [dpdk-dev] [PATCH 3/5] bnx2x: Add RTE_LIBRTE_BNX2X_REG_ACCESS config option 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: Sat, 07 Nov 2015 21:54:44 -0000 > >Either other "debug" logs can be put as INFO level, or > >you need a level 9 for verbose debug. > >But I don't really understand what is the problem of a verbose debug. > > > >It is not critical for the acceptance of this patch. Just wanted to > >discuss > >it as we have many config options to tune the debug. > > > >Please, at least, use the DEBUG word in the option name as done for > >CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX. > > > > Currently PMD_DRV_LOG(DEBUG,..) is used all over the places and converting > that into INFO/NOTICE levels results in lot of changes. Having a lot of changes to do is not a good argument. But that's an argument to reduce the size of the bnx2x driver. And more generally, this driver would deserve some big changes. > Even if we convert other debug logs as INFO level logs, since level 8 is > the default debug level, the user would have to edit config file to > prevent flooding of the messages on the console. The user *should* change the log evel in most cases. Or we could raise the default level to INFO. And users of packaged DPDK may already have a different configuration from the distribution. > So I guess adding a debug > option without needing additional level would suffice for now. I shall > rename it as CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC and include all > periodic events like statistics, register R/Ws etc under this debug. Yes it could work. But it would be nice to have a consistent log management across drivers.