Hi,

I am trying to run vpp 19.04 with Mellanox(ConnectX-4) NIC and have the 
following queries:-

I followed the below mentioned steps to compile vpp 19.04 by enabling Mellanox 
support
1) Export the following env variabled
a) export CONFIG_RTE_LIBRTE_MLX5_PMD=y
b) export DPDK_MLX5_PMD=y
c) export PLATFORM=vpp
2) Modified the 
dpdk.mk(path:third-party/vpp/vpp_1904/build/external/packages/dpdk.mk) file to 
set "DPDK_MLX5_PMD=y" to enable Mellanox support.
3) Also, i copied "librte_pmd_mlx5_glue.so.19.02.0" explicitly before running 
vpp.

Query 1:-
When i brought the vpp up, the Mellanox interfaces were not detected by vpp. 
Executed "show interfaces" CLI but couldn't see any Mellanox interface.
Please let me know whether the steps followed are correct/or missing any steps.

Query 2:-
Also, I came across the following link on the internet
https://lists.fd.io/g/vpp-dev/message/12979

The link talks about the new native driver(RDMA ethernet driver) and creation 
of a new rdma virtual interface that would bind to Linux netdev of the
physical port to be used. By following the steps mentioned in 
https://gerrit.fd.io/r/#/c/19364/3/src/plugins/rdma/rdma_doc.md, i was able to 
create an interface at vpp level and assign an ip to that interface.
I verified the same by executing "show interfaces" CLI and interfaces were 
being shown this time.
Can anyone comment whether it is the correct way of testing Mellanox NIC with 
vpp 19.04?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13334): https://lists.fd.io/g/vpp-dev/message/13334
Mute This Topic: https://lists.fd.io/mt/32141457/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to