DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] mlx5 fails to probe on 16.11.5
@ 2018-03-16 15:14 Richard Nutman
  2018-03-16 20:21 ` Olga Shern
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Nutman @ 2018-03-16 15:14 UTC (permalink / raw)
  To: users

Hi all,

I tried switching from the Mellanox 16.11.4 release to the official DPDK LTS 16.11.5, but having issues getting it to work.

rte_eth_dev_count() returns 0, as mlx5_pci_probe() is never called from rte_eal_pci_probe_one_driver().
Anyone any idea what that would be ?  Works fine in previous Mellanox releases.

Using Centos 7.2, Ofed 4.2-1.

Also in mlx5_ethdev.c -> mlx5_dev_infos_get()
info->flow_type_rss_offloads = ~MLX5_RSS_HF_MASK; 

was added as part of the .5 release, but the mask is undefined and fails to build.

Thanks,

Richard Nutman
     
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] mlx5 fails to probe on 16.11.5
  2018-03-16 15:14 [dpdk-users] mlx5 fails to probe on 16.11.5 Richard Nutman
@ 2018-03-16 20:21 ` Olga Shern
  2018-03-19 10:49   ` Richard Nutman
  0 siblings, 1 reply; 3+ messages in thread
From: Olga Shern @ 2018-03-16 20:21 UTC (permalink / raw)
  To: Richard Nutman, users; +Cc: Erez Ferber

Hi Richard, 

mlx5 PMD is not compiled by default in dpdk.org versions due to OFED dependency you need to enable it compilation in configure file.
 
Regarding:
>Also in mlx5_ethdev.c -> mlx5_dev_infos_get()
>info->flow_type_rss_offloads = ~MLX5_RSS_HF_MASK; 

>was added as part of the .5 release, but the mask is undefined and fails to build.

Will check it

Best Regards,
Olga


-------------------------------------------------------
Olga Shern
SW Director DPDK 
Mellanox Technologies, Raanana, Israel 



-----Original Message-----
From: users [mailto:users-bounces@dpdk.org] On Behalf Of Richard Nutman
Sent: Friday, March 16, 2018 5:15 PM
To: users@dpdk.org
Subject: [dpdk-users] mlx5 fails to probe on 16.11.5

Hi all,

I tried switching from the Mellanox 16.11.4 release to the official DPDK LTS 16.11.5, but having issues getting it to work.

rte_eth_dev_count() returns 0, as mlx5_pci_probe() is never called from rte_eal_pci_probe_one_driver().
Anyone any idea what that would be ?  Works fine in previous Mellanox releases.

Using Centos 7.2, Ofed 4.2-1.

Also in mlx5_ethdev.c -> mlx5_dev_infos_get()
info->flow_type_rss_offloads = ~MLX5_RSS_HF_MASK; 

was added as part of the .5 release, but the mask is undefined and fails to build.

Thanks,

Richard Nutman
     
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mimecast.com&data=02%7C01%7Colgas%40mellanox.com%7C7fc66f1dd7d74bd6156508d58b50b718%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636568101152961423&sdata=a4rC2jHinSvgbxpXhqvl75AREYebFig95oZrL1uiBNM%3D&reserved=0
---------------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] mlx5 fails to probe on 16.11.5
  2018-03-16 20:21 ` Olga Shern
@ 2018-03-19 10:49   ` Richard Nutman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Nutman @ 2018-03-19 10:49 UTC (permalink / raw)
  To: Olga Shern, users; +Cc: Erez Ferber

Hi Olga,

Yes I am building the mlx5 PMD. I'll debug more to see why it doesn't find it. It looks like something todo with the vendor ID's not matching, or something around that area.
I haven't changed my build system or which libraries I'm including between the Mellanox 16.11.4 release and the official DPDK 16.11.5.

I searched for the MLX5_RSS_HF_MASK in the whole 16.11.5 release but couldn't find it.  Commented it out to get it building for the moment, I'm not using RSS anyway.
I presume it's either missed out or in some OFED/IB system headers I do not have ?

Ofed 4.2 installed with just --dpdk option.

Many thanks,
Richard.

> -----Original Message-----
> From: Olga Shern [mailto:olgas@mellanox.com]
> Sent: 16 March 2018 20:22
> To: Richard Nutman; users@dpdk.org
> Cc: Erez Ferber
> Subject: [External] RE: mlx5 fails to probe on 16.11.5
> 
> This Message originated outside your organization.
> 
> Hi Richard,
> 
> mlx5 PMD is not compiled by default in dpdk.org versions due to OFED
> dependency you need to enable it compilation in configure file.
> 
> Regarding:
> >Also in mlx5_ethdev.c -> mlx5_dev_infos_get()
> >info->flow_type_rss_offloads = ~MLX5_RSS_HF_MASK;
> 
> >was added as part of the .5 release, but the mask is undefined and
> fails to build.
> 
> Will check it
> 
> Best Regards,
> Olga
> 
> 
> -------------------------------------------------------
> Olga Shern
> SW Director DPDK
> Mellanox Technologies, Raanana, Israel
> 
> 
> 
> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Richard Nutman
> Sent: Friday, March 16, 2018 5:15 PM
> To: users@dpdk.org
> Subject: [dpdk-users] mlx5 fails to probe on 16.11.5
> 
> Hi all,
> 
> I tried switching from the Mellanox 16.11.4 release to the official
> DPDK LTS 16.11.5, but having issues getting it to work.
> 
> rte_eth_dev_count() returns 0, as mlx5_pci_probe() is never called from
> rte_eal_pci_probe_one_driver().
> Anyone any idea what that would be ?  Works fine in previous Mellanox
> releases.
> 
> Using Centos 7.2, Ofed 4.2-1.
> 
> Also in mlx5_ethdev.c -> mlx5_dev_infos_get()
> info->flow_type_rss_offloads = ~MLX5_RSS_HF_MASK;
> 
> was added as part of the .5 release, but the mask is undefined and
> fails to build.
> 
> Thanks,
> 
> Richard Nutman
> 
> -----------------------------------------------------------------------
> ----------------
> This email has been scanned for email related threats and delivered
> safely by Mimecast.
> For more information please visit
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.m
> imecast.com&data=02%7C01%7Colgas%40mellanox.com%7C7fc66f1dd7d74bd615650
> 8d58b50b718%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C63656810115296
> 1423&sdata=a4rC2jHinSvgbxpXhqvl75AREYebFig95oZrL1uiBNM%3D&reserved=0
> -----------------------------------------------------------------------
> ----------------
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-19 10:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-16 15:14 [dpdk-users] mlx5 fails to probe on 16.11.5 Richard Nutman
2018-03-16 20:21 ` Olga Shern
2018-03-19 10:49   ` Richard Nutman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).