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 2E51CA0559; Mon, 16 Mar 2020 14:46:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B130425D9; Mon, 16 Mar 2020 14:46:51 +0100 (CET) Received: from IND01-BO1-obe.outbound.protection.outlook.com (mail-eopbgr1390131.outbound.protection.outlook.com [40.107.139.131]) by dpdk.org (Postfix) with ESMTP id F318AFEB for ; Mon, 16 Mar 2020 14:11:31 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i1BweUBSiO8YlbQ/+sS647R+NvK4oPLBD7EoO+5Xle8mgjdMcrFMDg7wtbhhNvmIe921FylHWuWEEqiHZoGg2GZ6hngXaaggH9x2/oot6K1A+lX18+luoeTiJP25uN8H2bLwu0jfbGwfVW/StpGA2b3kDIqaM3QvaipsXlkeW3oyutwB/CSvCRw158gRpy+o6pjMUPQadHE3JkMwA1IlOHuY4HeD/Jhq+HS7wZ/KnsMhqDFyED0XCDFUfrl7ID6WUgD/7EykgEry/6AXzS2haLHsKom48ZSZrENpp7yK9VV/WN5X6L4+09WX5nl1D+8srsdiUHCcnKgiavXi0OzGEQ== 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=pOpVrXijg8W368M+5IK2bR81y2oU8xFFeP9pjcBRwp8=; b=RQ0LQewnxyvhpDNLdSR4CmGAl6uMksRUh8aFdceMrXtDdaFqrgYf1mW/bdBEa4iWXWIsE6O83UhJX8o2BeiOFamJNJuPAUNTnsngfVbe9YUzurBNO7OKUwuxQ4Harel6GJId/P807yA6HGFeQNzzVC40I80FZ6XqwVqjBp/ZnTA6+bEtlj+6dXthu/7AZlmkxuNuKXGv/ceP4HosvDR/B89LDwpNL5Qe6VA1glwECu8s2nrMNh5+W/yNw8O7bgahfFwE3h0cQDQiOJ5MJBAyu5LEi1DVnm052umJZ3uMd18jPIUqojmPUguGBlLurMKF3Ahn0jXk/WW56Je6iuEHgw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=truminds.com; dmarc=pass action=none header.from=truminds.com; dkim=pass header.d=truminds.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=truringsoftek.onmicrosoft.com; s=selector2-truringsoftek-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pOpVrXijg8W368M+5IK2bR81y2oU8xFFeP9pjcBRwp8=; b=cna6W6otkKVUCtQ3OI6p/A2rFRLl41D5aQ25XfcgigiM870w2EHyvKF2dIen2sKI5xN6ilDO49FL5cfr4sIALeW1i42lhd6S+mfqvx0vP6TuJVGcceNc+HPBtuBkvmxh5sd3188nwElspgjHHdeDRKaSrFwU1TNLb50UVburQH4= Received: from BMXPR01MB4088.INDPRD01.PROD.OUTLOOK.COM (20.179.243.146) by BMXPR01MB3768.INDPRD01.PROD.OUTLOOK.COM (20.179.242.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.19; Mon, 16 Mar 2020 13:11:29 +0000 Received: from BMXPR01MB4088.INDPRD01.PROD.OUTLOOK.COM ([fe80::2444:577d:c672:23b5]) by BMXPR01MB4088.INDPRD01.PROD.OUTLOOK.COM ([fe80::2444:577d:c672:23b5%7]) with mapi id 15.20.2814.021; Mon, 16 Mar 2020 13:11:29 +0000 From: Puneet Singh To: "Li, Xiaoyun" , "dev@dpdk.org" Thread-Topic: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic Thread-Index: AdX7kvbHMUC1up3+QnalU8YWSjWouwAAV8NQ Date: Mon, 16 Mar 2020 13:11:29 +0000 Message-ID: References: In-Reply-To: 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=Puneet.Singh@truminds.com; x-originating-ip: [180.151.3.44] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7162d7b7-fe56-437b-09b1-08d7c9ab8a6f x-ms-traffictypediagnostic: BMXPR01MB3768: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 03449D5DD1 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39840400004)(396003)(346002)(376002)(366004)(136003)(199004)(7696005)(71200400001)(52536014)(33656002)(6506007)(53546011)(316002)(81166006)(2940100002)(81156014)(5660300002)(110136005)(2906002)(8676002)(8936002)(508600001)(64756008)(66556008)(66446008)(66476007)(9686003)(55016002)(66946007)(45080400002)(76116006)(26005)(186003)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:BMXPR01MB3768; H:BMXPR01MB4088.INDPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; received-spf: None (protection.outlook.com: truminds.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qcyEefNM0zlYA8/GoObosoRUxpKvrqjsgdW0PoDLpXoD2wR7ZdZiyADA26CjuqiAG7+Vk5NykWeFQs6PDEEckw3KEziVTuffiWJSfujRZgsrsWZFjBSQaZnZ9Y22cvwTfxt3LCQO7d29i9JQlHiuJT181PI/NuM6FjrNtEi3FVb2x8ZJDkYRxHFWWblaGffEPCpu0lCSniOpwmPLr2YAiYG+vqOmT1S3/hcFe6xq11SjGKLX5CFFTViuyQRsoJbfKc4kfDvBVwAL8IvfX8iow+umH3AbDrJRW2E3ZnTKQScs2tBaijegeiS7lTGj3/nRU6jYD34uth9GI6k1h6ErDXZFImZ+1sJRZ1DByPEj0+kYoYkne8Yd3j5cPGvDw8cMGb/DtZQTTOerGZQQ3nSzAAy3wkTGRQV0DmAKy14eTLDvgm7TzSveucL8cMklKKtMZ1W48F5ZQRc35TJcIhicqs4lRK2aMumB+1vQp+mQTAXc2b2SoTOvl9hfvfk26IZ1r8T6gSqaJpOmPzzPJ+2D2Q== x-ms-exchange-antispam-messagedata: NMvFjYpH6tHiTOLQcFz4R//kp4Vrhtt0opnIr5CNfOzY+A2sU2n6Fdp7qA+Njzdd3LYO715Id2wODwV8Y4tDxyq/tCt84zohbaVXkdKsCuJhVPZotXFE26bsYRBPHI7icNyRHsTIXb2SNsbGR002jA== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: truminds.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7162d7b7-fe56-437b-09b1-08d7c9ab8a6f X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2020 13:11:29.3758 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fa214e85-0439-4ffe-84c9-5f66e4e0fe49 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hlgTt5TyYv3kQ8VnH3Mr/X/gBoriNv2sQSHak39yc7iGIJpBWAH71txLQRoOm8s6h6QcyHXnRLVtyWshRtHeTS0iweXaOBNYyhSDt83zIN8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BMXPR01MB3768 X-Mailman-Approved-At: Mon, 16 Mar 2020 14:46:51 +0100 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi Xiaoyun Li , With changes you suggested ,Testpmd works fine on my setup. But With my own application, the port is detected properly, the queue setup= to NIC also does not give any error. But my application is not getting any packets on the rx burst polls. Any suggestions on what is the best way to debug this eg. can some logs be = enabled at PMD to see what setting is wrong etc. ? Thanks & Regards Puneet Singh From: Puneet Singh > Sent: 13 March 2020 10:05 To: Li, Xiaoyun >; users@= dpdk.org Subject: Re: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel= X722 Nic Hi, Thanks a lot for information,I will try these steps with dpdk 19.11 and upd= ate. Regards Puneet Singh Get Outlook for Android ________________________________ From: Li, Xiaoyun > Sent: Friday, 13 March, 2020, 9:00 am To: Puneet Singh; users@dpdk.org Subject: RE: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel= X722 Nic Hi It is because that X722 doesn't support I40E_HW_FLAG_802_1AD_CAPABLE with n= ew firmware. This is fixed in 20.02 with base code patch update. This commit: 37b091c75b= 13d2f26359be9b77adbc33c55a7581. If you have to use 19.11. You need to add the following in eth_i40e_dev_ini= t(): - if (hw->device_id =3D=3D I40E_DEV_ID_SFP_X722) + if (hw->mac.type =3D=3D I40E_MAC_X722) hw->flags &=3D ~I40E_HW_FLAG_802_1AD_CAPABLE; Best Regards Xiaoyun Li > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Puneet Singh > Sent: Wednesday, March 11, 2020 15:25 > To: users@dpdk.org > Cc: Puneet Singh > > Subject: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X= 722 > Nic > > Hi Everyone , > > I am trying to run test-pmd with below mentioned nic card but getting fol= lowing > error . Can anyone please help me to resolve this issue. > > EAL: probe driver: 8086:37d3 net_i40e > i40e_vlan_tpid_set(): Set switch config failed aq_err: 14 > eth_i40e_dev_init(): Failed to set the default outer VLAN ether type > EAL: ethdev initialisation failedEAL: Requested device 0000:b5:00.0 canno= t be > used > EAL: PCI device 0000:b5:00.1 on NUMA socket 0 > EAL: probe driver: 8086:37d3 net_i40e > testpmd: No probed ethernet devices > Interactive-mode selected > Set mac packet forwarding mode > testpmd: create a new mbuf pool : n=3D267456, size=3D= 2176, > socket=3D0 > testpmd: preferred mempool ops selected: ring_mp_mc Done > > > SETUP Details : > > DPDK 19.11 > > NIC : > > b5:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection= X722 > for 10GbE SFP+ [8086:37d3] (rev 04) i40e Driver and Firmware Version : > i40e: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver - version= 2.9.21 > [101414.147635] i40e: Copyright(c) 2013 - 2019 Intel Corporation. > [101414.162733] i40e 0000:b5:00.1: fw 4.0.53196 api 1.8 nvm 4.10 0x80001a= 17 > 1.2145.0 [101414.165982] i40e 0000:b5:00.1: MAC address: 08:3a:88:15:f0:7= b > [101414.166232] i40e 0000:b5:00.1: FW LLDP is disabled [101414.166289] i4= 0e > 0000:b5:00.1: DCB is not supported or FW LLDP is disabled [101414.166290] > i40e 0000:b5:00.1: DCB init failed -64, disabled > > > modinfo i40e > filename: /lib/modules/3.10.0- > 957.el7.x86_64/updates/drivers/net/ethernet/intel/i40e/i40e.ko > version: 2.9.21 > license: GPL > description: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver > author: Intel Corporation, > > retpoline: Y > rhelversion: 7.6 > srcversion: FA2B2ABB57C568002DF6CFC > alias: pci:v00008086d0000158Bsv*sd*bc*sc*i* > alias: pci:v00008086d0000158Asv*sd*bc*sc*i* > alias: pci:v00008086d000037D3sv*sd*bc*sc*i* > alias: pci:v00008086d000037D2sv*sd*bc*sc*i* > alias: pci:v00008086d000037D1sv*sd*bc*sc*i* > alias: pci:v00008086d000037D0sv*sd*bc*sc*i* > alias: pci:v00008086d000037CFsv*sd*bc*sc*i* > alias: pci:v00008086d000037CEsv*sd*bc*sc*i* > alias: pci:v00008086d00000D58sv*sd*bc*sc*i* > alias: pci:v00008086d00000CF8sv*sd*bc*sc*i* > alias: pci:v00008086d00001588sv*sd*bc*sc*i* > alias: pci:v00008086d00001587sv*sd*bc*sc*i* > alias: pci:v00008086d0000104Fsv*sd*bc*sc*i* > alias: pci:v00008086d0000104Esv*sd*bc*sc*i* > alias: pci:v00008086d000015FFsv*sd*bc*sc*i* > alias: pci:v00008086d00001589sv*sd*bc*sc*i* > alias: pci:v00008086d00001586sv*sd*bc*sc*i* > alias: pci:v00008086d00001585sv*sd*bc*sc*i* > alias: pci:v00008086d00001584sv*sd*bc*sc*i* > alias: pci:v00008086d00001583sv*sd*bc*sc*i* > alias: pci:v00008086d00001581sv*sd*bc*sc*i* > alias: pci:v00008086d00001580sv*sd*bc*sc*i* > alias: pci:v00008086d00001574sv*sd*bc*sc*i* > alias: pci:v00008086d00001572sv*sd*bc*sc*i* > depends: ptp > vermagic: 3.10.0-957.el7.x86_64 SMP mod_unload modversions > parm: debug:Debug level (0=3Dnone,...,16=3Dall) (int) > > > > 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:b5:00.0 'Ethernet Connection X722 for 10GbE SFP+ 37d3' > drv=3Duio_pci_generic unused=3Di40e,igb_uio,vfio-pci > > 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:04:00.0 'I350 Gigabit Network Connection 1521' if=3Deno3 drv=3Digb > unused=3Digb_uio,vfio-pci,uio_pci_generic *Active* > 0000:04:00.1 'I350 Gigabit Network Connection 1521' if=3Deno4 drv=3Digb > unused=3Digb_uio,vfio-pci,uio_pci_generic > 0000:b5:00.1 'Ethernet Connection X722 for 10GbE SFP+ 37d3' if=3Deno2 drv= =3Di40e > unused=3Digb_uio,vfio-pci,uio_pci_generic > > > Thanks & Regards > Puneet Singh > >