From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by dpdk.org (Postfix) with ESMTP id B21891B2B9 for ; Thu, 15 Feb 2018 00:17:33 +0100 (CET) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id w1ENHWaa003900 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 14 Feb 2018 15:17:32 -0800 (PST) Received: from ALA-MBD.corp.ad.wrs.com ([169.254.3.237]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0361.001; Wed, 14 Feb 2018 15:17:19 -0800 From: "Zhang, Xiaohua" To: "RICHARDSON, BRUCE" , "BURAKOV, ANATOLY" CC: "YIGIT, FERRUH" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: add support for wind river avp device Thread-Index: AQHTo+oP0Vcd+py0bEmWU/PbqEDbK6OhjO9wgAEWAACAABDIAIAAXYkggAEhdoCAAAnIAIAATxXg Date: Wed, 14 Feb 2018 23:17:18 +0000 Message-ID: <5620FA0292C24E4EAAAE8FBE2DB3A7A5012893DAF6@ALA-MBD.corp.ad.wrs.com> References: <1518342737-9244-1-git-send-email-xiaohua.zhang@windriver.com> <3bc80bbb-155a-c9f7-1b9d-b6e26ca42e37@intel.com> <5620FA0292C24E4EAAAE8FBE2DB3A7A50128936DD4@ALA-MBD.corp.ad.wrs.com> <7669d512-828b-afaf-3f44-c14da84b0ec2@intel.com> <5620FA0292C24E4EAAAE8FBE2DB3A7A5012893ACD3@ALA-MBD.corp.ad.wrs.com> <20180214103225.GA4512@bricha3-MOBL3.ger.corp.intel.com> In-Reply-To: <20180214103225.GA4512@bricha3-MOBL3.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.224.16.145] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: add support for wind river avp device X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2018 23:17:34 -0000 That's no problem for me to move it to the "network" catalog. Should I generate a new patch? BR. Xiaohua Zhang -----Original Message----- From: Bruce Richardson [mailto:bruce.richardson@intel.com]=20 Sent: Wednesday, February 14, 2018 6:32 PM To: BURAKOV, ANATOLY Cc: Zhang, Xiaohua; YIGIT, FERRUH; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: add support for = wind river avp device On Wed, Feb 14, 2018 at 09:57:25AM +0000, Burakov, Anatoly wrote: > On 14-Feb-18 12:48 AM, Zhang, Xiaohua wrote: > > Hi Yigit and Anantoly, > > I checked the nics-17.11.pdf, the following is description: > > "The Accelerated Virtual Port (AVP) device is a shared memory based=20 > > device only available on virtualization platforms from Wind River=20 > > Systems. The Wind River Systems virtualization platform currently=20 > > uses QEMU/KVM as its hypervisor and as such provides support for all=20 > > of the QEMU supported virtual and/or emulated devices (e.g., virtio,=20 > > e1000, etc.). The platform offers the virtio device type as the=20 > > default device when launching a virtual machine or creating a=20 > > virtual machine port. The AVP device is a specialized device available = to customers that require increased throughput and decreased latency to mee= t the demands of their performance focused applications." > >=20 > > I am afraid just "memory_device" will have some misunderstanding. > > Could we put it as "avp device (shared memory based)"? > >=20 > >=20 >=20 > Hi, >=20 > Well, from AVP PMD documentation, it seems that AVP is classified as a NI= C. > Can't we just add it to the list of NICs, even if it's not Ethernet=20 > class 0x20xx? Pattern-matching in devbind should work either way. For=20 > example, you can see there's "cavium_pkx" already classified as a NIC,=20 > even though its class is 08xx, not 02xx. So why not this one? >=20 Definite +1. It's used for packet IO into a vm, like virtio, and it's driver is in drive= rs/net. "If it looks like a NIC, and quacks like a NIC, then it probably is a NIC".= [Alternatively if it looks and quacks like a duck, I'm not sure what it's = doing in DPDK!] /Bruce