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 9967BA0567 for ; Fri, 13 Mar 2020 15:31:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C76181BF97; Fri, 13 Mar 2020 15:31:14 +0100 (CET) Received: from IND01-BO1-obe.outbound.protection.outlook.com (mail-eopbgr1390119.outbound.protection.outlook.com [40.107.139.119]) by dpdk.org (Postfix) with ESMTP id C87582BE6 for ; Fri, 13 Mar 2020 05:35:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hnaKymdlvijrb+4DqcJGcG4uxgmSdEaqRFYcZVGcQU51C7UMjsZc38g4XdQLjnLM5aW3/6NOiCPcGsfsde1fEGdUNbONpXNLCp7VPQOUP3jx9Xh+bv7jNXTeZluYhW49ZRCkm2QefxLQSoPDDSfhyWhZVOCcMXyjWBUABgccc37flEiIbDqsm59cPZ0vnQ/uRkjIheksx3BVMhEVYuD2s0WVhjtV4QT7wPTm3QPnAhvhh1NbytzbcWeZWac+Dbh+9+bhmV7D5he27uN5LcrscbOr4xsr4IK9hhkRLojskRxI9Ze1XUnx4L+O+7w5iQGhETWjx8Zb2nvbUdxaaGdZ5g== 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=lxxdp9KrIja2fz9d7j3WDyr9HRn67c06OLAT/7naK7s=; b=l3j6mlzmK4PDLDSb3RGkFgfDTGxXRTlMhUwkWczFhA1SY/x+kUuaWB1nKes/UYk/UBKgTKp1JPfSWXtVkZdxW/8PrGKvRRXSngCZjOjckRs0qLtkAvlFlgdY27ApBd6RhjuQ8Kd3uMyitGdNzQN5n9HUjEGl2ZiSF1LgdDT3fLHsT6gtvYCb8KB5yGK+GLMDfqEjfwfv4BjXSN5VbGpDVll0tsfu/axlslmNYAj64fddO540iDqMUOEHgaFtFFJs1pzls0whdUqNuX9AB+FO/BysdnXMlVGRQD74j8CRWWhehhsYj+6QRcndYGCxTDcZqXWvxn++gtsdH3k8A/YyTA== 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=lxxdp9KrIja2fz9d7j3WDyr9HRn67c06OLAT/7naK7s=; b=Htw1JbcN/a20k6K0WVc2P78pzYkvQmtyO3qfiz0emD2hkkkLyOZ1tgZ1myrwFVdc/w+phNFO8rkzf97pTBTQWwj7OiVmxrWP7i+6RoqBgbyna1S3+lM54Zz4yhsBIYtOvtzrZkUw3PnSXY76571TpRlnkUlzxu5+wpCO5+/sbs0= Received: from BMXPR01MB4088.INDPRD01.PROD.OUTLOOK.COM (20.179.243.146) by BMXPR01MB3943.INDPRD01.PROD.OUTLOOK.COM (20.179.243.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.14; Fri, 13 Mar 2020 04:34:58 +0000 Received: from BMXPR01MB4088.INDPRD01.PROD.OUTLOOK.COM ([fe80::d53:5d9a:278d:9592]) by BMXPR01MB4088.INDPRD01.PROD.OUTLOOK.COM ([fe80::d53:5d9a:278d:9592%4]) with mapi id 15.20.2793.018; Fri, 13 Mar 2020 04:34:58 +0000 From: Puneet Singh To: "Li, Xiaoyun" , "users@dpdk.org" Thread-Topic: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic Thread-Index: AQHV+Oe84T7fpmAbp0e2hAIkRQJtIahF77AD Date: Fri, 13 Mar 2020 04:34:58 +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: [42.111.65.142] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5f183192-00be-427d-a5d5-08d7c707e34b x-ms-traffictypediagnostic: BMXPR01MB3943: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 034119E4F6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39830400003)(396003)(136003)(346002)(376002)(366004)(199004)(7696005)(33656002)(64756008)(66556008)(316002)(66446008)(110136005)(55016002)(86362001)(66946007)(186003)(9686003)(66476007)(76116006)(6506007)(45080400002)(71200400001)(2906002)(81166006)(53546011)(26005)(8936002)(5660300002)(52536014)(81156014)(508600001); DIR:OUT; SFP:1102; SCL:1; SRVR:BMXPR01MB3943; 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: PLSST9otgnDWBSjicBT1VEWUVMUFtJmjbdIpFj2MJXxBQ6y/BLEtsiye59CvXnClLS7FUIXftsJJrKN9HLlk6DRMjoaSm7OmIvW1LaIsEktMwYOfHI1tI8a6Q3KRwUhNBJdXjVXVq3IayVG51o9K9NF58ZHDla5Eo2Cpfb0MLJGeGBC6VU5v4nA0AxAV5BQTsDJclRSiR+XZ1XaFFwAVVhV+rS/6eTGXj6aZbhrN+qjL4PHiyjtqL4a0KRCDPABIh8BIib69UJ2Q/HsrQIokfZFLzuRgU0G471ZgrZsFH2zzCV3WcQ99JDJMRGSq0bWT92sVebJQ1fSkGDYyMoWBDb1Y6jKAbcBGFRSct+f2915UWRbhBVPJs0HqFrsd3+OBsZZOysMgm7lnXbYWkYO2aU+KCx4IAG0kXg6e/NRG5Ri5JFzWhnPyrvnEgli4Ha+uhCabf/2jadBjHxNJFC8rNbQ0n5OfUtf2Fto4wiYWBl7h3t/HBDSb4C3z2N7NLAlpfylaOlhFyv3bnL5QYnJVlA== x-ms-exchange-antispam-messagedata: R0mQgtaK35LqDjUHK20LSEC8B2Gs3flrO3ZkNCYNIIbajgM+KqxosuMQRwaNKTYus7x2tLCTp04MqvLM6ljw55BAQs70zDIPL5kYJ7nxu/GifILqLQ9rlhW5p3E41KA5BAb4y4u1lSkrhcoWjAXUKA== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: truminds.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5f183192-00be-427d-a5d5-08d7c707e34b X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2020 04:34:58.7629 (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: 1rrxz3adL1eojSKMyn4FI5u8YKZKIu7CLwOmie2xKvb8X+ioI1Kr/v+5XX/YOnSMQjkUKJP6UyhVshW2ukqYiWlfVgQ1t9qaY/B7iMMIioI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BMXPR01MB3943 X-Mailman-Approved-At: Fri, 13 Mar 2020 15:31:14 +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-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic 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, 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 > >