From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 09CBDA04DD for ; Mon, 26 Oct 2020 17:45:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 306452BC7; Mon, 26 Oct 2020 17:44:58 +0100 (CET) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by dpdk.org (Postfix) with ESMTP id CEFBF2BAF for ; Mon, 26 Oct 2020 17:44:55 +0100 (CET) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09QGYGZS080605 for ; Mon, 26 Oct 2020 12:44:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=3lGFjr4Sy8xGyG0FIIJf7SHNZ8jDDkrO6GaoFSaA6LE=; b=W5dEvJTqb1FQuguH8f4azXbuc2uvVEFjZVg7ZUvdDILvF9hSz8j8SRxwTwLkdiDpQU/k xpqrr+QFWFMIz+bMs0UD091lDWEXZCvM0oRpCDNMgjxcYjHCtuwm0MRvzGyRwNYUFhIb Jd9D/f4tCl/g6209JauZBGKt9r77YHCcELExufKmayZZEGDEph3Jlf5zZdU1xOlh1drV h9jLUhemDKdDgnCXyKLNFIjr/xsWBapK7UH8GiR6ku33vlK0hwKRUea7e+pd0l2NoESK B7x+FkYh1fHxI2c01FkuPyAiUBrHr1xwhZARYrRJ8ZHdQh8g0ikQrmOEHCwMPCAIUKEb DQ== Received: from ppma02wdc.us.ibm.com (aa.5b.37a9.ip4.static.sl-reverse.com [169.55.91.170]) by mx0b-001b2d01.pphosted.com with ESMTP id 34dp3qcpj0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 26 Oct 2020 12:44:54 -0400 Received: from pps.filterd (ppma02wdc.us.ibm.com [127.0.0.1]) by ppma02wdc.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 09QGfqfs023825 for ; Mon, 26 Oct 2020 16:44:53 GMT Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by ppma02wdc.us.ibm.com with ESMTP id 34dy03s9v0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 26 Oct 2020 16:44:53 +0000 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 09QGip8e51380688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 26 Oct 2020 16:44:52 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DA3E52805C for ; Mon, 26 Oct 2020 16:44:51 +0000 (GMT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 99C8028058 for ; Mon, 26 Oct 2020 16:44:51 +0000 (GMT) Received: from Davids-MBP.randomparity.org (unknown [9.211.109.119]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP for ; Mon, 26 Oct 2020 16:44:51 +0000 (GMT) To: users@dpdk.org References: <4fe60c74.2465.1752a775ced.Coremail.iamwangmali@163.com> From: David Christensen Message-ID: <27caa847-12aa-cdca-6922-9cfc8707a969@linux.vnet.ibm.com> Date: Mon, 26 Oct 2020 09:44:50 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <4fe60c74.2465.1752a775ced.Coremail.iamwangmali@163.com> Content-Type: text/plain; charset=gbk; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.737 definitions=2020-10-26_08:2020-10-26, 2020-10-26 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 impostorscore=0 spamscore=0 malwarescore=0 mlxscore=0 phishscore=0 adultscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=999 clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010260110 Subject: Re: [dpdk-users] DPDK 20.05 MLX5 'no Verbs device matches PCI device , are kernel drivers loaded' X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" > I am trying to test the mlx5 performance on ubuntu 16.04, and when I run the testpmd with mlx nic, > > Some error happened. > > > > > EAL: Probe PCI driver: net_mlx5 (15b3:1018) device: 0000:af:02.3 (socket 1) This PCI device ID, 15b3:1018, represents a virtual function (VF) according to https://pci-ids.ucw.cz/read/PC/15b3/1018. Why are you using a VF in this situation? Are you running inside a VM or on a bare metal host? > > net_mlx5: mlx5.c:3322: mlx5_pci_probe(): no Verbs device matches PCI device 0000:af:02.3, are kernel drivers loaded? > > EAL: Requested device 0000:af:02.3 cannot be used > > EAL: Probe PCI driver: net_mlx5 (15b3:1018) device: 0000:af:02.4 (socket 1) > > net_mlx5: mlx5.c:3322: mlx5_pci_probe(): no Verbs device matches PCI device 0000:af:02.4, are kernel drivers loaded? > > EAL: Requested device 0000:af:02.4 cannot be used > > EAL: Bus (pci) probe failed. The code in mlx5_os_pci_probe() suggests that the DPDK mlx5 driver didn't find any Infiniband devices on your system. Is your adapter enabled for Infiniband on the host system? What does "lspci | grep Mellanox" return? What about "ibv_devinfo"? Dave