diff options
author | Alexander Kozyrev <akozyrev@nvidia.com> | 2023-06-27 15:20:51 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-09-28 12:36:21 +0000 |
commit | 029f039d5d5022d536d2085993a9b7671d898767 (patch) | |
tree | c7bf68ff6487b3c30ee20d861070b5391404c0e2 /src | |
parent | a127d3c157cb6e7658451a877abbfe0dd16c982a (diff) |
dpdk: add ConnectX-6LX and ConnectX-7 support
List Mellanox ConnectX-6LX and ConnectX-7 as a supported PCI devices.
Type: feature
Change-Id: Ieeca3f214d08f29238c387354055ac1320cab75f
Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/dpdk/device/init.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c index ad38694dc31..897cd2cc8dd 100644 --- a/src/plugins/dpdk/device/init.c +++ b/src/plugins/dpdk/device/init.c @@ -668,10 +668,16 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf) { continue; } - /* Mellanox CX6, CX6VF, CX6DX, CX6DXVF */ - else if (d->vendor_id == 0x15b3 && d->device_id >= 0x101b && d->device_id <= 0x101e) + /* Mellanox CX6, CX6VF, CX6DX, CX6DXVF, CX6LX */ + else if (d->vendor_id == 0x15b3 && + (d->device_id >= 0x101b && d->device_id <= 0x101f)) { - continue; + continue; + } + /* Mellanox CX7 */ + else if (d->vendor_id == 0x15b3 && d->device_id == 0x1021) + { + continue; } /* Broadcom NetXtreme S, and E series only */ else if (d->vendor_id == 0x14e4 && |