From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80043.outbound.protection.outlook.com [40.107.8.43]) by dpdk.org (Postfix) with ESMTP id 942E11B51D for ; Thu, 7 Feb 2019 15:03:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rad365.onmicrosoft.com; s=selector1-rad-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kENqe8hmIqTafdgiJ/RwNb05DtdFmoACrbwlcrE3Zhc=; b=RXcQONBd0InSfxCPFrwdH+D5lgBrEoknjdNir2ksrrsf9Jpde3n+Kzrt75/E2o1EV+pHw1m1NpJiZA7CunD3hKIUerNgjTfLBfUfoE5NGdM2ioef6lzZ6fyZRI4tfmK3PACN95IcAY465pbknQ/AW1hVUOBtS1YckcBPOU5De+I= Received: from AM0PR03MB4820.eurprd03.prod.outlook.com (20.178.21.97) by AM0PR03MB4948.eurprd03.prod.outlook.com (20.178.23.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.17; Thu, 7 Feb 2019 14:03:31 +0000 Received: from AM0PR03MB4820.eurprd03.prod.outlook.com ([fe80::a025:4ec:a237:8eac]) by AM0PR03MB4820.eurprd03.prod.outlook.com ([fe80::a025:4ec:a237:8eac%6]) with mapi id 15.20.1601.016; Thu, 7 Feb 2019 14:03:31 +0000 From: Amir Solav To: "users@dpdk.org" Thread-Topic: DPDK on PF and SR-IOV Thread-Index: AdS+6ujdEE0IdvmIRPSs1v01OzpOPg== Date: Thu, 7 Feb 2019 14:03:31 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=amir_so@rad.com; x-originating-ip: [37.142.37.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR03MB4948; 6:mMVmezDls3ScudXBG1n8+vPiKUvyAqIvWR+eJJ2+PO34MaT3TEjiD2UHKaoZJAotmaYDTjsmV99Tyf+ifQTdhKnNeiXHynJ8omThHM4F1f4ZkFMY+uetkJ+mrGv+tOnQHh0sBOF2RE/S4g1uMJmFi2TrJ43kptNgdXfOFcqV5WQ5CycPLoZe7q/pDJcewyKdFzZiLw5hXRbo2Gqc/TR7uhsZbOyKtn1j/S0Hup9qL5RNgtfW445XmpA74cUhamrQzx6O9C6MPkOuCEw4X5fHMfSp+gY2QXIFlVMTrI7rtTv8m6NfZnHFOqFEk7QNLj2mvhQawat44Sb8BbsohNoKinB0EDcAhfH+T6dfmGQXFI2jBob301uFkmlQbEyUn0+dTVi/qTtOJZo9bLDeqpQHxpMGNQ/nGYs4kUT17usttQY3UR5erRJUUNPBzn9ZeBUIhcEKWncS226jfzvJSSyteA==; 5:nS7C+/JxEdnc7IvbbmHLUxakhColaXSttJRfn7LCSfqBHAqp9lvMqcdwR6uEavznSELbjc9CFH8sYfzv/us2O0/wi1TtTmG4/4ykGqQouqQagK2vVy3KZ+bLn0xrYevx/OkNLnuGY94KJ4/mTb/HOecSJQXk2KrehDZ2GMNqwZUXdog+DCANw1Emhy4QzXY0FZ47q+jy7h8H+r01b7Ic+g==; 7:eUtr/QVlMFx9AzvOmjtJoGtMkb7H5MIGHh5Cwk8nS2AcB1AzHqbobpG0FIeRHOV7US/6tq+0IEQd2NLIx2HyDUoqRX8lNPdMJHaCnXtd70Ycm2L7ux+ptPIRqEoB1Vu4qGieQfOqIiRlR3JLGD1Guw== x-ms-office365-filtering-correlation-id: 9578831c-415b-444b-86a3-08d68d050aa2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR03MB4948; x-ms-traffictypediagnostic: AM0PR03MB4948: x-microsoft-antispam-prvs: x-forefront-prvs: 0941B96580 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(366004)(396003)(136003)(39850400004)(376002)(346002)(189003)(199004)(8676002)(8936002)(6116002)(256004)(81166006)(81156014)(1730700003)(2906002)(2501003)(486006)(25786009)(790700001)(14444005)(99286004)(476003)(86362001)(33656002)(14454004)(68736007)(966005)(71190400001)(3846002)(71200400001)(478600001)(2351001)(66066001)(74316002)(7736002)(105586002)(316002)(6916009)(97736004)(9686003)(6306002)(54896002)(102836004)(186003)(53936002)(55016002)(6506007)(5640700003)(106356001)(9326002)(7696005)(26005)(6436002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR03MB4948; H:AM0PR03MB4820.eurprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: rad.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: VJrm1X2vsWOHRYxJtcDtwKPmVGRBRToRWx8D0lM7WMFdcNyG9eVIPCOQkKvuDsUEzCavb1Zsim75chmDb7BMHJlmUirk/yKoHfvQW/nKcnZ5hWkUx43jIZr0wVmNtVf26nc2Rlt+j2pn2IWkmkea/KSUOZOANr340sj5KBYwmbtdu1OowZXBUnxvz5HGBMHIjITCbIaoz8UcW7Q0g2hb/0HL13nhl7wPU+G4P7iXjOPq3XqwcZ/63D7rr1GL2LbqfIyqyynfkyeOv7gnTzAxvdIXN3d88gbSExe2akSlFXcd02xka5SxLmBj8hnUfvKnB7h8ar8FOOCaZgNSSMrJoUWFqVAV8S5+obN0vBmRlk4g+cFKkGGFgnuMEKkAkp+QnscrksA+X3YCdX/uGkkAJ+cIfLwdALSVXjf7/nrBcKc= MIME-Version: 1.0 X-OriginatorOrg: rad.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9578831c-415b-444b-86a3-08d68d050aa2 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2019 14:03:31.1319 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f9047108-cc2c-4e48-97a3-43fad1b3bf9d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR03MB4948 X-Mailman-Approved-At: Tue, 12 Feb 2019 08:32:58 +0100 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] DPDK on PF and SR-IOV 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: , X-List-Received-Date: Thu, 07 Feb 2019 14:03:32 -0000 Hello, I'm trying to set up PF using DPDK in addition to SR-IOV connection to the = VMs. Currently (before enabling SR-IOV VFs ) all interfaces is using DPDK VFIO-= PCI driver. I've enabled below patch to the VFIO driver in order to create VF on the Ph= ysical port: https://patchwork.kernel.org/patch/10103353/ The problem is that once I bind VFIO driver to the created VF I expect to s= ee new device node /dev/vfio/X with the relevant IOMMU group. In my setup this device note isn't created therefore I can't connect the VF= to VM using Libvirt which is looking for this file. The sequence I did is: #Create 4 VF on the PF echo '4' > /sys/bus/pci/devices/0000\:06\:00.0/sriov_numvfs #Unbind the 4 VF from the default driver echo "0000:06:10.0" > /sys/bus/pci/drivers/ixgbevf/unbind echo "0000:06:10.2" > /sys/bus/pci/drivers/ixgbevf/unbind echo "0000:06:10.4" > /sys/bus/pci/drivers/ixgbevf/unbind echo "0000:06:10.6" > /sys/bus/pci/drivers/ixgbevf/unbind #Bind the VF to VFIO-PCI driver echo "8086 15c5" > /sys/bus/pci/drivers/vfio-pci/new_id #After this command I expect to see new /dev/vfio/X file for each VF. I can see that each VF is in different IOMMU group. What I'm missing here ? Is there any other option to connect VM with SR-IOV once using DPDK driver = on the PF ? Regards, Amir.