From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DF897A0C43; Fri, 24 Sep 2021 02:40:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96DA540687; Fri, 24 Sep 2021 02:40:40 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id EBEDB40142 for ; Fri, 24 Sep 2021 02:40:37 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10116"; a="220774600" X-IronPort-AV: E=Sophos;i="5.85,318,1624345200"; d="scan'208,217";a="220774600" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2021 17:40:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,318,1624345200"; d="scan'208,217";a="558756484" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga002.fm.intel.com with ESMTP; 23 Sep 2021 17:40:36 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 23 Sep 2021 17:40:36 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 23 Sep 2021 17:40:35 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 23 Sep 2021 17:40:35 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 23 Sep 2021 17:40:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mQfkmWrzxqu6VLDXs/p2k52CiH4G/sULXXSsRKpiFGUk3FnvY1nh+KOX2ABx6tOdGDrb6uZQK1SwaQ+xxTwBd1T/QAQPAMO06zJrpy4MpKYQ7TsHPKaWQoMlH70LMdTq4PJAsjzfyJ+RIbS+8pz94C3bWAS5tqOJ7nSwtVKMBlAPIdLD+p3O9iM1TrkIwOUN1KLuZR85Cy0nrzS+DdWHPWw9Fy63jzBdzdDtGQrsa4RcgdHaDVL76Ys1/m7l/aa9+68mDzpXLeTIcxU4BwkyBgZaXlxCzSaSng9MNa4I99Z0Mtu0deGydbj3WpvZEqIIwjn2c+PnCFe44bT0ZjGw0Q== 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; bh=ycQFTxQzJ7VlL4lmtuMHCa8sinRGLeOvgT0u7dQuGf8=; b=XedsPz8KnFaKhtiHyFnyWNoifZ1mzO4ttU3eQE/qxX0XntetxKS/03svKx7zfrsoQZ2mwtFEeqgbKBBz81AoRnfv3hHWbb7LNgjcjMt4rtyT+X6Mg39VcPnr7GQip/lRmQfQnNs3Vh6wVAER9YX3Yfqn8B5BWVLKwX1QXfKFIHs8sVIMmyRRCrjvHEH2uYngbuqGVm/vD5+a8XMmTBqabWvFfYoH2SHY0dnoxWEsPp05k12vI4ZlMgGdWVl/W08vFrLYgXDG4rmaC9k1c9T1sD4ciOiSX8b0SJcRQLG/J5arV5gjwudZp4yxoXrA4kQlgqkAi+5htBP4++8E66gVdA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ycQFTxQzJ7VlL4lmtuMHCa8sinRGLeOvgT0u7dQuGf8=; b=ZyXWZjPkbl0cip8VBaDhE43wpenKgVPx+1/9NgtyCe+Qiy5nm8v8f7e7PRnmUgmtLg7nqH3PcQaBBwAS5/MWBWOnhri0naSzOOtp/Y8imfYxy0WjZOZRkHjviUj3D5bKBaokFT82B1nhfLLyIGUnk88Jtib8PXsD6ZCiXElYgAk= Received: from MW3PR11MB4587.namprd11.prod.outlook.com (2603:10b6:303:58::7) by MWHPR11MB1406.namprd11.prod.outlook.com (2603:10b6:300:23::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.17; Fri, 24 Sep 2021 00:40:34 +0000 Received: from MW3PR11MB4587.namprd11.prod.outlook.com ([fe80::4d0f:beef:ae28:d933]) by MW3PR11MB4587.namprd11.prod.outlook.com ([fe80::4d0f:beef:ae28:d933%4]) with mapi id 15.20.4544.015; Fri, 24 Sep 2021 00:40:34 +0000 From: "Wu, Jingjing" To: "Dey, Souvik" , "dev@dpdk.org" , "Xing, Beilei" Thread-Topic: Not able to start IAVF PMD with dpdk 20.11.3 Thread-Index: Adewj8KUV+1wMsfFRoyxRcOsPLJIPgATLnug Date: Fri, 24 Sep 2021 00:40:33 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: rbbn.com; dkim=none (message not signed) header.d=none;rbbn.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1466691b-a5b4-4116-98b5-08d97ef3eb8e x-ms-traffictypediagnostic: MWHPR11MB1406: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:285; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zLBsPR5kjNNK4A8RsNoEueJXAk2En+jVCETTy1DVfZOcxZclbHC5NCRy2yZpmcHOcfPbiFqUJ1EphDhuCxSEzslgvPTiSr7t5/E0gwUQbzPWthSNDnshcLsK17BRSr7F8tmGxvOIlZhzw7QVUzfSMe+eVAwJAp39zEKW3WPr0ZG81UF9e6zbLL7vVxPg4nsA1JfAA0E+MKpvHmT2qh1nRRrJkEGHaP1YKIZCFQ1yMAzcThwKMy1w4lR5jJxzKRa2D89OoKf3BuGwebl6gUm1DmpdDWqCD5537My95K0anVfx3GDUGUOG/lVKB/r76q8RofBM19RuTlIfb4vRye5Tc2MIAIBG1rA2xtlCwwHEy4ptEtB5luy+TUqo/BJdR6kFsOEQdZgdDzb8K0s4SXuJOgRARbBEbmCDfjB7VYb7sB0JtYhKt29cvAxXBcfxP1zkwLJVFViKLUHs3ZkuHiKtTdR7FmJsQpH+GMwzx9f3uloaopD4gKM54ZsZmNu0S37gCJRlfVQU6e7oscHIOySzBXwjulg0QFzxdBFnrt0vzteJJ7DdAa/5/zZz6Zy1cOsS6U9OIHuwksSfkbClWSlNrzbcPlOfkvljG1XWFwf6j1n4tfT5CTbSgREJuIre85IXpDjq5Un0ryns7RNsRiqFrsJHK6SkqhHXjE8TL40xOfCmBvBH7ltyjcRc4RRF/+NotaO/JmNAiawtoRd4+ZxRMw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW3PR11MB4587.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(53546011)(66446008)(7696005)(83380400001)(110136005)(8936002)(8676002)(66476007)(508600001)(2906002)(186003)(64756008)(66556008)(6506007)(38070700005)(66946007)(52536014)(6636002)(71200400001)(33656002)(26005)(9686003)(38100700002)(122000001)(316002)(55016002)(5660300002)(86362001)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ro2Cxr5rZSfpBfZk1i+SF6sifpbRh2BHUYiQkhA50yiCD6bsDz5IIRJ60Vkk?= =?us-ascii?Q?mSKNTo/whoBiqtQw6jxX9qWYKkPrFmuC/YizNYXz7KoXoilpKyVJ91JP4lNW?= =?us-ascii?Q?QwSlgP5NCJSaopg6qTMp2Ry7o49nXXQNpA3iBdcaYL441rOhJCWvZp5kOBUI?= =?us-ascii?Q?TwPddHzfPUp9DRJugJILMQcHdTrhBge53Ib5ohoH+m+R3rzpEJpTWJXNMqVi?= =?us-ascii?Q?1zaRsnznDlEGfpp21ru15Jk5/AhUNC+Uumyki1ROnWoGiJWg10pi8Qa3jIvk?= =?us-ascii?Q?jPSPbbqNfnkutMYjKNq3a8eCFweHbHWAKJx8vgjLuOnudsG+qhhaHveeskTe?= =?us-ascii?Q?HcQQiUtetY3sFYMU31b29ipsYJQi/kNTKc/Flg0eIeHznb56TacLPdbwWKNA?= =?us-ascii?Q?oKNzmQMMIuuNTKqv0/VI9j0a6ygM1oCLd3eYG+h/3e6VcujrvpTMtjw34/RC?= =?us-ascii?Q?qdsnhwU0bLwH1Sbhf9nBgov3DZgVMwJOU604hO54yJVb3VIuRcE4iRDY5YEk?= =?us-ascii?Q?H6tYgWQzn1ornl3keD/Tuyk4m6E6I+GX+UI4X0IWhd3cldtceutGHFoPXghk?= =?us-ascii?Q?OdvNafDXgW+gc/P0QRfRMougkmJeIqzZtXxIdxTIu5cPYHKXoAKw2kRHqE/i?= =?us-ascii?Q?GmMow6P+V1bITJb0GdndErzhxXY5Jms3Coms5FrSCWd+T5uJ6E1ZgNUhfXwh?= =?us-ascii?Q?6gvegCWVU3FwdTKnZTKlEK4Y0eqQg/59UojgmaxXMqaHLQ9sASZ6N/+TTX5e?= =?us-ascii?Q?tIn/guuq+l3YFhusK1YPiydKAclT2y2389KIX+KNPqfqvNQw2S2Be9mdmri2?= =?us-ascii?Q?qxz/n5G3UxHy44xoF5BW7W4kNo/YMpjU13Cxlcer76m2G/AT8OYba8cwNkVr?= =?us-ascii?Q?+RxYlqO5EThAq7B7i2rTy36YmRLsVCg6xo2lBtsx65usO0ZXsPDEkbDbHx5b?= =?us-ascii?Q?Y0k8k8F2ssjgde5eoxL6/eNHVtmkvmmXvSstR8KJ1C8WLL+4CpamP+KYMdEP?= =?us-ascii?Q?c1mBqtmZlNP+NCxYd4t5SRBkh0doF6UXFehbf/ZIFvYYrzwaVGloJjGK//xa?= =?us-ascii?Q?lSTbDEWtYv84DXZaM3vKyvDWKZc5NGSnL+LVqXShYfxBY4ufFflCQFWbuvhP?= =?us-ascii?Q?aZkZoAEvYdEpcCacvZWu5VtBA4ALVE6DDF48YcQopf+tig641Ad5oaFXIRzA?= =?us-ascii?Q?zYdijurFCy4fYzoQM2YxF0Qb5ewQHuKupkEIqmYdzFTNwvwz+eDTVGN3dq9s?= =?us-ascii?Q?wlr33gMqkY+LE178olc+INN9pgkWBdR9XIV6/RI+8EpmRINKJ8FPvWuaqRq/?= =?us-ascii?Q?4lsqw8khRBH9ARmIh9iTUHci?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW3PR11MB4587.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1466691b-a5b4-4116-98b5-08d97ef3eb8e X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2021 00:40:34.2594 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: iTuauPxb4Qr9kj6BK9hkDPSpx1budmSJW+J3aNiQceZ66hiCg2yOMowoC12wi/MR+PShOY25BOCiwmy0HBg6tQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1406 X-OriginatorOrg: intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] Not able to start IAVF PMD with dpdk 20.11.3 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Could you have a try to switch from uio_pci_generic to vfio_pci? From: Dey, Souvik Sent: Thursday, September 23, 2021 11:29 PM To: dev@dpdk.org; Xing, Beilei ; Wu, Jingjing Subject: Not able to start IAVF PMD with dpdk 20.11.3 Hi All, Trying to test E810 Sr-IOV based nic card with 20.11.3 dpdk. I am runn= ing the host kernel driver and only the VF is attached to the VM where I am= running dpdk. But when I attaching the VF to the testpmd it is throwing th= e below error. Is there are way to move forward here ? [root@connexip linuxadmin]# ./dpdk-testpmd -c 0xf -n 4 -a 08:00.0 -- -i --r= xq=3D16 --txq=3D16 EAL: Detected 4 lcore(s) EAL: Detected 1 NUMA nodes EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: No available hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:08:00.0 (socket 0) EAL: Error reading from file descriptor 27: Input/output error EAL: No legacy callbacks, legacy socket not created Interactive-mode selected testpmd: create a new mbuf pool : n=3D171456, size=3D2176, socke= t=3D0 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=3Dpaired and odd forward ports number, the last port= will pair with itself. Configuring Port 0 (socket 0) EAL: Error reading from file descriptor 27: Input/output error iavf_execute_vf_cmd(): No response for cmd 28 iavf_disable_vlan_strip(): Failed to execute command of OP_DISABLE_VLAN_STR= IPPING iavf_execute_vf_cmd(): No response for cmd 24 iavf_configure_rss_lut(): Failed to execute command of OP_CONFIG_RSS_LUT iavf_dev_configure(): configure rss failed Port0 dev_configure =3D -1 Fail to configure port 0 EAL: Error - exiting with code: 1 Cause: Start ports failed [root@connexip linuxadmin]# I do see the matching list for driver but is this required even if I use ke= rnel driver on the host and only IAVF PMD on the guest ? DPDK Kernel Driver OS Default DDP COMMS DDP Wireless DDP Firmware 20.11 1.3.2 1.3.20 1.3.24 N/A 2.3 21.02 1.4.11 1.3.24 1.3.28 1.3.4 2.4 Host details: Red Hat Enterprise Linux release 8.2 (Ootpa) [root@localhost ~]# modinfo ice filename: /lib/modules/4.18.0-193.19.1.el8_2.x86_64/kernel/drivers/ne= t/ethernet/intel/ice/ice.ko.xz firmware: intel/ice/ddp/ice.pkg (ice-1.3.4.0.pkg) version: 0.8.1-k license: GPL v2 description: Intel(R) Ethernet Connection E800 Series Linux Driver author: Intel Corporation, linux.nics@intel.com rhelversion: 8.2 Using vfio-pci to connect the VF to the VM. Guest Details: OS : debian buster Dpdk : 20.11.3 Interface bound to uio_pci_generic [root@connexip linuxadmin]# /opt/sonus/bin/np/swe/dpdk-devbind.py --status 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:01:00.0 'Virtio network device 1041' drv=3Duio_pci_generic unused=3Dvi= rtio_pci 0000:08:00.0 'Ethernet Adaptive Virtual Function 1889' drv=3Duio_pci_generi= c unused=3Di40evf 0000:09:00.0 'Ethernet Adaptive Virtual Function 1889' drv=3Duio_pci_generi= c unused=3Di40evf 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:02:00.0 'Virtio network device 1041' if=3Dha0 drv=3Dvirtio-pci unused= =3Dvirtio_pci,uio_pci_generic *Active* Notice: This e-mail together with any attachments may contain information o= f Ribbon Communications Inc. and its Affiliates that is confidential and/or= proprietary for the sole use of the intended recipient. Any review, disclo= sure, reliance or distribution by others or forwarding without express perm= ission is strictly prohibited. If you are not the intended recipient, pleas= e notify the sender immediately and then delete all copies, including any a= ttachments.