summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/init.c
diff options
context:
space:
mode:
authorIgor Mikhailov (imichail) <imichail@cisco.com>2018-07-13 16:59:09 -0700
committerIgor Mikhailov (imichail) <imichail@cisco.com>2018-07-13 16:59:09 -0700
commit29b32c2ae3e3cbe5ceaa607c8f4b31a2ac2faaa3 (patch)
tree7bf7b75677575f3cc69543a88f34afb6e5fae2a2 /src/plugins/dpdk/device/init.c
parentb02f3b7b8a1c68a974ce43c64b28625b3ca2d4a5 (diff)
Add QEDE poll mode driver (librte_pmd_qede)
The driver implements Cavium QLogic FastLinQ QL4xxxx 10G/25G/40G/50G/100G Intelligent Ethernet Adapters (IEA) and Converged Network Adapters (CNA) (doc/guides/nics/qede.rst) Change-Id: If17e8cb572eb8c0585085be1c7cfdfa159eb6e68 Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/init.c')
-rw-r--r--src/plugins/dpdk/device/init.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index 44182ba17e1..bd249e91b28 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -436,6 +436,7 @@ dpdk_lib_init (dpdk_main_t * dm)
case VNET_DPDK_PMD_CXGBE:
case VNET_DPDK_PMD_MLX4:
case VNET_DPDK_PMD_MLX5:
+ case VNET_DPDK_PMD_QEDE:
xd->port_type = port_type_from_speed_capa (&dev_info);
break;
@@ -834,14 +835,14 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf)
/* Cavium Network Adapter */
else if (d->vendor_id == 0x177d && d->device_id == 0x9712)
;
+ /* Cavium FastlinQ QL41000 Series */
+ else if (d->vendor_id == 0x1077 && d->device_id >= 0x8070 && d->device_id <= 0x8090)
+ ;
/* Mellanox */
else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1013 && d->device_id <= 0x101a)
{
continue;
}
- /* Cavium FastlinQ QL41000 Series */
- else if (d->vendor_id == 0x1077 && d->device_id >= 0x8070 && d->device_id <= 0x8090)
- ;
else
{
dpdk_log_warn ("Unsupported PCI device 0x%04x:0x%04x found "