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 8BA29A0353 for ; Tue, 5 Nov 2019 11:13:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EF6B12BC8; Tue, 5 Nov 2019 11:13:23 +0100 (CET) Received: from vmx66.tatacommunications.com (vmx66.tatacommunications.com [115.114.148.227]) by dpdk.org (Postfix) with ESMTP id 5899A2B9D for ; Tue, 5 Nov 2019 11:13:22 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.68,270,1569263400"; d="scan'208,217";a="703384075" Received: from inp44vlag03.vsnl.co.in ([121.244.253.180]) by mx6-2.tatacommunications.com with ESMTP; 05 Nov 2019 15:43:09 +0530 Received: from inp44vdag05.vsnl.co.in (121.244.253.39) by inp44vlag03.vsnl.co.in (121.244.253.180) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 5 Nov 2019 15:43:08 +0530 Received: from INP44VPEX001.vsnl.co.in (10.132.13.22) by inp44vdag05.vsnl.co.in (121.244.253.39) with Microsoft SMTP Server (TLS) id 15.0.1347.2 via Frontend Transport; Tue, 5 Nov 2019 15:43:08 +0530 Received: from APC01-SG2-obe.outbound.protection.outlook.com (104.47.125.50) by mail.tatacommunications.com (10.132.13.22) with Microsoft SMTP Server (TLS) id 14.3.382.0; Tue, 5 Nov 2019 15:43:08 +0530 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cp3uFFemZNjCK424Z6X84ux7Qou8HXc+ONA2MBqPOP0hGAPVFw2ROLPv1Kf3pD3J1QlNURPYHKFagKpo7uPeKF7ACQ0UhRp/C033CUMYlxSwtnVY0NAsUxKz5P7+CXTAC+WthE8KJdlqd06vhnp2t/DMlMRaOHw8Om0M9Os9f4ptkng+UaNSVXilj8P5MkHG4iqC0RZRjG6sPFQP0JlCJgP+SSD+d251eVxlhIU/QD+SGrSw4VQHslX+pZczh4vcX6AlZ1AJxX+bl6Jw5k9Jub46U8bnRoZ8vNHb6aWuKWzBpLMzsGlZlGjr2c0+1KrxHs6znlFsBz5zZmIaTvMdhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H7MQjM5Wwkgx7WTGDVRZcL9k3IYXstHcIJXBNEH6BGI=; b=TTmpaLCkQ9ghQMPOJCQobuGd80sR3gStpGNAmD2xnLHKfrIMyWSdwMjlUs7yWGHMON1edd0ajyk7zg/LtR2MxcFMSWtww+zmnMfbbfI0Lu5vp7etu2BdxxAlQdyMMnRgGsK/xRsZ3dmIuHHrJ51BQwuXSMcj7bJkRvZSEc4Mr+oOTXSu+DlmQ6ej7iPmVFOMF7ctZPhAwnoRIcZjziuBqvlVMF7Wt4P5LLAeD5MThpt9dHQtLZPuKQRpbSqZr8vkUA1+dgPymXiEVlaPt3LaQ1C2utUE8Jx9mEPfTXdymV++YGN/gv2FT2Uu3MtdAak2pe7AaR3tXpz9+KMzo5jSCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=tatacommunications.com; dmarc=pass action=none header.from=tatacommunications.com; dkim=pass header.d=tatacommunications.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tatacommunications.onmicrosoft.com; s=selector2-tatacommunications-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H7MQjM5Wwkgx7WTGDVRZcL9k3IYXstHcIJXBNEH6BGI=; b=hFL0uUXXmo/nrTKNTLnyY0OuRRx91N49hwmFZpd8NQSTj4dKeFL/UOE1ARH5qlFpo0BHlYcyJE54o9+hzoGe/cwjMmjag+xcV6T0TiGRlEr0CIomBYjU0DMaSilSzKxF1NjD0VJBA+kAMgXwfOYdr//zuHbjneM4Lth6fIVLCqk= Received: from SG2PR04MB3352.apcprd04.prod.outlook.com (20.177.91.144) by SG2PR04MB3692.apcprd04.prod.outlook.com (20.178.157.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Tue, 5 Nov 2019 10:13:07 +0000 Received: from SG2PR04MB3352.apcprd04.prod.outlook.com ([fe80::f400:e00d:2b80:f90e]) by SG2PR04MB3352.apcprd04.prod.outlook.com ([fe80::f400:e00d:2b80:f90e%6]) with mapi id 15.20.2408.024; Tue, 5 Nov 2019 10:13:07 +0000 From: Prashanth Fernando To: "users@dpdk.org" Thread-Topic: Facing an issue in running DPDK in a container along with SR-IOV. Thread-Index: AdWTwZimBf2JsNFkQF2N3PSqBlsanA== Date: Tue, 5 Nov 2019 10:13:07 +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=prashanth.fernando@tatacommunications.com; x-originating-ip: [121.243.33.212] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0b3d7643-455e-4701-a061-08d761d8c0ee x-ms-traffictypediagnostic: SG2PR04MB3692: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:820; x-forefront-prvs: 0212BDE3BE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(136003)(396003)(366004)(189003)(199004)(6436002)(66476007)(476003)(14454004)(256004)(8676002)(81156014)(6116002)(86362001)(9326002)(9686003)(6306002)(54896002)(26005)(478600001)(3846002)(74316002)(66066001)(2501003)(790700001)(486006)(52536014)(33656002)(44832011)(5660300002)(6916009)(6506007)(5640700003)(316002)(2906002)(99286004)(4743002)(81166006)(55016002)(76116006)(2351001)(66446008)(71200400001)(71190400001)(66946007)(25786009)(8936002)(64756008)(66556008)(7696005)(186003)(102836004)(7736002)(1730700003)(554374003); DIR:OUT; SFP:1101; SCL:1; SRVR:SG2PR04MB3692; H:SG2PR04MB3352.apcprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: tatacommunications.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /W103xOfAaQOY/DKeS2u/MYIgnk19PeWXg/vK6lpuPwaDgVMoAoyLij0ViYFRSnht1+6buHtByVc+GatD4+Ze1L/tu3/FBZbN+nBPy2ijsGwbGQt13xTmhzb0oxSxB7JpADQHl0PYLefUAGPzYLmkPcqfEOvPj2WG3ucvqH2m9ARzMZuuNk+K4Intg86lSh/Ou67x7KhRIONQuKhdeewdxoJp++rH+U+RWT5Hn+yIbzxuqFQhzowNfpeb+F61D586zwTM/QuFw04IzDzsaUEtz4nUtBvmOkDRRAAb15HjtjXLn1reiR5djz7am2u+SZ5zoXL2xOn8XjcwSGmmLHiiUYdgpFrhDC8c2FU0kvqnOOIlz4x5WcjWKDWKWMo+WnvCWcd8YEy9705cLVjXoJ1P9ikuptLhxMaujwogxrYtAO8Cp591eqdtJbq8ErvMDVn x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 0b3d7643-455e-4701-a061-08d761d8c0ee X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2019 10:13:07.3225 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 20210462-2c5e-4ec8-b3e2-0be950f292ca X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zCuiyIfG5n05X3u5ioBB7FDgvGqRyhIc8wNaa5kt6NCU7ZvUjkJMGodEw2wi04+jzsXoQ+jBR34yoh0th+raR18T+m284Pslfu8tiDXF+TDLjTtZAnHYxWz/MDLq+Uz/SbkAK863dbyh1PDZtQrtGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB3692 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Facing an issue in running DPDK in a container along with 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: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, I am trying to run DPDK in a container and listen on a VF, I am unable to r= un DPDK. It fails with the following error. Not sure what I am missing. EAL: Detected 72 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:19:00.0 on NUMA socket 0 EAL: probe driver: 8086:1521 net_e1000_igb EAL: PCI device 0000:19:00.1 on NUMA socket 0 EAL: probe driver: 8086:1521 net_e1000_igb EAL: PCI device 0000:19:00.2 on NUMA socket 0 EAL: probe driver: 8086:1521 net_e1000_igb EAL: PCI device 0000:19:00.3 on NUMA socket 0 EAL: probe driver: 8086:1521 net_e1000_igb EAL: PCI device 0000:5e:00.0 on NUMA socket 0 EAL: probe driver: 8086:1572 net_i40e EAL: PCI device 0000:5e:00.1 on NUMA socket 0 EAL: probe driver: 8086:1572 net_i40e EAL: PCI device 0000:5e:00.2 on NUMA socket 0 EAL: probe driver: 8086:1572 net_i40e EAL: PCI device 0000:5e:00.3 on NUMA socket 0 EAL: probe driver: 8086:1572 net_i40e EAL: PCI device 0000:5e:02.0 on NUMA socket 0 EAL: probe driver: 8086:154c net_i40e_vf EAL: 0000:5e:02.0 not managed by VFIO driver, skipping EAL: PCI device 0000:5e:02.1 on NUMA socket 0 EAL: probe driver: 8086:154c net_i40e_vf EAL: PCI device 0000:5e:02.2 on NUMA socket 0 EAL: probe driver: 8086:154c net_i40e_vf EAL: PCI device 0000:5e:02.3 on NUMA socket 0 EAL: probe driver: 8086:154c net_i40e_vf EAL: PCI device 0000:5e:02.4 on NUMA socket 0 EAL: probe driver: 8086:154c net_i40e_vf EAL: PCI device 0000:5e:02.5 on NUMA socket 0 EAL: probe driver: 8086:154c net_i40e_vf EAL: PCI device 0000:60:00.0 on NUMA socket 0 EAL: probe driver: 8086:1583 net_i40e EAL: PCI device 0000:60:00.1 on NUMA socket 0 EAL: probe driver: 8086:1583 net_i40e EAL: PCI device 0000:86:00.0 on NUMA socket 1 EAL: probe driver: 8086:1583 net_i40e EAL: PCI device 0000:86:00.1 on NUMA socket 1 EAL: probe driver: 8086:1583 net_i40e EAL: Error - exiting with code: 1 Cause: No physical ports! ---------------------------------------------------------------------------= -------------------------- Before Binding Interface: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D /usr/src/dpdk/usertools/dpdk-devbind.py -s Network devices using kernel driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:5e:02.0 'Ethernet Virtual Function 700 Series 154c' if=3Dveth0 drv=3Di= avf unused=3Dvfio-pci *Active* ---------------------------------------------------------------------------= -------------------------- Binding an interface: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #/usr/src/dpdk/usertools/dpdk-devbind.py --bind=3Dvfio-pci 0000:5e:02.0 ---------------------------------------------------------------------------= -------------------------- After Binding Interface: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # /usr/src/dpdk/usertools/dpdk-devbind.py -s Network devices using DPDK-compatible driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:5e:02.0 'Ethernet Virtual Function 700 Series 154c' drv=3Dvfio-pci unu= sed=3Diavf