Please link the DPDK plugin against that library... 

Thanks... Dave

> On Apr 17, 2017, at 12:54 PM, Mircea Orban <mior...@hotmail.com> wrote:
> 
> ibv_fork_init is part of libibverbs library (RDMA, Inifiband), that is always 
> needed with Mellanox NICs even if Infiniband is not used. Libverbs is 
> installed on my environment, but for some reason the VPP DPDK plugin does not 
> seem to know about it... Maybe a link is missing somewhere?
> 
> Is there any VPP MLX PMD documentation available (found some but it's 
> outdated)? Are the Mellanox NICs tested on a regular basis ?
> 
> I just want to know if I did something wrong or whether there might be an 
> actual issue here.
> 
> Thanks,
> Mircea
> 
> 
> -----Original Message-----
> From: Dave Barach (dbarach) [mailto:dbar...@cisco.com] 
> Sent: Monday, April 17, 2017 12:29 PM
> To: Mircea Orban <mior...@hotmail.com>; vpp-dev@lists.fd.io
> Subject: RE: is MLX4 PMD supported ?
> 
> All bets are off since the dpdk plugin didn't load correctly. You'll need to 
> track down ibv_fork_init(...)...
> 
> Thanks... Dave
> 
> -----Original Message-----
> From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
> Behalf Of Mircea Orban
> Sent: Monday, April 17, 2017 12:24 PM
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] is MLX4 PMD supported ?
> 
> Hello,
> 
> I am trying to build VPP for an environment with Mellanox ConnectX-3 Pro 
> NICs, and I encounter issues when I try to run VPP (see dpdk plugin undefined 
> symbol error):
> 
> vlib_plugin_early_init:360: plugin path /usr/lib/vpp_plugins
> load_one_plugin:188: Loaded plugin: acl_plugin.so (Access Control Lists)
> load_one_plugin:147: /usr/lib/vpp_plugins/dpdk_plugin.so: undefined symbol: 
> ibv_fork_init
> load_one_plugin:188: Loaded plugin: flowperpkt_plugin.so (Flow per Packet)
> load_one_plugin:188: Loaded plugin: ila_plugin.so (Identifier-locator 
> addressing for IPv6)
> load_one_plugin:188: Loaded plugin: ioam_plugin.so (Inbound OAM)
> load_one_plugin:114: Plugin disabled (default): ixge_plugin.so
> load_one_plugin:188: Loaded plugin: lb_plugin.so (Load Balancer)
> load_one_plugin:188: Loaded plugin: libsixrd_plugin.so (IPv6 Rapid Deployment 
> on IPv4 Infrastructure (RFC5969))
> load_one_plugin:188: Loaded plugin: memif_plugin.so (Packet Memory Interface 
> (experimetal))
> load_one_plugin:188: Loaded plugin: snat_plugin.so (Network Address 
> Translation) Segmentation fault (core dumped)
> 
> I added these lines to the DPDK Makefile (and it builds with no errors):
> 
> DPDK_MLX4_PMD         ?= y
> DPDK_MLX4_DEBUG       ?= n
> DPDK_MLX4_SGE_WR_N    ?= 1
> DPDK_MLX4_MAX_INLINE  ?= 0
> DPDK_MLX4_TX_MP_CACHE  ?= 8
> DPDK_MLX4_SOFT_COUNTERS  ?= 1
> 
>    $(call set,RTE_LIBRTE_MLX4_PMD,$(DPDK_MLX4_PMD))
>    $(call set,RTE_LIBRTE_MLX4_DEBUG,$(DPDK_MLX4_DEBUG))
>    $(call set,RTE_LIBRTE_MLX4_SGE_WR_N,$(DPDK_MLX4_SGE_WR_N))
>    $(call set,RTE_LIBRTE_MLX4_MAX_INLINE,$(DPDK_MLX4_MAX_INLINE))
>    $(call set,RTE_LIBRTE_MLX4_TX_MP_CACHE,$(DPDK_MLX4_TX_MP_CACHE))
>    $(call set,RTE_LIBRTE_MLX4_SOFT_COUNTERS,$(DPDK_MLX4_SOFT_COUNTERS))
> 
> 
> 
> Thanks,
> Mircea
> 
> _______________________________________________
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to