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:[email protected]] > Sent: 16 March 2018 20:22 > To: Richard Nutman; [email protected] > 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:[email protected]] On Behalf Of Richard Nutman > Sent: Friday, March 16, 2018 5:15 PM > To: [email protected] > 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 ---------------------------------------------------------------------------------------
