dpdk: link DPDK with MLX4/MLX5 libraries again 38/37838/2
authorVladimir Ratnikov <vratnikov@netgate.com>
Mon, 19 Dec 2022 08:45:35 +0000 (08:45 +0000)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 21 Dec 2022 18:34:34 +0000 (18:34 +0000)
commit413447451e3f842815f45bae5d3cd3f87a0876e5
treea30f5425f2e0be6dc2da0b0d843bbca44038775a
parentbca76580b17bbb6227f48b9ea4a5858802656962
dpdk: link DPDK with MLX4/MLX5 libraries again

 Previously it was linked and worker properly. While rdma build
was simplified, link was lost so all encrypted data won't pass
via Mellanox interfaces(ipsec, ipip, ssh etc) and NetVSC taps
won't created the right way.

 Errors:
mlx5_common: Verbs device not found: 21a5:00:02.0
mlx5_common: Failed to initialize device context.
EAL: Requested device 21a5:00:02.0 cannot be used
 Tested on Azure. Same errors appears on physical machine with
Mellanox connect adapter

Type: fix

Signed-off-by: Vladimir Ratnikov <vratnikov@netgate.com>
Change-Id: Ib68976282e0ed91c016a7318db6b5eddf5510c47
src/plugins/dpdk/CMakeLists.txt