dpdk_plugin: fix mlx5 build and runtime issues 80/14980/3
authorSirshak Das <sirshak.das@arm.com>
Sat, 22 Sep 2018 19:57:26 +0000 (14:57 -0500)
committerDamjan Marion <dmarion@me.com>
Thu, 27 Sep 2018 18:33:07 +0000 (18:33 +0000)
There are issues with VPP finding and linking the mlx5 shared glue
library which was built by default if mlx5 was enabled.

Runtime Errors this patch fixes:

net_mlx5: cannot load glue library: librte_pmd_mlx5_glue.so.18.05.0:
cannot open shared object file: No such file or directory

net_mlx5: cannot initialize PMD due to missing run-time dependency on
rdma-core libraries (libibverbs, libmlx5)

This patch introduces additional config parameter to disable glue
library building and instead statically link ibverbs and mlx5
libraries to the PMD and dpdk_plugin.

Change-Id: I0b2f67652a57854c778e991780903fb15706ace8
Signed-off-by: Sirshak Das <sirshak.das@arm.com>
Reviewed-by: Lijian Zhang <Lijian.Zhang@arm.com>

No differences found