]> git.droids-corp.org - dpdk.git/commitdiff
usertools/devbind: add Kunpeng DMA
authorChengwen Feng <fengchengwen@huawei.com>
Tue, 2 Nov 2021 12:37:43 +0000 (20:37 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 7 Nov 2021 19:04:28 +0000 (20:04 +0100)
Add Kunpeng DMA device ID to dmadev category.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
usertools/dpdk-devbind.py

index bb00f43702ec7aa5cbde1822c2c184d077ac74e7..af9a0ad5ab76eeb22ddca6d24892dd8207606d69 100755 (executable)
@@ -52,6 +52,9 @@ cnxk_bphy_cgx = {'Class': '08', 'Vendor': '177d', 'Device': 'a059,a060',
 cnxk_inl_dev = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f0,a0f1',
                 'SVendor': None, 'SDevice': None}
 
+hisilicon_dma = {'Class': '08', 'Vendor': '19e5', 'Device': 'a122',
+                 'SVendor': None, 'SDevice': None}
+
 intel_dlb = {'Class': '0b', 'Vendor': '8086', 'Device': '270b,2710,2714',
              'SVendor': None, 'SDevice': None}
 intel_ioat_bdw = {'Class': '08', 'Vendor': '8086',
@@ -71,7 +74,8 @@ intel_ntb_icx = {'Class': '06', 'Vendor': '8086', 'Device': '347e',
 network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class]
 baseband_devices = [acceleration_class]
 crypto_devices = [encryption_class, intel_processor_class]
-dma_devices = [intel_idxd_spr, intel_ioat_bdw, intel_ioat_icx, intel_ioat_skx]
+dma_devices = [hisilicon_dma,
+               intel_idxd_spr, intel_ioat_bdw, intel_ioat_icx, intel_ioat_skx]
 eventdev_devices = [cavium_sso, cavium_tim, intel_dlb, octeontx2_sso]
 mempool_devices = [cavium_fpa, octeontx2_npa]
 compress_devices = [cavium_zip]