[dpdk-dev] usertools/dpdk-devbind.py: add support for avp device

Message ID 1519623818-9745-1-git-send-email-xiaohua.zhang@windriver.com
State Superseded, archived
Headers show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Xiaohua Zhang Feb. 26, 2018, 5:43 a.m.
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
---
 usertools/dpdk-devbind.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Ferruh Yigit March 2, 2018, 3:35 p.m. | #1
On 2/26/2018 5:43 AM, Xiaohua Zhang wrote:
> Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>

Patch title should be:
usertools: add support for AVP device

Except from that,

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Xiaohua Zhang March 5, 2018, 1:40 a.m. | #2
Hi Yigit,
Should I create an update one and send out?

BR.
Xiaohua Zhang

-----Original Message-----
From: Ferruh Yigit [mailto:ferruh.yigit@intel.com] 

Sent: Friday, March 02, 2018 11:35 PM
To: Zhang, Xiaohua; dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: add support for avp device

On 2/26/2018 5:43 AM, Xiaohua Zhang wrote:
> Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>


Patch title should be:
usertools: add support for AVP device

Except from that,

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

Patch

diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
index 18d9386..ff4b186 100755
--- a/usertools/dpdk-devbind.py
+++ b/usertools/dpdk-devbind.py
@@ -22,8 +22,10 @@ 
               'SVendor': None, 'SDevice': None}
 cavium_pkx = {'Class': '08', 'Vendor': '177d', 'Device': 'a0dd,a049',
               'SVendor': None, 'SDevice': None}
+avp_vnic = {'Class': '05', 'Vendor': '1af4', 'Device': '1110',
+              'SVendor': None, 'SDevice': None}
 
-network_devices = [network_class, cavium_pkx]
+network_devices = [network_class, cavium_pkx, avp_vnic]
 crypto_devices = [encryption_class, intel_processor_class]
 eventdev_devices = [cavium_sso]
 mempool_devices = [cavium_fpa]