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 8B2F5A057C for ; Thu, 26 Mar 2020 22:34:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9B1521C06C; Thu, 26 Mar 2020 22:33:47 +0100 (CET) Received: from IND01-BO1-obe.outbound.protection.outlook.com (mail-eopbgr1390100.outbound.protection.outlook.com [40.107.139.100]) by dpdk.org (Postfix) with ESMTP id 835F51BF73; Thu, 26 Mar 2020 18:57:23 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=acKTGge+SZGPY8Ilsmn9TrhhhtJdT0+SQddtdhmqRj4aukFvdhCtR2FgJ1eXVPwwTmpjl2cccSQ5KACimoNHj6mz3/AF/cx+8dnC0XL68vjB+kkOG1SLqmmbuZhlAp92IxcggpKFziiqpILFwiEyo+jE+4q8PX3HXgd+5cinG8DEB5cgDketEAejVevMYrMh0c7uLy1Y3gM5DvYLxh72pg5FIpmtBFWA5poIQBzWCMTUFvJdsi/MtF7jKQ8WtzoIPHbF/QwAauqt8V0PZKnC1VYfbyrp0mA0RHEAGjdS6pezDG5jiOK1r+/rGFeRX4B0FMMy896I+17MECLmHbF7VQ== 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=Z1rEbtlYiA1iJ3d2J/HzZkJhmzW1VffXyfIyxSLM8Qk=; b=ndyjbvtN0gzQR5LctsCnzQDi4iJDcVodR2rFTnuOeUYSa/wykD9qBeShQ/11h5fAzb/JWYoqBDIfRO3JL7zlibdfXDTDVRUdQTAUgFTnGf7Bh5FtVAL/Pdtx9MpoKr5ghDaocOBB5B+LeF26J2gRSDFE4P/LDDOAKIISk9nsIirCcKLUpBQP9/ceA01Dd67tw4JDTuSyaerNp1KDMoayHXUr2gUnHkefsT2s547q3dVAJzRpyCithO8Y66HnySZVlda2sWoUNizXWA2Vlt8sHL+BN4RwY8z80UUlWP5y+GsCMZ3XzpqursqXxVyaysknNh9uhQjlesJy34q43M1ihA== 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=Z1rEbtlYiA1iJ3d2J/HzZkJhmzW1VffXyfIyxSLM8Qk=; b=mx9gVyvUYS/vTOF1Ghwl3Pln8iGEgmvAk6zbxAEK4zrYMbFxFzNF8u/OmlNBfcXmCro08la4fwNjK+v0qMiuVl5SQxIgTiJAfKdZZpu1T0TNjXCaY9LEY6jfEK/lTDFv9r+IJv+MbwV2PpafO01DI0R8t2f+FbuhyiKSzgJcGJ8= Received: from BMXPR01MB4088.INDPRD01.PROD.OUTLOOK.COM (20.179.243.146) by BMXPR01MB3301.INDPRD01.PROD.OUTLOOK.COM (20.179.240.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Thu, 26 Mar 2020 17:57:20 +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.2856.019; Thu, 26 Mar 2020 17:57:20 +0000 From: Puneet Singh To: "Li, Xiaoyun" , "users@dpdk.org" , "dev@dpdk.org" Thread-Topic: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic Thread-Index: AdX7kvbHMUC1up3+QnalU8YWSjWouwAakYHAAAsS/8AANAcQ8AAy2QBAAXSbYRA= Date: Thu, 26 Mar 2020 17:57:20 +0000 Message-ID: References: <3b14667cd1f44bb4986523b62a1957e2@intel.com> 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: [2402:3a80:95f:aa12:89d3:8d9c:2198:d81b] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3ea74054-1f5d-4931-ff43-08d7d1af2158 x-ms-traffictypediagnostic: BMXPR01MB3301: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0354B4BED2 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(366004)(45080400002)(5660300002)(64756008)(8936002)(53546011)(6506007)(81166006)(8676002)(30864003)(66446008)(81156014)(71200400001)(76116006)(66476007)(66556008)(66946007)(508600001)(52536014)(9326002)(2906002)(33656002)(86362001)(9686003)(55016002)(110136005)(7696005)(186003); DIR:OUT; SFP:1102; SCL:1; SRVR:BMXPR01MB3301; H:BMXPR01MB4088.INDPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; 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: pu8t+dvX5PrQN3Y8koVIRsbad8//sMWdFaToxWh4B+KzU3+skhSiESqHrke6yaPZx3syJdJyKzHFraao1ExzV60yFA/kL4w3G2bMsyPFEi1CT/r1uotIN9065hkgVcBe03gMcOoJgOO4UoAfDPJdWvA6jMDtlyW4T1abN1WOulQGuJQvzDJLkuJvJz6uD9+hIxsS79pVImK9hqzcJNuJmS/FHw3xK3KipKVYUD2xP5W9YyuWF/fI63pLWukdbuTrfM3n9ZUzGAyobXhSJLdB4osHJc0e7xHNrJCTj8A01cV4SB/vMl9WrGS2j2At7k4tCd0zVRRbCjIJ1K7zzm1D2rTLGqLqYSL3AQfLUrR0ZeHeYKZdcSBQ31iykDf07AXQ1XW42ac9WkWO+P0vTqh5qKRGBYm171m6VDwialqm9nixjPaJGKUc1Oj9s0IY6ffu971sfAI6Nqa+hF1Q8L59T8isgDJWR2+L5ih4cnmjeHIF9m8/4FBg8IWn/L6oNteC4hKqumWtwdov1cOihkv1dg== x-ms-exchange-antispam-messagedata: XFih9zfvkCxjfmUndOa/lMzDX78uReiQEFXeMtwc242Y+Z7gUSKWEe3LyEG2FGvVSKOaealHLJbrfWnMHTiJWu0IreqEeEtt6AKGf3trf0s9rR3Oibl+PbUav+Pb46EyDHKqH+De2XCXyhZTpaeXlzDmGs7sOd3tAiCZ0rkk0fvlbVY19NWp3dkbHF0EVf4Bo1oYsNaX9T3JmdZhaDFD0g== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: truminds.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ea74054-1f5d-4931-ff43-08d7d1af2158 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2020 17:57:20.3638 (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: C/54Aou7E6rRcBJ9qqsdqbl8aT2fGYElSHrkDeSpESfu1FZLimHoxBcnTd89nwV5umv7vEDGePPSr2BUQwCqqTQD7ELZPqy4d6Jo8Q5/n40= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BMXPR01MB3301 X-Mailman-Approved-At: Thu, 26 Mar 2020 22:33:47 +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 Everyone, I am using X722 NIC with DPDK 19.11 after a single line patch for port det= ection as was advised earlier. The port gets detected properly. The NIC stats via rte_eth_stats_get report that the packets are arriving at= NIC. There are no packets that are dropped due to no-mbuf's But the calls to rte_eth_rx_burst function calls in the application do not = provide any packets to the user space. Has anyone used successful packet I/O with X722 NIC and if yes with which O= S and which DPDK release ? If any tricks are needed, kindly advise. My enti= re usecase which works normally with X520, Vmxnet3 and virtio is blocked wi= th the X722 NIC. Regards Puneet From: Puneet Singh Sent: 19 March 2020 13:35 To: 'Li, Xiaoyun' ; 'users@dpdk.org' = ; 'dev@dpdk.org' Subject: RE: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel= X722 Nic Hi Everyone, I am using X722 NIC with DPDK 19.11. Testpmd works fine but my application does not (the port is detected but da= ta rx/tx not working) I have reconciled the exact configs that are passed to rte_eth_dev_configur= e, rte_eth_tx_queue_setup, rte_eth_rx_queue_setup between testpmd and my ap= plication I do notice that in my application the rte_eth_rx_burst uses 1 as the max p= ackets to be received at a time, while testpmd uses MAX_PKT_BURST=3D512. I changed the MAX_PKT_BURST to 1 in testpmd and testpmd also runs into some= problems eg. I cannot give the stop command. Also I notice the following difference in logs while using testpmd with MAX= _PKT_BURST=3D512 versus MAX_PKT_BURST=3D1 With MAX_PKT_BURST=3D1 i40e_ethertype_filter_restore(): Ethertype filter: mac_etype_used =3D 41450= , etype_used =3D 189, mac_etype_free =3D 0, etype_free =3D 0 With MAX_PKT_BURST=3D512 i40e_ethertype_filter_restore(): Ethertype filter: mac_etype_used =3D 37994= , etype_used =3D 189, mac_etype_free =3D 0, etype_free =3D 0 It should be noted that MAX_PKT_BURST parameter also indirectly controls th= e number of mbuf's created in the packet pool, so how is that changing the = above parameters ? Further in my application, the number of mbuf's are allocated independently= , there the following log comes out - i40e_ethertype_filter_restore(): Ethertype filter: mac_etype_used =3D 0, et= ype_used =3D 1, mac_etype_free =3D 0, etype_free =3D 0 Regards Puneet Singh From: Puneet Singh Sent: 18 March 2020 13:25 To: 'Li, Xiaoyun' >; 'use= rs@dpdk.org' >; 'dev@dpdk.org' > Subject: RE: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel= X722 Nic Hi Team, The Only Difference I could see : TestPmd: Ethertype filter: mac_etype_used =3D 37994, etype_used =3D 189 My Applicaiton: Ethertype filter: mac_etype_used =3D 0, etype_used =3D 1 Can anyone tell, what's significance of these fields for i40 Nic and how to= configure them correctly via application and what is it in testpmd which t= riggers the settings of 37994 and 189 which is not showing up with my appli= cation ? Thanks & Regards Puneet Singh From: Puneet Singh Sent: 17 March 2020 12:30 To: Li, Xiaoyun >; users@= dpdk.org; dev@dpdk.org Subject: RE: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel= X722 Nic Hi Xiaoyun Li Following is the difference between eth conf of testpmd and my application= . Please let us know if any parameter is critical testpmd (rte_eth_conf) e =3D {link_speeds =3D 0, rxmode =3D {mq_mode =3D ETH_MQ_RX_NONE, max_rx_pk= t_len =3D 1518, max_lro_pkt_size =3D 0, split_hdr_size =3D 0, offloads =3D = 0, reserved_64s =3D {0, 0}, reserved_ptrs =3D {0x0, 0x0}}, txmode =3D {mq_mode =3D ETH_MQ_TX_NONE, = offloads =3D 65536, pvid =3D 0, hw_vlan_reject_tagged =3D 0 '\000', hw_vlan= _reject_untagged =3D 0 '\000', hw_vlan_insert_pvid =3D 0 '\000', reserved_64s =3D {0, 0}, reserved_ptr= s =3D {0x0, 0x0}}, lpbk_mode =3D 0, rx_adv_conf =3D {rss_conf =3D {rss_key = =3D 0x0, rss_key_len =3D 0 '\000', rss_hf =3D 0}, vmdq_dcb_conf =3D {nb_queue_= pools =3D (unknown: 0), enable_default_pool =3D 0 '\000', default_pool =3D = 0 '\000', nb_pool_maps =3D 0 '\000', pool_map =3D {{vlan_id =3D 0, pools =3D 0}= }, dcb_tc =3D "\000\000\000\000\000\000\000"}, dcb_rx_co= nf =3D { nb_tcs =3D (unknown: 0), dcb_tc =3D "\000\000\000\000\000\000\000"}, = vmdq_rx_conf =3D {nb_queue_pools =3D (unknown: 0), enable_default_pool =3D = 0 '\000', default_pool =3D 0 '\000', enable_loop_back =3D 0 '\000', nb_pool_map= s =3D 0 '\000', rx_mode =3D 0, pool_map =3D {{vlan_id =3D 0, pools =3D 0} <= repeats 64 times>}}}, tx_adv_conf =3D {vmdq_dcb_tx_conf =3D {nb_queue_pools =3D (unknown: 0), d= cb_tc =3D "\000\000\000\000\000\000\000"}, dcb_tx_conf =3D {nb_tcs =3D (unk= nown: 0), dcb_tc =3D "\000\000\000\000\000\000\000"}, vmdq_tx_conf =3D {nb_queu= e_pools =3D (unknown: 0)}}, dcb_capability_en =3D 0, fdir_conf =3D {mode = =3D RTE_FDIR_MODE_NONE, pballoc =3D RTE_FDIR_PBALLOC_64K, status =3D RTE_FDIR_REPORT_STATUS, dr= op_queue =3D 127 '\177', mask =3D {vlan_tci_mask =3D 65519, ipv4_mask =3D {= src_ip =3D 4294967295, dst_ip =3D 4294967295, tos =3D 0 '\000', ttl =3D 0 '\000', proto = =3D 0 '\000'}, ipv6_mask =3D {src_ip =3D {4294967295, 4294967295, 429496729= 5, 4294967295}, dst_ip =3D { 4294967295, 4294967295, 4294967295, 4294967295}, tc =3D 0 '\000',= proto =3D 0 '\000', hop_limits =3D 0 '\000'}, src_port_mask =3D 65535, dst= _port_mask =3D 65535, mac_addr_byte_mask =3D 255 '\377', tunnel_id_mask =3D 4294967295, tun= nel_type_mask =3D 1 '\001'}, flex_conf =3D {nb_payloads =3D 0, nb_flexmasks= =3D 0, flex_set =3D {{ type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_offset =3D {0 }}, {type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_offset =3D {0 }}, { type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_offset =3D {0 }}, {type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_offset =3D {0 }}, { type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_offset =3D {0 }}, {type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_offset =3D {0 }}, { type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_offset =3D {0 }}, {type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_offset =3D {0 }}}, flex_mask =3D {{ flow_type =3D 0, mask =3D '\000' } }}}, intr_conf =3D {lsc =3D 1, rxq =3D 0, rmv =3D 0}} my app(rte_eth_conf) e =3D {link_speeds =3D 0, rxmode =3D {mq_mode =3D ETH_MQ_RX_NONE, max_rx_pk= t_len =3D 1518, max_lro_pkt_size =3D 0, split_hdr_size =3D 0, offloads =3D = 0, reserved_64s =3D {0, 0}, reserved_ptrs =3D {0x0, 0x0}}, txmode =3D {mq_mode =3D ETH_MQ_TX_NONE, = offloads =3D 32774, pvid =3D 0, hw_vlan_reject_tagged =3D 0 '\000', hw_vlan= _reject_untagged =3D 0 '\000', hw_vlan_insert_pvid =3D 0 '\000', reserved_64s =3D {0, 0}, reserved_ptr= s =3D {0x0, 0x0}}, lpbk_mode =3D 0, rx_adv_conf =3D {rss_conf =3D {rss_key = =3D 0x0, rss_key_len =3D 0 '\000', rss_hf =3D 0}, vmdq_dcb_conf =3D {nb_queue_= pools =3D (unknown: 0), enable_default_pool =3D 0 '\000', default_pool =3D = 0 '\000', nb_pool_maps =3D 0 '\000', pool_map =3D {{vlan_id =3D 0, pools =3D 0}= }, dcb_tc =3D "\000\000\000\000\000\000\000"}, dcb_rx_co= nf =3D { nb_tcs =3D (unknown: 0), dcb_tc =3D "\000\000\000\000\000\000\000"}, = vmdq_rx_conf =3D {nb_queue_pools =3D (unknown: 0), enable_default_pool =3D = 0 '\000', default_pool =3D 0 '\000', enable_loop_back =3D 0 '\000', nb_pool_map= s =3D 0 '\000', rx_mode =3D 0, pool_map =3D {{vlan_id =3D 0, pools =3D 0} <= repeats 64 times>}}}, tx_adv_conf =3D {vmdq_dcb_tx_conf =3D {nb_queue_pools =3D (unknown: 0), d= cb_tc =3D "\000\000\000\000\000\000\000"}, dcb_tx_conf =3D {nb_tcs =3D (unk= nown: 0), dcb_tc =3D "\000\000\000\000\000\000\000"}, vmdq_tx_conf =3D {nb_queu= e_pools =3D (unknown: 0)}}, dcb_capability_en =3D 0, fdir_conf =3D {mode = =3D RTE_FDIR_MODE_NONE, pballoc =3D RTE_FDIR_PBALLOC_64K, status =3D RTE_FDIR_NO_REPORT_STATUS,= drop_queue =3D 0 '\000', mask =3D {vlan_tci_mask =3D 0, ipv4_mask =3D {src= _ip =3D 0, dst_ip =3D 0, tos =3D 0 '\000', ttl =3D 0 '\000', proto =3D 0 '\000'}, ipv6_mask = =3D {src_ip =3D {0, 0, 0, 0}, dst_ip =3D {0, 0, 0, 0}, tc =3D 0 '\000', pro= to =3D 0 '\000', hop_limits =3D 0 '\000'}, src_port_mask =3D 0, dst_port_mask =3D 0,= mac_addr_byte_mask =3D 0 '\000', tunnel_id_mask =3D 0, tunnel_type_mask = =3D 0 '\000'}, flex_conf =3D { nb_payloads =3D 0, nb_flexmasks =3D 0, flex_set =3D {{type =3D RTE_ET= H_PAYLOAD_UNKNOWN, src_offset =3D {0 }}, {type =3D RTE_ET= H_PAYLOAD_UNKNOWN, src_offset =3D {0 }}, {type =3D RTE_ETH_PAYLOAD= _UNKNOWN, src_offset =3D {0 }}, {type =3D RTE_ETH_PAYLOAD= _UNKNOWN, src_offset =3D { 0 }}, {type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_= offset =3D {0 }}, {type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_= offset =3D { 0 }}, {type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_= offset =3D {0 }}, {type =3D RTE_ETH_PAYLOAD_UNKNOWN, src_= offset =3D { 0 }}}, flex_mask =3D {{flow_type =3D 0, mask = =3D '\000' } }}}, intr_conf =3D {lsc = =3D 0, rxq =3D 0, rmv =3D 0}} Regards Puneet Singh From: Li, Xiaoyun > Sent: 17 March 2020 07:34 To: Puneet Singh >; users@dpdk.org Subject: RE: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel= X722 Nic Hi For driver, you can set the log level as debug. Replace the RTE_LOG_NOTICE = with RTE_LOG_DEBUG in the following codes. This will show all PMD_INIT_LOG() and PMD_DRV_LOG() i40e_logtype_init =3D rte_log_register("pmd.net.i40e.init"); if (i40e_logtype_init >=3D 0) rte_log_set_level(i40e_logtype_init, RTE_LOG_= NOTICE); i40e_logtype_driver =3D rte_log_register("pmd.net.i40e.drive= r"); if (i40e_logtype_driver >=3D 0) rte_log_set_level(i40e_logtype_driver, RTE_LO= G_NOTICE); And you can turn on the rx/tx debug if you need to debug tx/rx. In config/common_base, CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=3Dy CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=3Dy CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=3Dy Best Regards Xiaoyun Li From: Puneet Singh > Sent: Monday, March 16, 2020 21:02 To: Li, Xiaoyun >; users@= dpdk.org Subject: RE: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel= X722 Nic 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 > >