Hi Avi, 

Can you please explain what you are trying to do? 
Are you trying to test latest  DPDK with OVS 2.8.1? 
OVS 2.8.1 supports DPDK 17.05.1 , and as far as I know,  it also working with 
DPDK 17.08
DPDK 17.11 is supported with OVS 2.9.

If you want help regarding DPDK you should send emails to the us...@dpdk.org 

Now, regarding what I stated before, you need to follow procedure from DPDK.org 
for mlx PMDs :
For 17.08: http://dpdk.org/doc/guides-17.08/nics/mlx5.html , Please go to 
section 20.7. Quick Start Guide and check section  20.5. Prerequisites
MLNX_OFED 4.1 ./mlnxofedinstall
For 17.11: http://dpdk.org/doc/guides-17.11/nics/mlx5.html ,  please go to 
section 21.7 (Quick Start Guide on OFED)  and check section  21.5.1.2. Mellanox 
OFED for the right MLNX_OFED to use
MLNX_OFED 4.2 ./mlnxofedinstall --upstream-libs --dpdk 

Etc ...

Hope this helps

Best Regards,
Olga


-----Original Message-----
From: ovs-discuss-boun...@openvswitch.org 
[mailto:ovs-discuss-boun...@openvswitch.org] On Behalf Of Avi Cohen (A)
Sent: Monday, February 19, 2018 6:21 PM
To: ovs-discuss@openvswitch.org
Subject: [ovs-discuss] OvS build (w DPDK) failed - Undefined Mellanox references

Hi,
I build dpdk-18.02 with MLX5_PMD - ok..
Then I failed to build ovs - 2.8.1]  with dpdk and get many undefined reference 
for mlx I have mellanox OFED installed

Some of the errors here :


/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o):
 In function `mlx5_glue_dv_init_obj':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:307: undefined reference to 
`mlx5dv_init_obj'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o):
 In function `mlx5_glue_dv_set_context_attr':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:301: undefined reference to 
`mlx5dv_set_context_attr'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o):
 In function `mlx5_glue_dv_query_device':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:294: undefined reference to 
`mlx5dv_query_device'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o):
 In function `mlx5_glue_dv_create_cq':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:287: undefined reference to 
`mlx5dv_create_cq'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o):
 In function `mlx5_glue_port_state_str':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:273: undefined reference to 
`ibv_port_state_str'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o):
 In function `mlx5_glue_get_async_event':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:267: undefined reference to 
`ibv_get_async_event'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o):
 In function `mlx5_glue_ack_async_event':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:260: undefined reference to 
`ibv_ack_async_event'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o):
 In function `mlx5_glue_dereg_mr':

Who can help ?
Best Regards
Avi
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.openvswitch.org%2Fmailman%2Flistinfo%2Fovs-discuss&data=02%7C01%7Colgas%40mellanox.com%7Cbd7017779e624a247e3508d577b4d322%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636546540872320081&sdata=qPOVcZSoBvPQzpSKw9632jOC0iRhPwpnGdULr3u8KUQ%3D&reserved=0
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to