[dpdk-users] DPDK on Mellanox BlueField Ref Platform

Stephen Hemminger stephen at networkplumber.org
Tue Sep 24 19:18:02 CEST 2019


On Tue, 24 Sep 2019 12:31:51 -0400
"Jim Vaigl" <jimv at rockbridgesoftware.com> wrote:

> Since no one has chimed in with any build/install/configure suggestion for
> the
> BlueField, I've spent some time debugging and thought I'd share the results.
> Building the l3fwd example application and running it as the docs suggest,
> when
> I try to send it UDP packets from another machine, it dumps core.
> 
> Debugging a bit with gdb and printf, I can see that from inside
> process_packet()
> and processx4_step1() the calls to rte_pktmbuf_mtod() return Nil or
> suspicious
> pointer values (i.e. 0x80).  The sample apps don't guard against NULL
> pointers
> being returned from this rte call, so that's why it's dumping core.
> 
> I still think the problem is related to the driver config, but thought this
> might ring a bell for anyone who's had problems like this.
> 
> The thing that still bothers me is that rather than seeing what I was
> expecting
> at init based on what the documentation shows:
>     [...]
>     EAL: probe driver: 15b3:1013 librte_pmd_mlx5
> 
> ... when rte_eal_init() runs, I'm seeing:
>     [...]
>     EAL:  Selected IOVA mode 'PA'
>     EAL:  Probing VFIO support...
> 
> This still seems wrong, and I've verified that specifying the BlueField
> target ID
> string in the make is causing "CONFIG_RTE_LIBRTE_MLX5_PMD=y" to appear in
> the .config.
> 
> Regards,
> --Jim Vaigl
> 614 886 5999
> 
> 

make sure you have latest version of rdma-core installed (v25).
The right version is not in most distros


More information about the users mailing list