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 EF885A00C5 for ; Thu, 7 May 2020 19:48:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A9FF81DAA6; Thu, 7 May 2020 19:48:53 +0200 (CEST) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 700331DAA0 for ; Thu, 7 May 2020 19:48:51 +0200 (CEST) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 047HVl1F187428 for ; Thu, 7 May 2020 13:48:50 -0400 Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0a-001b2d01.pphosted.com with ESMTP id 30u8t8c29s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 07 May 2020 13:48:50 -0400 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 047HeUvT021525 for ; Thu, 7 May 2020 17:48:49 GMT Received: from b01cxnp22036.gho.pok.ibm.com (b01cxnp22036.gho.pok.ibm.com [9.57.198.26]) by ppma04dal.us.ibm.com with ESMTP id 30s0g7ehy6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 07 May 2020 17:48:49 +0000 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 047Hmng839649538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 7 May 2020 17:48:49 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E5827112061 for ; Thu, 7 May 2020 17:48:48 +0000 (GMT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B1AEF112063 for ; Thu, 7 May 2020 17:48:48 +0000 (GMT) Received: from Davids-MBP.randomparity.org (unknown [9.163.73.199]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP for ; Thu, 7 May 2020 17:48:48 +0000 (GMT) To: users@dpdk.org References: From: David Christensen Message-ID: Date: Thu, 7 May 2020 10:48:48 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; 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.216, 18.0.676 definitions=2020-05-07_10:2020-05-07, 2020-05-07 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 suspectscore=0 bulkscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 priorityscore=1501 phishscore=0 clxscore=1011 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005070139 Subject: Re: [dpdk-users] Assistance Request: Error adding DPDK VFIO NIC to OVS+DPDK Bridge 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" On 5/4/20 2:18 PM, Wittling, Mark (CCI-Atlanta) wrote: > Greetings, I cannot get OpenVSwitch to add my DPDK-bound VFIO port (e1000 DPDK-compatible NIC) to the bridge without an error. > > The error is at the end, and I am supplying all of the info I know the community would typically ask me for, before I show the error at the bottom. > > Any help would be greatly appreciated. ... > # cat ovs-vswitchd.log > 2020-05-04T21:12:11.071Z|00291|dpdk|ERR|EAL: Driver cannot attach the device (0000:01:00.0) What do you see with the following bash command: for a in /sys/kernel/iommu_groups/*; do find $a -type l; done | sort --version-sort There may be other devices in the same IOMMU group as your NICs. If so, then you need to bind VFIO to those devices as well. Found this link that might be helpful if you're unfamiliar with the concept of IOMMU groups: https://heiko-sieger.info/iommu-groups-what-you-need-to-consider/ Dave