Your options are: 1. Use the rdma plugin and create rdma interfaces. 2. Use the DPDK plugin. The DPDK build that is generated when you build VPP will not include the mellanox PMDs by default. You need to explicitly enable them when you build. There are build variables named DPDK_MLX5_PMD and DPDK_MLX5_COMMON_PMD which have default values set to 'n'. Those need to be set to 'y' to build the mlx5 PMD. You can set these by running something like 'make DPDK_MLX5_PMD=y DPDK_MLX5_COMMON_PMD=y pkg-deb', or you could edit build/external/packages/dpdk.mk and change the defaults there.
-Matt On Fri, Dec 17, 2021 at 1:12 PM Varun Rapelly <vrape...@marvell.com> wrote: > Hi, > > > > I’m trying to use ConnectX-5 NIC interfaces in VPP (20.09) application > running on a x86 host (Ubuntu 18.04), but *unable to find this interface > in VPP*. > > Do we need to create *rdma interface to use mlx5 NIC interfaces? Or is > there any other way to use this?* > > > > Below are configuration/NIC and other relevant details: > > *vpp# sh interface* > > Name Idx State MTU (L3/IP4/IP6/MPLS) > Counter Count > > local0 0 down 0/0/0/0 > > > > *VPP startup configuration:* > > dpdk { > > dev 0000:d9:00.0 { > > name eth0 > > } > > } > > > > plugins { > > plugin default { enable } > > plugin dpdk_plugin.so {enable } > > } > > > > *NIC driver status:* > > Network devices using kernel driver > > =================================== > > 0000:d9:00.0 'MT28800 Family [ConnectX-5 Ex] 1019' if=eth4 drv=*mlx5_core* > unused=uio_pci_generic > > > > *vpp# sh pci* > > *0000:d9:00.0 1 15b3:1019 8.0 GT/s x16 mlx5_core CX516A - > ConnectX-5 QSFP28 PN: MCX516A-CDAT* > > > EC: AA > > > V2: 0x 4d 43 58 35 31 36 41 2d > ... > > > SN: MT2017J09203 > > > V3: 0x 39 36 38 37 30 34 64 62 ... > > > VA: 0x 4d 4c 58 3a 4d 4f 44 4c ... > > > V0: 0x 50 43 49 65 47 65 6e 34 ... > > > RV: 0x 08 00 00 > > > > *vpp# sh log* > > 2021/12/17 18:53:08:339 notice dpdk EAL init args: -c e -n 4 > --in-memory --no-telemetry --file-prefix vpp -a 0000:d9:00.0 --main-lcore 1 > > *2021/12/17 18:53:08:489 notice dpdk DPDK drivers found no > Ethernet devices...* > > > > > > Thanks, > > Varun > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20647): https://lists.fd.io/g/vpp-dev/message/20647 Mute This Topic: https://lists.fd.io/mt/87800334/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-